Apache 2.X

Apache 2.X web server for Windows allows running ISAPI modules. To enable this feature, you must enable the plugin mod_isapi.

Apache doesn't have a visual interface for configuration. You must modify the httpd.conf file.

1

Enable the ISAPI module

Uncomment the following line in httpd.conf:

httpd.conf
LoadModule isapi_module modules/mod_isapi.so
2

Associate .dll files with the ISAPI handler

Add the following line:

httpd.conf
AddHandler isapi-handler .dll
3

Add your module directory (Apache 2.2 syntax)

Add a Directory section for your module directory. Example:

httpd.conf
<Directory "C:/webapps">
    Options Indexes FollowSymLinks ExecCGI
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>
4

Apache 2.4 access control changes

Starting from Apache 2.4 the access control rules have changed. Replace:

Apache 2.2 style
Order allow,deny
Allow from all

with:

Apache 2.4 style
Require all granted

So the Directory section for Apache 2.4 should look like:

httpd.conf
<Directory "C:/webapps">
    Options Indexes FollowSymLinks ExecCGI
    AllowOverride None
    Require all granted
</Directory>
5

Create an alias for your directory

Add an Alias for the directory, for example:

httpd.conf
Alias /mywebapps "C:/webapps"
6

Restart Apache

Be sure to restart your Apache server after making the necessary modifications to the httpd.conf file.