Your DLLs should be physically located in the Apache Modules subdirectory.Two modifications to httpd.conf are required to enable a module. 1 Add a LoadModule entry to let Apache locate and load your DLL. For example:LoadModule MyApache_module modules/Project1.dllReplace MyApache_module with the exported module name from your DLL. To find the module name, in your project source, look for the exports line. For example:exports apache_module name 'MyApache_module';2 Add a resource locator entry (may be added anywhere in httpd.conf after the LoadModule entry). For example:# Sample location specification for a project named project1. <Location /project1> SetHandler project1-handler </Location>This allows all requests to http://www.somedomain.com/project1 to be passed on to the Apache module.The SetHandler directive specifies the Web server application that handles the request. The SetHandler argument should be set to the value of the ContentType global variable.
apache_module name 'MyApache_module';2 Add a resource locator entry (may be added anywhere in httpd.conf after the LoadModule entry). For example:# Sample location specification for a project named project1.
<Location /project1>
SetHandler project1-handler
</Location>This allows all requests to http://www.somedomain.com/project1 to be passed on to the Apache module.The SetHandler directive specifies the Web server application that handles the request. The SetHandler argument should be set to the value of the ContentType global variable.