mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
regression-tests: makes configuration compatible with 2.2 and 2.4
This commit is contained in:
@@ -1,7 +1,9 @@
|
|||||||
### Base configuration for starting Apache httpd
|
### Base configuration for starting Apache httpd
|
||||||
|
|
||||||
LoadModule access_compat_module /usr/lib/apache2/modules/mod_access_compat.so
|
<IfModule !mod_authz_core.c>
|
||||||
LoadModule mpm_worker_module /usr/lib/apache2/modules/mod_mpm_worker.so
|
LoadModule access_compat_module /usr/lib/apache2/modules/mod_access_compat.so
|
||||||
|
LoadModule mpm_worker_module /usr/lib/apache2/modules/mod_mpm_worker.so
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
<IfDefine !CHROOT>
|
<IfDefine !CHROOT>
|
||||||
# File locations
|
# File locations
|
||||||
@@ -35,6 +37,13 @@ ErrorLog @MSC_REGRESSION_LOGS_DIR@/error.log
|
|||||||
Options +Indexes +FollowSymLinks
|
Options +Indexes +FollowSymLinks
|
||||||
AllowOverride None
|
AllowOverride None
|
||||||
Allow from all
|
Allow from all
|
||||||
Satisfy Any
|
|
||||||
|
<IfModule !mod_authz_core.c>
|
||||||
|
Satisfy Any
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
<IfModule mod_authz_core.c>
|
||||||
|
Require all granted
|
||||||
|
</IfModule>
|
||||||
</Directory>
|
</Directory>
|
||||||
</IfDefine>
|
</IfDefine>
|
||||||
|
Reference in New Issue
Block a user