Try using:
SetEnv QIBM_CGI_CHANGE_CURDIR N
Link from IBM:
https://www.ibm.com/support/pages/cgi-frequently-asked-questions-0
Chris Hiebert
Senior Programmer/Analyst
Disclaimer: Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
From: WEB400 <web400-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Dave
Sent: Monday, December 13, 2021 8:56 AM
To: Web Enabling the IBM i (AS/400 and iSeries) <web400@xxxxxxxxxxxxxxxxxx>
Subject: [WEB400] Http <Directory /> and library list
This script causes mypgm to be invoked with CURLIB = mylib. How can I avoid
setting the CURLIB at all ? Thanks !
ScriptAlias /myurl /qsys.lib/mylib.lib/mypgm.pgm
<Directory />
AddDefaultCharset UTF-8
Order Deny,Allow
SetEnv QIBM_CGI_LIBRARY_LIST "LIB1 LIB2"
</Directory>
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.