ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzab6_5.4.0.1/configapache.htm

74 lines
5.2 KiB
HTML
Raw 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="task" />
<meta name="DC.Title" content="Configure HTTP server (powered by Apache)" />
<meta name="abstract" content="Configure an HTTP server (powered by Apache) so you can use the Xsockets tool in a Web browser." />
<meta name="description" content="Configure an HTTP server (powered by Apache) so you can use the Xsockets tool in a Web browser." />
<meta name="DC.Relation" scheme="URI" content="xsockhttp.htm" />
<meta name="DC.Relation" scheme="URI" content="configtomcat.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2001, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2001, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="configapache" />
<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>Configure HTTP server (powered by Apache)</title>
</head>
<body id="configapache"><a name="configapache"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Configure HTTP server (powered by Apache)</h1>
<div><p>Configure an HTTP server (powered by Apache) so you can use the
Xsockets tool in a Web browser.</p>
<div class="p"><p>Before configuring a Web browser to work with the
Xsockets tool, you must first <a href="cxsockets.htm#cxsockets">configure
Xsockets </a>. </p>
</div>
<ol><li class="stepexpand"><span>Verify the HTTP admin instance is running under the QHTTPSVR subsystem</span> You can start it with CL command it not running: <pre>STRTCPSVR SERVER(*HTTP) HTTPSVR(*ADMIN)</pre>
</li>
<li class="stepexpand"><span>In a Web browser, enter:</span> <pre>http://&lt;system_name&gt;:2001/.</pre>
where &lt;system_name&gt;is
the machine name of the iSeries™. For example: http://myiSeries:2001/.</li>
<li class="stepexpand"><span>On the i5/OS™ Tasks page, select <span class="uicontrol">IBM
Web Administration for i5/OS</span>.</span></li>
<li class="stepexpand"><span>From the top menu, select the <span class="uicontrol">Setup</span> tab.</span></li>
<li class="stepexpand"><span>Click <span class="uicontrol">Create New HTTP Server</span>.</span></li>
<li class="stepexpand"><span>Enter the name for the server instance. For example,
this instance serves the Xsockets tool in a browser, then you can use the
name <samp class="codeph">xsocket</samp>. Click <span class="uicontrol">Next</span>. </span></li>
<li class="stepexpand"><span>Click <span class="uicontrol">Next</span> to accept the default for the
server root directory. </span></li>
<li class="stepexpand"><span>Click <span class="uicontrol">Next</span> to accept the default for the
document root directory.</span></li>
<li class="stepexpand"><span>Select the IP address and an available port that
you want to use. </span> Use a port number greater than 1024. Click <span class="uicontrol">Next</span>.
<div class="note"><span class="notetitle">Note:</span> Do not select the default port number 80.</div>
</li>
<li class="stepexpand"><span>Choose either <span class="uicontrol">yes</span> or <span class="uicontrol">no</span> to
indicate whether you want an access log created for this server.
Click <span class="uicontrol">Next</span>.</span></li>
<li class="stepexpand"><span>Choose the default age of the logs. Click <span class="uicontrol">Next</span>.</span></li>
<li class="stepexpand"><span>The next page displays the HTTP server (powered by Apache) configuration
settings. If these settings are correct, click <span class="uicontrol">Finish</span>.</span></li>
</ol>
<div class="section"></div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="xsockhttp.htm" title="The instructions here allow you to enable the Xsockets tool to be accessed through a Web browser. You can implement these instructions multiple times on the same system to create different server instances. This allows multiple versions to run at the same time on different listening ports.">Configure Xsockets to use a Web browser</a></div>
<div class="nextlink"><strong>Next topic:</strong> <a href="configtomcat.htm" title="After you have configured HTTP server (powered by Apache) server instance, you must configure Tomcat to use the Xsockets tool in a Web browser.">Configure Tomcat</a></div>
</div>
</div>
</body>
</html>