Apache mod_wcm.so SOAP configuration for AIX5.3+

Apache 2.4

mod_wcm modules are now available for Apache 2.2 and Apache 2.4 on AIX 5.3+. It is recommended to upgrade to Apache 2.4 as Apache 2.2 is now considered legacy with support expected to stop in 2017 (see Apache)

Apache 2.4 for AIX 6.1+ may be obtained from IBM

Apache 2.4 for AIX 5.3+ may be obtained from perlz

Both these downloads are for 32-bit builds of Apache 2.4 as mod_wcm does not support 64-bit. On Apache 2.4 the multi-processing mode (MPM) can be specified at run-time so it does not matter how httpd was configured when it was built. The specification in the configuration file should be:

LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
	

mod_wcm modules

To avoid confusion mod_wcm modules now have clear names including version numbers with symbol links from the older simpler names for existing scripts. These are:

httpd version Symbol link Module file
2.4 mod_wcm_24.so mod_wcm_apache24_ppc_32bit.so
2.2 mod_wcm.so mod_wcm_apache22_ppc_32bit.so

configuration

The configuration is relatively simple: the Location and LoadModule directives are added to /opt/freeware/apache/conf/httpd.conf. Apache can be stopped and started with the /opt/freeware/apache/bin/apachectl script. The pathnames of modules are relative to /opt/freeware/apache:

	# ... other LoadModule directives ....
	LoadModule wcm_module modules/mod_wcm.so
	# ... remaining httpd.conf settings ...
	<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>