This page documents the configuration of mod_wcm.so on versions 5 & 6 of RedHat, CentOS and Oracle Linux.
For information on configuring mod_wcm.so on Fedora Core or version 7 (or later) of RedHat, CentOS & Oracle Linux see Apache mod_wcm.so configuration for Fedora Core or version 7 (or later) of RedHat, CentOS & Oracle Linux
Apache is available as an installable package for the RedHat family of Linux systems. The version of mod_wcm.so to use depends on the Apache 2.2 architecture:-
| Operating System | Apache version | mod_wcm library |
|---|---|---|
| CentOS 5 & 6 | 2.2 32-bit | mod_wcm_32.so |
| CentOS 5 & 6 | 2.2 64-bit | mod_wcm.so |
| Oracle Linux 5 & 6 | 2.2 64-bit | mod_wcm.so |
| Oracle Linux 5 & 6 | 2.2 32-bit | mod_wcm_32.so |
| RedHat 5 & 6 | 2.2 64-bit | mod_wcm.so |
| RedHat 5 & 6 | 2.2 32-bit | mod_wcm_32.so |
The architecture of Apache 2.2 usually matches that of the operating system, but can be verified by using the Unix file command
For example:-
$ file /usr/sbin/httpd /usr/sbin/httpd: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV)Indicates a 64-bit version of a Apache, while a 32-bit version of Apache would show
$ file /usr/sbin/httpd /usr/sbin/httpd: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV)
To start and stop Apache, use the service httpd start|stop command.
The configuration of Apache has been separated out from /etc/httpd/conf/httpd.conf into a set of include files that reside in the /etc/httpd/conf.d directory.
For example, mod_wcm.so's configuration would be stored in the file /etc/httpd/conf.d/wcm.conf:
# Configuration for mod_wcm.so <IfModule !wcm_module> LoadModule wcm_module modules/mod_wcm.so </IfModule> <Location /K8_CVS6 > Order allow,deny Allow from all # mod_filter and mod_deflate must be loaded AddOutputFilterByType deflate text/plain text/html text/css text/xml application/soap+xml </Location> <Location /K8_CVS6/KCMLTest > SetHandler kcml-soap KcmlSOAPServers localhost:790 </Location>
Module pathnames are relative to the /etc/httpd directory.