This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
|
Next revision
Both sides next revision
|
tutorial:adm:server_preparation_win [2019/11/28 13:27] fiserp [HTTPd installation and configuration] |
tutorial:adm:server_preparation_win [2020/03/04 14:53] kolarikj [mod_security installation] |
Supply SSL certificate and key in x509 PEM form to ''c:/Apache24/conf/server.key'' and ''c:/Apache24/conf/server.crt'' files. Apache HTTPd will not start without those files. If you need to generate some ad-hoc certificates, use for example [[https://www.akadia.com/services/ssh_test_certificate.html|this guide]]. You can easily invoke the **openssl** tool from the Git Bash prompt. | Supply SSL certificate and key in x509 PEM form to ''c:/Apache24/conf/server.key'' and ''c:/Apache24/conf/server.crt'' files. Apache HTTPd will not start without those files. If you need to generate some ad-hoc certificates, use for example [[https://www.akadia.com/services/ssh_test_certificate.html|this guide]]. You can easily invoke the **openssl** tool from the Git Bash prompt. |
===== mod_security installation ===== | ===== mod_security installation ===== |
Download the mod\_security module from the [[https://www.apachelounge.com/download/VC15/modules/mod_security-2.9.2-win64-VC15.zip|Apache Lounge project]]. | Download the mod\_security module from the [[https://www.apachelounge.com/download/VS16/modules/mod_security-2.9.3-win64-VS16.zip|Apache Lounge project]]. |
Unpack the zip and perform following actions: | Unpack the zip and perform following actions: |
* Copy the ''mod\_security2.so'' int ''C:\Apache24\modules'' directory. | * Copy the ''mod\_security2.so'' int ''C:\Apache24\modules'' directory. |
* Copy ''libcurl.dll'' and ''yajl.dll'' into ''C:\Apache24\bin'' directory. | * Copy ''yajl.dll'' into ''C:\Apache24\bin'' directory. |
| |
Create general mod\_security configuration file ''C:\Apache24\conf\extra\modsec.conf'': | Create general mod\_security configuration file ''C:\Apache24\conf\extra\modsec.conf'': |