| |||||||||
|
Use command cgidev2/setcgilib to set up your source and production libraries for CGI programs:
CGI production library: The name of the library which will contain the CGI programs. If you specify *SRCLIB, the source library is also the production library. This command creates the following objects in this library: IFS directory: An IFS directory with the same name of the CGI production library is created. Three subdirectories are also created: HTTP directives: If you signed on on with a user profile with has *change authority over the HTTPP instance control files (QUSRSYS/QATMHINSTC, QUSRSYS/QATMHTTPC), you are given the opportunity to generate HTTP directives for your CGI library. If you are on a V5R2 system, command SETCGILIB asks whether you want to generate Original or Apache HTTP instance directives. If you are on a V5R3 or subsequent release, the question is not asked, as you can have only Apache HTTP directives. You are then be presented a list of HTTP instances to choose from. Once you make a choice, the selected HTTP instance is added some basic HTTP directives related to your CGI library and to the homonymous IFS directory. The following are examples of generated HTTP directives. |