|
-----Original Message-----that
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]On
Behalf Of DSmith@xxxxxxxxxxxxxxxxxxxxx
Sent: Tuesday, December 23, 2008 9:32 AM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] Calling CGI Programs in Apache Server
Good morning!
I have been looking for a way to configure our Apache http server so
it will call CGI programs based on what library the program is in. I'm
aware that the statement: SetEnv QIBM_CGI_LIBRARY_LIST
"QTEMP;QGPL;TSTLIB;CGILIB:" can set a library list for the web
server, but
if I have the original version of CGIPGM1 in CGILIB and I have a test
version in TSTLIB, the version in TSTLIB doesn't get called -
only the old
version that's in CGILIB. That's because it's calling the program based
on the following statement in our httpd.conf file: ScriptAliasMatch
/cgi-bin/(.*) /QSYS.LIB/CGILIB.LIB/$1.PGM - any program in the URL is
going to be called from CGILIB. I cant figure out how to get a few
programs in TSTLIB to be called rather than the ones in CGILIB.
Is anyone
aware of any method or statement that I can use that can accomplish my
objective, other than creating another entire web instance? (I already
have three!)
Thanks in advance,
Don
==================================
Donald W. Smith
IBM Certified AS/400 Programmer/Analyst
Microsoft Certified Professional
Information Systems Department
City of Lancaster, Pennsylvania
DSmith@xxxxxxxxxxxxxxxxxxxxx
--
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.