× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



OK - I'm going for the obvious stuff first;

1) Check to see that you have a well formed "header"  You know - "Content-type: 
text/html"
2) Check to see you have 2 lines of "CRLF" or carriage return line feeds... one 
after the content-type and one space after that...

After that - check to see you're sending the right lengths to the Standard Out 
API...

Now you have an Error 500 - what's the WHOLE error?  Dat's important...

Andrew Borts / Webmaster
Seta Corporation
6400 East Rogers Circle
Boca Raton, FL 33499

E-mail: Andrewb@setacorporation.com
Corporate web site http://www.setacorporation.com
E-Commerce web site http://www.palmbeachjewelry.com
                              http://www.myfreeitems.com
Voice: 561-994-2660 Ext. 2211 / Fax: 561-997-0774

-----Original Message-----
From: Peter Dow [mailto:maillist@dowsoftware.com]
Sent: Thursday, October 17, 2002 1:18 PM
To: web400@midrange.com
Subject: Re: [WEB400] HTTP 500 Error

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.
>
>


_______________________________________________
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 thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.