Skip to content

Commit

Permalink
regression-tests: makes configuration compatible with 2.2 and 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Felipe Zimmerle committed Dec 12, 2013
1 parent e9813cd commit 6fc4cac
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions tests/regression/server_root/conf/httpd.conf.in
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -35,6 +37,13 @@ ErrorLog @MSC_REGRESSION_LOGS_DIR@/error.log
Options +Indexes +FollowSymLinks
AllowOverride None
Allow from all
Satisfy Any

<IfModule !mod_authz_core.c>
Satisfy Any
</IfModule>

<IfModule mod_authz_core.c>
Require all granted
</IfModule>
</Directory>
</IfDefine>

0 comments on commit 6fc4cac

Please sign in to comment.