Setting up CGI programs for HTTP Server (powered by Apache)

 

Use this topic to set up CGI programs for IBM HTTP Server for i5/OS.

Information for this topic supports the latest PTF levels for HTTP Server for iSeries . IBM recommends that you install the latest PTFs to upgrade to the latest level of the HTTP Server for i5/OS. Some of the topics documented here are not available prior to this update. See IBM Service for more information.

The following describes how to set up your HTTP Server (powered by Apache) to use your CGI programs.

 

Parent topic:

Common Gateway Interface

 

CGI settings

You can set values associated with CGI jobs.

To set CGI settings, do the following:

  1. Click the Manage tab.

  2. Click the HTTP Servers subtab.

  3. Select your HTTP Server (powered by Apache) from the Server list.

  4. Select the context you want to work with from the Server area list.

  5. Expand Server Properties.

  6. Click Dynamic Content and CGI.

  7. Click the General Settings tab in the form.

  8. Depending on the server area you selected, enter the values associated with your CGI jobs.

  9. Click OK.

 

Persistent CGI settings

Persistent CGI is an extension to the CGI interface. It allows a CGI program to remain active across multiple browser requests and maintain a client session.

To set persistent CGI settings, do the following:

  1. Click the Manage tab.

  2. Click the HTTP Servers subtab.

  3. Select your HTTP Server (powered by Apache) from the Server list.

  4. Select the context you want to work with from the Server area list.

  5. Expand Server Properties.

  6. Click Dynamic Content and CGI.

  7. Click the Persistent CGI tab in the form.

  8. Depending on the server are you selected, enter the values associated with the CGI jobs.

  9. Click OK.

See the Developer Resources topic at http://www.ibm.com/eserver/iseries/http for sample CGI programs.