|
Joel, it worked! Thanks for the tip! ----- Original Message ----- From: "Joel R. Cochran" <jrc@masi-brac.com> To: <web400@midrange.com> Sent: Friday, September 13, 2002 4:08 PM Subject: RE: [WEB400] How to create a server instance that runs only one C GI program > Try this... > > Exec /* /QSYS.LIB/MYLIB.LIB/MYPGM.PGM > > I've never tried it, but this should mean that all requests for > http://11.22.33.44 will ONLY map to MYPGM in library MYLIB. > > It's worth a shot... > > Joel > > > -----Original Message----- > From: Michael Skvarenina [mailto:mskvarenina@usa.net] > Sent: Friday, September 13, 2002 2:30 PM > To: WEB400@midrange.com > Subject: [WEB400] How to create a server instance that runs only one CGI > program > > > This is a multi-part message in MIME format. > -- > [ Picked text/plain from multipart/alternative ] > I'm trying to create an HTTP server instance that will run only 1 CGI > program. Basically we want our users to enter an IP address that lives on > our 400 such as http://11.22.33.44/ and have it launch a single CGI program. > If we must, we'd settle for doing a http://11.22.33.44/program1 We do not > want our users to be able to run any other CGI programs using this address. > Can someone tell me the correct combinations of MAP, PASS & FAIL directives > to accomplish this? > > One thing I was thinking was to put this one program in it's own library, > than only PASS that library but I'd rather not have a library dedicated to > one object unless I have to. > -- > > _______________________________________________ > 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 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.