|
I have the following in my apache config file.
ScriptAlias /httpprod /qsys.lib/httpprod.lib/httpdata.pgm
<Directory /qsys.lib/httpprod.lib>
SetEnv QIBM_CGI_LIBRARY_LIST "QTEMP;QGPL;YAJL;httpproda;httpprodb"
allow from all
order allow,deny
Options +ExecCGI +Includes
SetOutputFilter Includes
</Directory>
ScriptAlias /httptest /qsys.lib/httptest.lib/httpdata.pgm
<Directory /qsys.lib/httptest.lib>
SetEnv QIBM_CGI_LIBRARY_LIST "QTEMP;QGPL;YAJL;httptesta;httptestb"
allow from all
order allow,deny
Options +ExecCGI +Includes
SetOutputFilter Includes
</Directory>
I am using the alias to control the library list between my prod and test
data. With this config, I have to have two copies of httpdata.pgm, one in
each library. Is there a way to configure this so both aliases call the
same program such as /qsys.lib/httpcommon.lib/httpdata.pgm?
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://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.