|
I had a minute to look at an old config and here is an example that should
work:
Protection TESTPROT {
PasswdFile %%SYSTEM%%
ACLOverride Off
PostMask All
GetMask All
AuthType BASIC
ServerID some_name
UserID %%CLIENT%%
}
Protect /cgi-bin/stipple/* TESTPROT
Note that I have no way to test this.
Matt
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Rob Dixon
Sent: Tuesday, January 13, 2009 1:38 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Using UserID and Pawword with HTTP server (V5R1
original)
I saw it only again recently but I am not sure where. I thought that it
was
on one of the sites I have been using to learn CGIDEV2 but I have looked at
the pages I have book marked recently, from Search400 and Easy400, and I
cannot find it. I didn't dream it up. If I come across it again, I will
let you know.
I had already tried the InfoCenter but can't find the answer. I need to
find a site with lots of configuration examples rather than simply the
syntax.
Many thanks
Rob
2009/1/13 Haas, Matt (CL Tech Sv) <matt.haas@xxxxxxxxxxx>
Rob,for
Where did you find it published that the Apache version isn't the best
V5R1 (it does stink on V4R5)? I ran it there for several years withoutof
problems. In fact, it made my life much, much easier since virtual hosts
were easier to maintain.
As far as configuring the Original server goes, I don't think I have any
those configurations around any more. I know that I learned how to setall
of that up using the documentation from the InfoCenter. It may be worth aOn
look there.
Matt
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
Behalf Of Rob Dixonconfiguration,
Sent: Tuesday, January 13, 2009 11:38 AM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Using UserID and Pawword with HTTP server (V5R1
original)
Thanks Matt
I am using the original HTTP server on this V5R1 box because I have read
several well known published experts say that this is best on V5R1 and
Apache should be left for V5R2 or for V5R3 when there is no choice. I do
use it on a V5R3 box but, since I rarely need to change the
Irestart
am even less skilled on that than on the Original server.
I tried putting in a Protect statement but without success. I did
the server.based
I already had a protection directive - please could you tell me what the
protec tstatement should say and where it should go?
Many thanks
Rob Dixon
2009/1/13 Haas, Matt (CL Tech Sv) <matt.haas@xxxxxxxxxxx>
Rob,
First off, why are you still using the Original server? The Apache
putone is much, much better.On
To answer your question, you are missing the Protect statement.
Matt
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
Behalf Of Rob Dixonoriginal)
Sent: Tuesday, January 13, 2009 10:26 AM
To: Web Enabling the AS400 / iSeries
Subject: [WEB400] Using UserID and Pawword with HTTP server (V5R1
I have got to the stage with my CGIDEV2 development where I now want to
work
using User IDs. According to the manual, including
Protection /cgi-bin/stipple/* {
Authtype Basic
Userid %%CLIENT%%
PasswdFile %%SYSTEM%%
}
in my HTTPCFG file should do the trick but nothing happens. I have
this ahead of my Exec statement which reads
Map /cgi-bin/stipple/* /QSYSLIB.LIB/E290PRDOBJ.LIB/E290G00000.PGM
This exec statement works fine.
I wish to use standard User profiles rather than a password file.
Can anyone please tell me what I am doing wrong?
Many thanks
Rob Dixon
www.erros.co.uk
www.boarstall.com
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.
--
Rob Dixon
www.erros.co.uk
www.boarstall.com
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.
--
Rob Dixon
www.erros.co.uk
www.boarstall.com
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.