ServerRoot "/usr/local/apache2"
Listen 80
LoadModule php5_module modules/libphp5.so
User apache
Group apache
ServerAdmin admin@localhost
ServerName server.localhost
DocumentRoot "/usr/local/apache2/htdocs"
AddType application/x-httpd-php .php .phtml .html .htm
AddType application/x-httpd-php-source .phps
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
DirectoryIndex index.html index.htm index.php
Order allow,deny
Deny from all
Satisfy All
ErrorLog logs/main/error_log
LogLevel warn
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/main/access_log combined
Alias /webmail /usr/share/webmail
Order allow,deny
Allow from all
DefaultType text/plain
TypesConfig conf/mime.types
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddHandler cgi-script .cgi
Alias /error.php "/usr/local/apache2/htdocs/error.php"
ErrorDocument 500 "/error.php"
ErrorDocument 404 "/error.php"
ErrorDocument 403 "/error.php"
ErrorDocument 401 "/error.php"
Include conf/extra/httpd-autoindex.conf
Include conf/extra/httpd-userdir.conf
Include conf/extra/httpd-vhosts.conf
Include conf/extra/httpd-dav.conf
Include conf/extra/httpd-default.conf
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin