Configuring Apache HTTP Server V2.2

This topic describes how to change configuration settings for Apache HTTP Server Version 2.2.

Before you begin

Avoid trouble Avoid trouble: If you are running IBM® HTTP Server (powered by Apache) on IBM i, you can use the manual configuration steps outlined below. However, it is recommended that you use the IBM Web Administration for IBM i GUI.gotcha

Apache HTTP Server Version 2.2 is different from IBM HTTP Server (powered by Apache). Apache HTTP Server is not supported on IBM i.

This topic describes how to configure the Apache HTTP Server Version 2.2 Web server. Other procedures in Editing web server configuration files describe configuring other supported web servers.

About this task

Perform the step that configures Apache 2.2 for your operating system.

Examples and messages are shown on more than one line for clarity. Place each directive in a web server configuration file on one line.

Local file path means a file path to the plugin-cfg.xml file on an application server that is on the same machine as the web server. Remote file path means the file path to the plugin-cfg.xml file when the application server is on a remote machine.

The name of the web server definition in the following steps is webserver1.

Procedure

Configure entries in the httpd.conf file. It is recommended that you use the IBM Web Administration for IBM i GUI to configure the httpd.conf file.
Use the following example of the LoadModule and the WebSpherePluginConfig directives as a model for configuring your file for IBM i:
LoadModule was_ap20_module
   /QSYS.LIB/product_library.LIB/QSVTAP22.SRVPGM
where product_library is the name of the WebSphere Application Server product library, such as QWAS8A or QWAS8B. See the topic Directory conventions for information about how to determine the product library name.
Use the following example of the LoadModule and the WebSpherePluginConfig directives as a model for configuring your file for IBM i Version 7.1 when group PTF SF99368 (IBM HTTP Server for IBM i) level 16 is installed:
LoadModule was_ap20_module /QSYS.LIB/product_library.LIB/QSVTAP22LF.SRVPGM
where product_library is the name of the WebSphere Application Server product library, such as QWAS8A or QWAS8B. See the topic Directory conventions for information about how to determine the product library name.
Use the following example of the LoadModule and the WebSpherePluginConfig directives as a model for configuring your file for IBM i Version 7.2:
LoadModule was_ap20_module /QSYS.LIB/product_library.LIB/QSVTAP24.SRVPGM
where product_library is the name of the WebSphere Application Server product library, such as QWAS8A or QWAS8B. See the topic Directory conventions for information about how to determine the product library name.
Local distributed example (Network Deployment only - the web server is configured in a managed node):
WebSpherePluginConfig /QIBM/UserData/WebSphere/AppServer/V8/
   ND/profiles/profile1/config/cells/my_cell/nodes/
   my_managednode/servers/webserver1/plugin-cfg.xml
Local standalone example:
WebSpherePluginConfig /QIBM/UserData/WebSphere/AppServer/V8/
   ND/profiles/profile1/config/cells/my_cell/nodes/
   webserver1_node/servers/webserver1/plugin-cfg.xml
Remote example:
WebSpherePluginConfig /QIBM/UserData/WebSphere/AppServer/V8/
   ND/profiles/httpprofile1/config/webserver1/plugin-cfg.xml

Results

The Apache 2.2 Web Server is re-configured.

What to do next

After configuring a web server, you can install applications on it. See the Applications section of the information center for more information.

Tip: To unconfigure a web server, reverse the manual steps and remove what was manually added in this procedure.



In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Jan 30, 2014 9:17:32 AM CST
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-nd-iseries&topic=tins_manualWebApache22
File name: tins_manualWebApache22.html