|
It looks okay but like I said, I don't have any way to test anything. You
may want to look in the InfoCenter and see if there is a way to get the
server to give you a trace log. I think the classic server can do that but I
don't remember. You may also find some information in the HTTP error log but
I think what it shows isn't quite as useful at the Apache based server log.
Matt
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Rob Dixon
Sent: Thursday, January 22, 2009 2:07 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Using UserID and Pawword with HTTP server (V5R1
original)
Matt
You must think me very rude not to have replied to you before but somehow I
missed your kind post. As I still have not solved the problem, I was
researching today and so came across your reply.
Of course I tried your suggestion at once,
my code is
Protection TestProt {
PasswdFile %%SYSTEM%%
Authtype Basic
ACLOverride Off
PostMask All
GetMask All
ServerID www.erros.co.uk
Userid %%CLIENT%%
}
Protect /cgi-bin/stipple/* TestProt
CGIMode %%EBCDIC%%
PersistentCGITimeout 60 minutes
MaxPersistentCGITimeout 60 minutes
Exec /cgi-bin/hello /QSYS.LIB/E280CGIOBJ.LIB/hello
Exec /cgi-bin/stipple /QSYS.LIB/E290PRDOBJ.LIB/e29
Exec /cgi-bin/e29rpp/* /QSYS.LIB/E290PRDOBJ.LIB/E29RPP.PGM
I have restarted the server but still no luck
Does your memory go back far enough to suggest what I am doing wrong?
Many thanks
Rob
2009/1/13 Haas, Matt (CL Tech Sv) <matt.haas@xxxxxxxxxxx>
I had a minute to look at an old config and here is an example thatshould
work:On
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]
Behalf Of Rob Dixonat
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
the pages I have book marked recently, from Search400 and Easy400, and Ihosts
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 without
problems. In fact, it made my life much, much easier since virtual
anywere easier to maintain.
As far as configuring the Original server goes, I don't think I have
ofa
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
readlook there.On
Matt
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
Behalf Of Rob Dixon
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
doseveral 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
theuse it on a V5R3 box but, since I rarely need to change theconfiguration,
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.
I already had a protection directive - please could you tell me what
web400-bounces@xxxxxxxxxxxx]protec tstatement should say and where it should go?based
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
one is much, much better.
To answer your question, you are missing the Protect statement.
Matt
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:
toOn
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
putwork
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.
--
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.