ServerRoot "/opt/apache2"
Listen 80
LoadModule php5_module modules/libphp5.so
LoadModule security2_module modules/mod_security2.so
User apache
Group apache
ServerAdmin you@example.com
DocumentRoot "/opt/apache2/htdocs"
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
DirectoryIndex index.html
Order allow,deny
Deny from all
Satisfy All
ErrorLog "logs/error_log"
LogLevel debug
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
CustomLog "logs/access_log" combined
ScriptAlias /cgi-bin/ "/opt/apache2/cgi-bin/"
AllowOverride None
Options None
Order allow,deny
Allow from all
DefaultType text/plain
TypesConfig conf/mime.types
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddType application/x-httpd-php .php .php5 .phtml
AddType application/x-httpd-php-source .phps .php5s
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
Include conf/extra/httpd-mpm.conf
Include conf/extra/httpd-autoindex.conf
Include conf/extra/httpd-languages.conf
Include conf/extra/httpd-userdir.conf
Include conf/extra/httpd-default.conf
Include conf/extra/httpd-info.conf
Include conf/vhosts/*.conf
Include conf/vhosts/testuse/*.conf
LoadFile /usr/lib64/libxml2.so
LoadFile /usr/lib64/liblua.so
Include conf/modsec.2.6/modsecurity.conf
Include conf/modsec.2.6/modsecurity_crs_10_config.conf