|
Yes, it is 2 lower case v's. That log will often point out config. errors.
Thanks,
Todd
Rob Dixon
<robertsdixon@gma
il.com> To
Sent by: "Web Enabling the AS400 / iSeries"
web400-bounces@mi <web400@xxxxxxxxxxxx>
drange.com cc
Subject
2009-01-23 15:32 Re: [WEB400] Using UserID and
Pawword with HTTP server
(V5R1original)
Please respond to
Web Enabling the
AS400 / iSeries
<web400@midrange.
com>
Todd
I have now tried that and found the spool file but nothing seems untoward
and still nothing in the errorlog. I assume that the letters were - V V
not
-W.
What
2009/1/23 <TAllen@xxxxxxxxxxxx>
Will starting the HTTP server with the -vv option give you what you need?To
ex. STRTCPSVR SERVER (*HTTP) HTTPSVR(<INSTANCE_NAME> '-vv')
I think the spool file is available under the QTMHHTTP user profile.
Thanks,
Todd
Rob Dixon
<robertsdixon@gma
il.com>
Sent by: "Web Enabling the AS400 / iSeries"cc
web400-bounces@mi <web400@xxxxxxxxxxxx>
drange.com
You
Subject
2009-01-23 15:04 Re: [WEB400] Using UserID and
Pawword with HTTP server (V5R1
original)
Please respond to
Web Enabling the
AS400 / iSeries
<web400@midrange.
com>
Matt
Many thanks - I am researching to see if I can find such a log. NOthing
appears in the normal errorlog.
Rob
2009/1/22 Haas, Matt (CL Tech Sv) <matt.haas@xxxxxxxxxxx>
It looks okay but like I said, I don't have any way to test anything.
logmay want to look in the InfoCenter and see if there is a way to get thebut I
server to give you a trace log. I think the classic server can do that
don't remember. You may also find some information in the HTTP error
butsomehow
I think what it shows isn't quite as useful at the Apache based serverlog.
On
Matt
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
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
I[mailto:web400-bounces@xxxxxxxxxxxx]
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:
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
andOnit
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
lookedwas
on one of the sites I have been using to learn CGIDEV2 but I have
at
the pages I have book marked recently, from Search400 and Easy400,
Ithe
willcannot find it. I didn't dream it up. If I come across it again, I
tolet you know.
I had already tried the InfoCenter but can't find the answer. I need
find a site with lots of configuration examples rather than simply
havebestsyntax.
Many thanks
Rob
2009/1/13 Haas, Matt (CL Tech Sv) <matt.haas@xxxxxxxxxxx>
Rob,
Where did you find it published that the Apache version isn't the
withoutfor
V5R1 (it does stink on V4R5)? I ran it there for several years
hostsproblems. In fact, it made my life much, much easier since virtual
were easier to maintain.
As far as configuring the Original server goes, I don't think I
(V5R1anyset
of
those configurations around any more. I know that I learned how to
worthall
of that up using the documentation from the InfoCenter. It may be
a[mailto:web400-bounces@xxxxxxxxxxxx]
look there.
Matt
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx
On
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
whatandreadoriginal)
Thanks Matt
I am using the original HTTP server on this V5R1 box because I have
several well known published experts say that this is best on V5R1
IApache should be left for V5R2 or for V5R3 when there is no choice.
do
use 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
Apachethe
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
/QSYSLIB.LIB/E290PRDOBJ.LIB/E290G00000.PGMwantbasedweb400-bounces@xxxxxxxxxxxx]
one is much, much better.
To answer your question, you are missing the Protect statement.
Matt
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:
On
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
tohave
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
put
this ahead of my Exec statement which reads
Map /cgi-bin/stipple/*
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 communication and any transmitted documents are intended to be
confidential. If there is a problem with this transmission, please contact
the sender. If the reader of this message is not the intended recipient, or
the employee or agent responsible to deliver it to the intended recipient,
you are hereby notified that any dissemination, distribution or copying of
this communication is strictly prohibited.
--
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.