Re: HTTP server beginners questions

Justin Taylor <[email protected]>
Newsgroups gmane.comp.systems.as400.web
Message-ID <CAJu8Sp8AbBa4HiFbb67rubQEQk4Z=unM5-Qj2S8kx7cVB3h+pw@mail.gmail.com>
"
*How can I change the library list for my CGI program?*

This can be done using the SetEnv directive with the QIBM_CGI_LIBRARY_LIST
environment variable and a list of the libraries. Be sure to uppercase the
library names and separate them by semi-colons. For example:

SetEnv QIBM_CGI_LIBRARY_LIST "MIME;CGIURL;CGILIBL"

The listed libraries replace the libraries in the user part of the library
list. When the CGI program has finished processing, these libraries will be
removed from the library list and the library list will be restored to what
it was before the CGI program ran.
"
from: https://www.ibm.com/support/pages/cgi-frequently-asked-questions-0

> date: Tue, 24 Aug 2021 08:50:29 +0200
> from: Dave <[email protected]>
> subject: [WEB400] HTTP server beginners questions
>
> Hello,
>
> I have a rather feeble level in this subject so please go easy on me.
> A server instance has already been set up for me (see below), which
> obviously will need modifying.
>
> What is the meaning of setenv QIBM_CGI_LIBRARY_LIST "QTEMP;CGILIB;YAJL"  ?
> Surely this has nothing to do with the library list used by the program
> that will run on the i?
>
> How do I know what method (GET or POST) has been used?
>
> Thanks!
>
>
> <Directory /qsys.lib/cgilib.lib>
>    AddDefaultCharset UTF-8
>    Order Allow,Deny
>    Allow From all
>    setenv QIBM_CGI_LIBRARY_LIST "QTEMP;CGILIB;YAJL"
> </Directory>
>
>
>
> # Alias for tests
> ScriptAliasMatch /myURL(.*) /qsys.lib/ CGILIB.lib/$1.pgm
>
> # Exemple alias for a specified program  :
> # ScriptAlias /myURL/test /qsys.lib/ CGILIB.lib/TEST_3.pgm
>
>
-- 
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.