Apache mod_wcm.so SOAP configuration for Mandriva & PCLinuxOS


Apache 2.2 is available as an installable package for the Mandriva & PCLinuxOS.
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 & /etc/httpd/modules.d directories. The modules.d subdirectory contains files that define all the required LoadModule directives, extra Apache modules, such as mod_wcm.so, reside in the /etc/httpd/extramodules directory.
To load mod_wcm.so we would create a /etc/httpd/modules.d/wcm.conf file:

LoadModule wcm_module extramodules/mod_wcm.so
Module pathnames are relative to the /etc/httpd directory.

The configuration for mod_wcm.so configuration would be stored in the file /etc/httpd/conf.d/wcm.conf:

# Configuration for mod_wcm.so
<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>