Skip to content
FiveTech Software edited this page May 15, 2019 · 29 revisions

How to test the Apache mod on Windows:

1. Download Apache from here and unzip it at c:\Apache24

https://home.apache.org/~steffenal/VC15/binaries/httpd-2.4.39-win64-VC15.zip

2. Download the mod mod_example_1.dll from this repository and copy it at:

c:\Apache24\modules\mod_example_1.dll

3. Edit c:\Apache24\conf\httpd.conf and add these lines:

LoadModule example_module modules/mod_example_1.dll

AddHandler example-handler .prg (place this after )

4. In c:\Apache24\htdocs\ besides index.html add a test.prg

5. Go to localhost/test.prg