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



Brad,

I have something like that in practice now, with three instances of the
web site, (PRD, TST, DEV), each with their own IP address, configuration
file, IFS directory and program set in separate libraries. But when I
want to isolate one or two programs into a special library so that it is
called instead of the one in the library designated by the
ScriptAliasMatch statement, that's where I run into problems.

Thanks for your input,

Don

==================================
Donald W. Smith
IBM Certified AS/400 Programmer/Analyst
Microsoft Certified Professional
Information Systems Department
City of Lancaster, Pennsylvania
DSmith@xxxxxxxxxxxxxxxxxxxxx




"Bradley V. Stone" <bvstone@xxxxxxxxxxxx>
Sent by: web400-bounces@xxxxxxxxxxxx
12/23/2008 11:35 AM
Please respond to
Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>


To
"Web Enabling the AS400 / iSeries" <web400@xxxxxxxxxxxx>
cc

Subject
Re: [WEB400] Calling CGI Programs in Apache Server






Don,

Instead of messing with things like that, I like to set up different
servers
on different ports for production and development/testing. All that is
really different is the DocumentRoot and CGI library maps. Works slick
and
easy.

Bradley V. Stone
BVSTools - www.bvstools.com
eRPG SDK - www.erpgsdk.com

-----Original Message-----
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
that
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 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.