90 lines
5.7 KiB
HTML
90 lines
5.7 KiB
HTML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!DOCTYPE html
|
||
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html lang="en-us" xml:lang="en-us">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<meta name="security" content="public" />
|
||
|
<meta name="Robots" content="index,follow" />
|
||
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
||
|
<meta name="DC.Type" content="task" />
|
||
|
<meta name="DC.Title" content="Set up CGI programs for HTTP Server (powered by Apache)" />
|
||
|
<meta name="abstract" content="This topic describes how to set up your HTTP Server to use CGI programs." />
|
||
|
<meta name="description" content="This topic describes how to set up your HTTP Server to use CGI programs." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaieparcgi.htm" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2002,2006" />
|
||
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2002,2006" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="rzaieconfigcgi" />
|
||
|
<meta name="DC.Language" content="en-us" />
|
||
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
||
|
<!-- US Government Users Restricted Rights -->
|
||
|
<!-- Use, duplication or disclosure restricted by -->
|
||
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
||
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
||
|
<title>Set up CGI programs for HTTP Server (powered by Apache)</title>
|
||
|
</head>
|
||
|
<body id="rzaieconfigcgi"><a name="rzaieconfigcgi"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Set up CGI programs for HTTP Server (powered by Apache)</h1>
|
||
|
<div><p>This topic describes how to set up your HTTP Server to use CGI
|
||
|
programs.</p>
|
||
|
<div class="p"><div class="important"><span class="importanttitle">Important:</span> Information
|
||
|
for this topic supports the latest PTF levels for HTTP Server for i5/OS .
|
||
|
It is recommended 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 <a href="http://www-03.ibm.com/servers/eserver/iseries/software/http/services/service.html" target="_blank">http://www.ibm.com/servers/eserver/iseries/software/http/services/service.htm</a> <img src="www.gif" alt="Link outside Information Center" /> for more information. </div>
|
||
|
</div>
|
||
|
<div class="section"><p>The following discusses how to set up your HTTP Server (powered
|
||
|
by Apache) to use your CGI programs.</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaieparcgi.htm" title="This topic provides information about Common Gateway Interfaces (CGI).">Common Gateway Interface</a></div>
|
||
|
</div>
|
||
|
</div><div class="nested1" id="rzaieconfigcgi_cgi"><a name="rzaieconfigcgi_cgi"><!-- --></a><h2 class="topictitle2">CGI settings</h2>
|
||
|
<div><div class="section"><p>You can set values associated with CGI jobs. </p>
|
||
|
<p>To set CGI
|
||
|
settings, do the following: </p>
|
||
|
</div>
|
||
|
<ol><li><span>Click the <span class="uicontrol">Manage</span> tab.</span></li>
|
||
|
<li><span>Click the <span class="uicontrol">HTTP Servers</span> subtab.</span></li>
|
||
|
<li><span>Select your HTTP Server (powered by Apache) from the <span class="uicontrol">Server</span> list. </span></li>
|
||
|
<li><span>Select the <a href="rzaiecontext.htm">context</a> you
|
||
|
want to work with from the <span class="uicontrol">Server area</span> list.</span></li>
|
||
|
<li><span>Expand <span class="uicontrol">Server Properties</span>.</span></li>
|
||
|
<li><span>Click <span class="uicontrol">Dynamic Content and CGI</span>.</span></li>
|
||
|
<li><span>Click the <span class="uicontrol">General Settings</span> tab in the form.</span></li>
|
||
|
<li><span>Depending on the server area you selected, enter the values associated
|
||
|
with your CGI jobs. </span></li>
|
||
|
<li><span>Click <span class="uicontrol">OK</span>. </span></li>
|
||
|
</ol>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="nested1" id="rzaieconfigcgi_persistent"><a name="rzaieconfigcgi_persistent"><!-- --></a><h2 class="topictitle2">Persistent CGI settings</h2>
|
||
|
<div><div class="section"><p>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.</p>
|
||
|
<p>To set persistent CGI settings, do the following:</p>
|
||
|
</div>
|
||
|
<ol><li><span>Click the <span class="uicontrol">Manage</span> tab.</span></li>
|
||
|
<li><span>Click the <span class="uicontrol">HTTP Servers</span> subtab.</span></li>
|
||
|
<li><span>Select your HTTP Server (powered by Apache) from the <span class="uicontrol">Server</span> list. </span></li>
|
||
|
<li><span>Select the <a href="rzaiecontext.htm">context</a> you
|
||
|
want to work with from the <span class="uicontrol">Server area</span> list.</span></li>
|
||
|
<li><span>Expand <span class="uicontrol">Server Properties</span>.</span></li>
|
||
|
<li><span>Click <span class="uicontrol">Dynamic Content and CGI</span>.</span></li>
|
||
|
<li><span>Click the <span class="uicontrol">Persistent CGI</span> tab in the form.</span></li>
|
||
|
<li><span>Depending on the server are you selected, enter the values associated
|
||
|
with the CGI jobs.</span></li>
|
||
|
<li><span>Click <span class="uicontrol">OK</span>.</span></li>
|
||
|
</ol>
|
||
|
<div class="section"><p>See the Developer Resources topic at <a href="http://www.ibm.com/eserver/iseries/http" target="_blank">http://www.ibm.com/eserver/iseries/http</a> <img src="www.gif" alt="Link outside Information Center" /> for sample CGI programs.</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</body>
|
||
|
</html>
|