Set Apache HTTP Server V2.2
Install Apache 2.2 and the latest version of the Web server plug-ins for WAS 7.0 using the UpdateInstaller.
Apache HTTP Server v2.2 is different from IBM HTTP Server (powered by Apache). Apache HTTP Server is not supported on IBM i.
When you install the Web server plug-ins for WAS on a non-IBM i system, the Plug-ins installation wizard configures the Web server.
For an Apache HTTP Server that supports 64-bit addressing, use the 64-bit CD provided with WAS v7 to install the Apache Web server plug-in binaries. If we use the 32-bit CD, you will receive an error message indicating that the plug-in binaries did not load.
For an Apache HTTP Server that supports 32-bit addressing, use the 32-bit CD provided with WAS v7 to install the Apache Web server plug-in binaries. If we use the 64-bit CD, you will receive an error message indicating that the plug-in binaries did not load.httpd: Syntax error on line XXX of /home/apache/conf/httpd.conf: Cannot load /home/apache/Plugins/mod_was_ap22_http.sl into server: Invalid argument
The plug-in was tested with the threaded worker multi-processing module (MPM) on all platforms except Windows. The plug-in was tested with the default threaded MPM on Windows.
The plug-in works with the Apache 2.2 prefork MPM but works best with the worker MPM. The plug-in maintains connection pools to backend WASs and uses in-memory caching. These plug-in functions perform most efficiently when Apache is configured to use a single child process with the ThreadsPerChild value equal to the MaxClients value. The plug-in can be used with the prefork MPM or the worker MPM configured with multiple child processes, but at reduced efficiency.
The plug-in works with versions of the Apache HTTP Server that claim full binary compatibility with Apache 2.0.47 and later, which are built with compilers and compiler options that are compatible with those used to build the plug-in.
- AIX httpd.conf....LoadModule was_ap22_module /usr/IBM/WebSphere/Plugins/bin/mod_was_ap22_http.so
- Linux and Solaris httpd.conf....LoadModule was_ap22_module /IBM/WAS/Plugins/bin/mod_was_ap22_http.so
On the Solaris SPARC 64-bit platform, the Plug-ins installation wizard installs both 32-bit and 64-bit versions of the plug-in for Apache 2.2, however it configures the Web server to use the 32-bit plug-in only. If the Web server is 64-bit, we need to configure the LoadModule directive in httpd.conf to use the 64-bit plug-in as follows:LoadModule was_ap22_module /usr/IBM/WebSphere/Plugins/bin/64bits/mod_was_ap22_http.so
- HP-UX httpd.conf...LoadModule was_ap22_module /IBM/WAS/Plugins/bin/mod_was_ap22_http.sl
- Windows httpd.conf....LoadModule was_ap22_module C::\IBM\WebSphere\Plugins\bin\mod_was_ap22_http.dll
The Apache 2.2 Web server is reconfigured.
What to do next
The Plug-ins installation wizard installs the GSKIT SSL encryption library at the required level if it is not installed. If we manually copy the plug-in to a new machine, we might not have the required GSKIT libraries for encrypting back-end connections.
After configuring a Web server, we can install applications on it. See the Applications section of the information center for more information.
Related tasksSet Apache HTTP Server V2.0
Set IBM HTTP Server V6.x
Set IBM HTTP Server powered by Apache 2.x
Edit Web server configuration files