|
Hi David, Nothing jumps out at me -- I assume your WSLI010 program exists in library DAVSM01CGI. Somethings that have helped me solve these problems: 1. Start your HTTP server with the -vv (very verbose) option. Then look at the server job and you'll see a spool file with *lots* of detail about what it's doing and how it's handling an incoming request: STRTCPSVR SERVER(*HTTP) HTTPSVR(XYZ '-vv') 2. Configure an error log as well as an access log in your HTTP configuration. Look at both of them when you run into this kind of problem. hth, Peter Dow Dow Software Services, Inc. 909 793-9050 voice 909 522-3214 cellular 909 793-4480 fax ----- Original Message ----- From: "David J. Smith" <dsmith@ais400.us> To: <web400@midrange.com> Sent: Wednesday, October 16, 2002 5:09 PM Subject: [WEB400] HTTP 500 Error > Hello All: > > Another newbie with a HTTP 500 error. > > HTScript ERROR....... Bad script request -- script > '/QSYS.LIB/DAVSM01CGI.LIB/WSLI010.PGM' not found or not executable. > > I've reviewed the archives, but can not get past this. It has to be a > HTTP config error or a binding error, or something, because the > executable program is never getting executed. The last used info on the > object shows it has never been used. > > Here is my information: > > V5R1. > Created a copy of QZHBCGI in my library DAVSM01CGI. > Created Binding Directory DAVSM01CGI in my library. > Created binding Directory entry: addbnddire davsm01cgi/davsm01cgi > obj(davsm01cgi/qzhbcgi) > Created RPGLE program WSLI010 with H specs: > > *************** Beginning of data *************** > 0001.00 H DFTACTGRP(*NO) BNDDIR('DAVSM01CGI/DAVSM01CGI') > 0002.00 H OPTION(*NODEBUGIO: *SRCSTMT) > > Made authority public(*ALL) on library and program. (For test purposes > only) > > I have a dir on the IFS called DJSTEST where my HTML document is located > called WSLI010HTML.HTML > > My HTTP Config is as follows: > > 00010 # * * * * * * * * * * * * * * * * * * * * * * > * * * * * > 00020 Enable GET > 00030 Enable HEAD > 00040 Enable POST > 00050 Exec /cgi-bin/* /QSYS.LIB/DAVSM01CGI.LIB/*.PGM %%EBCDIC%% > 00060 Pass /QSYS.LIB/DAVSM01CGI.LIB/* > 00070 Pass /DJSTEST/* > 00080 Redirect /testredirect/* http://www.emumm.com > 00090 Welcome index.html > 00100 AccessLog /DJSLOGS/LOG > 00110 LogFormat Common > 00120 LogTime LocalTime > > I tested the redirect portion of the config and it works as it should. > When I go to my html form: http://wh01dev/djstest/Wsli010html.html it > brings up my input form, but when I hit submit button I get the famous: > The page cannot be displayed...HTTP 500 - Internal server error. > This is my HTML: > <html><head> > <title>Untitled</title> > </head> > <body> > <img src="http://wh01dev/djstest/navbar.gif" width="607" height="107" > border="0"> > <P> > <BASEFONT FACE = "Arial,Helvetica" Size="3" color="#081780"> > <FORM NAME="Input" METHOD=POST ACTION="HTTP://WH01DEV/cgi-bin/WSLI010"> > Customer Number : <INPUT TYPE="TEXT" NAME="@@CUSNBR" SIZE="7" > MAXLENGTH="8"> > <P> > Information: > <BR><INPUT TYPE="CHECKBOX" NAME="@@CUSINF" VALUE='Y'>Customer > Information > <BR><INPUT TYPE="CHECKBOX" NAME="@@CUSSHP" VALUE='Y'>Ship To Information > <BR><INPUT TYPE="CHECKBOX" NAME="@@YTDSLS" VALUE='Y'>Year To Date Sales > $ > <BR><INPUT TYPE="CHECKBOX" NAME="@@YTDDTL" VALUE='Y'>Detail Sales > <P><BUTTON TYPE="SUBMIT" VALUE="SUBMIT" NAME="@@SUBMIT">SUBMIT </BUTTON> > <BUTTON TYPE="RESET" VALUE="RESET" NAME="@@RESET">RESET </BUTTON> > </FORM> > </FONT> > </body> > </html> > Any help would be greatly appreciated. I've lost a lot of hair over > this in the last couple of days....and I do not have much left. > > David Smith > President > Advanced Information Solutions, Inc. > Email: dsmith@ais400.com > Phone: 517.548.7170 > > _______________________________________________ > This is the Web Enabling the AS400 / iSeries (WEB400) mailing list > To post a message email: WEB400@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/web400 > or email: WEB400-request@midrange.com > 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.