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



What OS are you on?  -vv has been available for some time.
It is entered on the instance startup values parameter.
Like this:

STRTCPSVR SERVER(*HTTP) HTTPSVR(BLAH '-vv')

You may want to post your entire config file (only
uncommented lines) and we can take a look.  Maybe you have a
PASS or something in front of it that it in the way.

For example, if you have...

Pass /* /mystuff/*
Exec /cgi-bin...blahh

Then  you'll never get to the Exec directive.  Always order
directives Map, Exec, and Pass.

Brad
www.bvstools.com
On Fri, 01 Feb 2002 13:35:55 -0600
 Justin Houchin <jhouchin9@charter.net> wrote:
> I do not hav -vv options when I choose strtcpsvr. also I
> have tried all of
> the suggestions listed and still the same error. Also
> there was no last used
> date, so the program is not being called. Help Please!
>
> Justin Houchin
> Programmer
> Reliatek, Inc
> ----- Original Message -----
> From: "Mel Rothman" <mel@rothmanweb.com>
> To: <web400@midrange.com>
> Sent: Friday, March 29, 2002 11:15 AM
> Subject: Re: [WEB400] Cannot display page
>
>
> > In addition to what Brad said: if service program
> QHTTPSVR/QZHBCGI exists
> on your system, you should bind to it instead of
> QTCP/QTMHCGI.  QZHBCGI
> replaced QTMHCGI several releases ago.
> >
> > Also, after starting the server with -vv, you don't
> have to end it to view
> the trace spool files.  You can find them with WRKSPLF
> with user QTMHHTTP
> and user data equal to your server instance's name.
> >
> > Mel Rothman, CGIDEV2 Author
> > IBM eServer Custom Technology Center (eCTC), Rochester,
> Minnesota
> > http://www-1.ibm.com/servers/eserver/iseries/service/ctc/
> > http://www.easy400.ibm.it/en
> >
> >
> > Brad Stone wrote:
> > >
> > > Justin,
> > >
> > > A couple things.
> > >
> > > change your Exec to
> > >
> > > Exec /cgi-bin/* /qsys.lib/pcstore.lib/*.pgm
> %%EBCDIC%%
> > >
> > > Then stop and restart your HTTP server.
> > >
> > > Make the request with the URL:
> > > http://192.168.0.6/cgi-bin/hello
> > >
> > > If you still get an error, check a few things:
> > >
> > > 1.  That user profiles QTMHHTTP and QTMHHTP1 are
> *ENABLED
> > > 2.  That user profile QTMHHTP1 (or *PUBLIC) has at
> use *USE
> > > authority to the pcstore library and the hello
> program
> > > object.
> > > 3.  Check the last used date of the hello program.
> If it
> > > has one, then it is getting called.  If it doesn't,
> the
> > > problem is most likely one of the above.
> > > 4.  Check the job logs of your HTTP server instance.
> > >
> > > If all else fails, stop your HTTP server.  Then start
> it
> > > with the -vv option (very verbose).  Make the request
> again,
> > > then end your HTTP server.  This should create a few
> spooled
> > > files under user QTMHHTTP that are job traces.
> Therer
> > > should be a clue in there as to what is wrong.
> > >
> > > Lastly, buy my eRPG book.  ;)
> > >
> > > Brad
> > > www.bvstools.com
> > >
> > > On Fri, 01 Feb 2002 10:10:54 -0600
> > >  Justin Houchin <jhouchin9@charter.net> wrote:
> > > > This is a multi-part message in MIME format.
> > > > --
> > > > [ Picked text/plain from multipart/alternative ]
> > > > I have just created a sample CGI Program that
> displays
> > > > the famous Hello World in a browser. I downloaded
> loaded
> > > > this code from Brad Stones' website. I used
> CRTRPGMOD
> > > > MODULE(pcstore/hello) to compile then CRTPGM
> > > > PGM(pcstore/hello) BNDSVRPGM(QTCP/QTMHCGI) to
> create the
> > > > program. The program compiles and is created with
> no
> > > > errors in the pcstore library. I have a EXEC
> statement in
> > > > my HTTP Server configuration that looks like this:
> > > >       40  Exec  /cgi-bin/*.pgm
> /qsys.lib/pcstore.lib/*
> > > > %%EBCDIC/MIXED%%  *Off
> > > >
> > > > when I enter the URL: http://192.168.0.6/cgi-bin/hello.pgm,
> > > > I get Page Cannot be found, HTTP 404 Error. Do I
> need to
> > > > set a Map and Pass to my CGI directory? Also I just
> > > > loaded some new PTF's so I think my PTF'S are up to
> date.
> > > > Please help a newbee to CGI!
> > > >
> > > > Thanks
> > > > Justin Houchin
> > > > Programmer
> > > > Reliatek, Inc
> > >
> > > Bradley V. Stone
> > > BVS.Tools
> > > www.bvstools.com
> > > _______________________________________________
> > _______________________________________________
> > 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.
>

Bradley V. Stone
BVS.Tools
www.bvstools.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.