Regression test: get it working with apache 2.4

Changes in httpd.conf.in to get it working with apache 2.4
This commit is contained in:
Felipe Zimmerle
2013-12-10 13:27:52 -08:00
parent 7366f35c1d
commit e9813cd0d9
2 changed files with 43 additions and 40 deletions

View File

@@ -1,5 +1,8 @@
### 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
<IfDefine !CHROOT>
# File locations
PidFile @MSC_REGRESSION_LOGS_DIR@/httpd.pid
@@ -16,9 +19,7 @@
<IfDefine !NOMODSEC>
# TODO: Need to have these configurable
LoadFile /usr/lib/libxml2.so
LoadFile /usr/lib/liblua5.1.so
LoadModule security2_module @APXS_LIBEXECDIR@/mod_security2.so
LoadModule security2_module @MSC_BASE_DIR@/apache2/.libs/mod_security2.so
</IfDefine>
ServerName localhost
@@ -31,7 +32,9 @@ ErrorLog @MSC_REGRESSION_LOGS_DIR@/error.log
<IfDefine !CHROOT>
DocumentRoot @MSC_REGRESSION_DOCROOT_DIR@
<Directory "@MSC_REGRESSION_DOCROOT_DIR@">
Options Indexes FollowSymLinks
Options +Indexes +FollowSymLinks
AllowOverride None
Allow from all
Satisfy Any
</Directory>
</IfDefine>