regression-tests: makes configuration compatible with 2.2 and 2.4

This commit is contained in:
Felipe Zimmerle
2013-12-10 16:19:27 -08:00
parent e9813cd0d9
commit 6fc4cac37a

View File

@@ -1,7 +1,9 @@
### Base configuration for starting Apache httpd
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 !mod_authz_core.c>
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>
# File locations
@@ -35,6 +37,13 @@ ErrorLog @MSC_REGRESSION_LOGS_DIR@/error.log
Options +Indexes +FollowSymLinks
AllowOverride None
Allow from all
<IfModule !mod_authz_core.c>
Satisfy Any
</IfModule>
<IfModule mod_authz_core.c>
Require all granted
</IfModule>
</Directory>
</IfDefine>