mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-19 18:54:23 +03:00
Updated Reference Manual (mediawiki)
@@ -200,14 +200,14 @@ sudo yum install httpd httpd-devel pcre pcre-devel
|
||||
</pre>
|
||||
For details on why compiling ModSecurity for nginx requires these packages, see [https://github.com/SpiderLabs/ModSecurity/issues/603 issue 603].
|
||||
=== Installation Steps ===
|
||||
# - Compile standalone module:
|
||||
1. - Compile standalone module:
|
||||
<pre>
|
||||
~/mod_security$ ./configure --enable-standalone-module --disable-mlogc
|
||||
~/mod_security$ make
|
||||
</pre>
|
||||
Note that the path and name of the mod_security folder will differ based on what version and where you download the tarball from [https://www.modsecurity.org/download.html modsecurity.org].
|
||||
|
||||
# - Once the standalone library is built successfully, one can follow with building the nginx server, following the steps from the nginx build tutorial:
|
||||
2. - Once the standalone library is built successfully, one can follow with building the nginx server, following the steps from the nginx build tutorial:
|
||||
<pre>
|
||||
~/nginx-1.2.0$ ./configure --add-module=../mod_security/nginx/modsecurity
|
||||
~/nginx-1.2.0$ make
|
||||
|
||||
Reference in New Issue
Block a user