107 lines
7.2 KiB
HTML
107 lines
7.2 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="topic" />
|
|
<meta name="DC.Title" content="Set up reverse proxy for HTTP Server (powered by Apache)" />
|
|
<meta name="abstract" content="This topic provides information about how to set up a reverse proxy for your HTTP Server with the IBM Web Administration for i5/OS interface." />
|
|
<meta name="description" content="This topic provides information about how to set up a reverse proxy for your HTTP Server with the IBM Web Administration for i5/OS interface." />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaieparproxy.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="rzaiereverseproxy" />
|
|
<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 reverse proxy for HTTP Server (powered by Apache)</title>
|
|
</head>
|
|
<body id="rzaiereverseproxy"><a name="rzaiereverseproxy"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Set up reverse proxy for HTTP Server (powered by Apache)</h1>
|
|
<div><p>This topic provides information about how to set up a reverse proxy
|
|
for your HTTP Server with the <span>IBM<sup>®</sup> Web Administration for i5/OS™ interface</span>.</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>Configure your HTTP Server (powered by Apache) for <a href="rzaieproxytypes.htm#reverse">reverse
|
|
proxy</a> using the <span>IBM Web Administration for i5/OS interface</span>.
|
|
Only the tabs necessary to configure reverse proxy are discussed.</p>
|
|
<p>To configure your HTTP Server (powered by Apache) for reverse proxy, 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 <strong>Global configuration</strong> from the <strong>Server area</strong> list.<div class="note"><span class="notetitle">Note:</span> If
|
|
you want to configure a reverse proxy for a virtual host, click the virtual
|
|
host from the <strong>Server area</strong> menu. See <a href="rzaiejklvirtualhost.htm">JKL Toy Company creates virtual hosts on HTTP Server (powered
|
|
by Apache)</a> for more information.</div>
|
|
</li>
|
|
<li>Expand <strong>Server Properties</strong>.</li>
|
|
<li>Click <strong>Proxy</strong>.</li>
|
|
<li>Click the <strong>Reverse Proxy</strong> tab in form.</li>
|
|
<li>Select <strong>Enabled</strong> from the <strong>Reverse proxy capabilities</strong> list.</li>
|
|
<li>Click <strong>Add</strong> under the <strong>Proxy request to remote servers</strong> table. <div class="note"><span class="notetitle">Note:</span> This
|
|
table defines what requests will be mapped into the space of the server. The
|
|
local server does not act as a proxy in the conventional sense, but appears
|
|
as a mirror of the remote server.</div>
|
|
</li>
|
|
<li>Select <strong>Client requests</strong> from the <strong>Request Type </strong>list. <p>When
|
|
this option is used, non-proxy requests matching the URL specified in the <strong>Local
|
|
virtual path</strong> column are transformed into proxy requests for the URL specified
|
|
in the <strong>Remote server URL</strong> column. The proxy then handles the transformed
|
|
request and returns any document (or error messages) the remote server provides.
|
|
Clients remain unaware of any transformation.</p>
|
|
</li>
|
|
<li>Enter the local virtual path in the <strong>Local virtual path</strong> column. <p>If
|
|
a non-proxy requests matches the path specified in this column, the non-proxy
|
|
request will be transformed into a proxy request for the URL specified in
|
|
the <strong>Remote server URL</strong> column.</p>
|
|
</li>
|
|
<li>Select <strong>Specify URL</strong> from the list in the <strong>Remote server URL</strong> column.</li>
|
|
<li>Enter the remote server URL in the <strong>Remote server URL</strong> column.</li>
|
|
<li>Click <strong>Add</strong> under the <strong>Proxy requests to remote servers</strong> table.</li>
|
|
<li>Select <strong>Redirect requests</strong> from the <strong>Request Type</strong> list. <p>When
|
|
this option is used for <em>redirected requests</em>, headers in response documents
|
|
are adjusted in the event that a "Redirect" is issued by the remote server.
|
|
This allows clients to remain unaware of any transformation of the requests
|
|
even if remote servers redirect the proxy.</p>
|
|
</li>
|
|
<li>Enter the path in the <strong>Local virtual path</strong> column. <p>If your server
|
|
is given a non-proxy request and the request matches the URL specified in
|
|
the <strong>Local virtual path</strong> column, the URL request will be transformed
|
|
into a proxy request for the URL specified in the <strong>Remote server URL</strong> column.</p>
|
|
</li>
|
|
<li>Enter the remote server URL in the <strong>Remoter server URL</strong> column. <p>If
|
|
a non-proxy request matches a URL in the <strong>Local virtual path</strong> column,
|
|
the request will be transformed in the URL specified in the <strong>Remote server
|
|
URL</strong> column. The client will be directed to the remote server URL without
|
|
being aware of the redirect.</p>
|
|
</li>
|
|
<li>Click <strong>Continue</strong>.</li>
|
|
<li>Click <strong>OK</strong>.</li>
|
|
</ol>
|
|
<p>All other options for reverse proxy are optional and allow you to modify
|
|
specific reverse proxy capabilities.</p>
|
|
<p>After configuring your HTTP Server (powered by Apache) for reverse proxy,
|
|
you can configure your server for a <a href="rzaieproxychaining.htm">proxy
|
|
chain</a>.</p>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaieparproxy.htm" title="This topic provides step-by-step tasks for proxy.">Proxy tasks</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |