ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaie_5.4.0.1/rzaieconfigenvvar.htm

75 lines
5.0 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<?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="topic" />
<meta name="DC.Title" content="Set up environment variables on HTTP Server (powered by Apache)" />
<meta name="abstract" content="This topic provides information about how to set up environment variables on your HTTP Server to pass information about CGI requests to the CGI programs." />
<meta name="description" content="This topic provides information about how to set up environment variables on your HTTP Server to pass information about CGI requests to the CGI programs." />
<meta name="DC.Relation" scheme="URI" content="rzaieparhttp.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="rzaieconfigenvvar" />
<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 environment variables on HTTP Server (powered by Apache)</title>
</head>
<body id="rzaieconfigenvvar"><a name="rzaieconfigenvvar"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Set up environment variables on HTTP Server (powered by Apache)</h1>
<div><p>This topic provides information about how to set up environment
variables on your HTTP Server to pass information about CGI requests to the
CGI programs.</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>
<p>When the server runs a CGI program, it uses environment variables to pass
information about the request and the server. Configuring environment variables
allows you to specify which variables the CGI programs inherits.</p>
<p>To specify environment variables, do the following: </p>
<ol><li>Click the <strong>Manage</strong> tab. </li>
<li>Click the <span class="uicontrol">HTTP Servers</span> subtab.</li>
<li>Select your HTTP Server (powered by Apache) from the <strong>Server</strong> list.
</li>
<li>Select the <a href="rzaiecontext.htm">context</a> you
want to work with from the <strong>Server area</strong> list. </li>
<li>Expand<strong> Server Properties</strong>. </li>
<li>Click <strong>Request Processing</strong>. </li>
<li>Click the <strong>Custom Environment Variables</strong> tab in the form. </li>
<li>Click <strong>Add</strong> under the <strong>Environment variables based on a conditional
attribute</strong> table. <div class="note"><span class="notetitle">Note:</span> Select an environment variable from the table
to redefine or remove an existing environment variable.</div>
</li>
<li>Enter the environment variable name in the <strong>Variable</strong> column. </li>
<li>Enter the environment variable value in the <strong>Value</strong> column. </li>
<li>Enter the environment variable attribute in the <strong>Attribute</strong> column.
</li>
<li>Enter the environment variable attribute value in the <strong>Attribute value</strong> column. </li>
<li> <strong>Optional</strong>: Select to make the environment variable case sensitive
in the <strong>Case sensitive</strong> column. </li>
<li>Click <strong>Continue</strong>. </li>
<li>Click <strong>OK</strong>. </li>
</ol>
<p>See <a href="rzaieenvvar.htm">Environment variables on HTTP Server</a> for a list of environment
variables. </p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaieparhttp.htm" title="This topic provides step-by-step tasks for HTTP Server.">HTTP Server tasks</a></div>
</div>
</div>
</body>
</html>