Configure HTTP server (powered by Apache)

Configure an HTTP server (powered by Apache) so you can use the Xsockets tool in a Web browser.

Before configuring a Web browser to work with the Xsockets tool, you must first configure Xsockets .

  1. Verify the HTTP admin instance is running under the QHTTPSVR subsystem You can start it with CL command it not running:
    STRTCPSVR SERVER(*HTTP) HTTPSVR(*ADMIN)
  2. In a Web browser, enter:
    http://<system_name>:2001/.
    where <system_name>is the machine name of the iSeries™. For example: http://myiSeries:2001/.
  3. On the i5/OS™ Tasks page, select IBM Web Administration for i5/OS.
  4. From the top menu, select the Setup tab.
  5. Click Create New HTTP Server.
  6. Enter the name for the server instance. For example, this instance serves the Xsockets tool in a browser, then you can use the name xsocket. Click Next.
  7. Click Next to accept the default for the server root directory.
  8. Click Next to accept the default for the document root directory.
  9. Select the IP address and an available port that you want to use. Use a port number greater than 1024. Click Next.
    Note: Do not select the default port number 80.
  10. Choose either yes or no to indicate whether you want an access log created for this server. Click Next.
  11. Choose the default age of the logs. Click Next.
  12. The next page displays the HTTP server (powered by Apache) configuration settings. If these settings are correct, click Finish.