:80> DocumentRoot ServerName ServerAdmin webmaster@ ErrorLog /log/error.log ErrorDocument 400 /error/invalidSyntax.html ErrorDocument 401 /error/authorizationRequired.html ErrorDocument 403 /error/forbidden.html ErrorDocument 404 /error/fileNotFound.html ErrorDocument 405 /error/methodNotAllowed.html ErrorDocument 500 /error/internalServerError.html ErrorDocument 503 /error/overloaded.html ServerAlias # cgi enabled ScriptAlias /cgi-bin/ /cgi-bin/ AddHandler cgi-script .cgi AddHandler cgi-script .pl # ssi enabled AddType text/html .shtml AddOutputFilter INCLUDES .shtml # suexec enabled SuexecUserGroup # mod_php enabled AddType application/x-httpd-php .php .php3 .php4 .php5 # suphp enabled suPHP_Engine on suPHP_UserGroup AddHandler x-httpd-php .php .php3 .php4 .php5 suPHP_AddHandler x-httpd-php # php as cgi enabled AddType application/x-httpd-php .php .php3 .php4 .php5 RewriteEngine on RewriteCond %{HTTP_HOST} ^ [NC] RewriteRule ^/(.*)$ $1 [] ########################################################### # SSL Vhost ########################################################### :443> DocumentRoot ServerName ServerAdmin webmaster@ ErrorLog /log/error.log ErrorDocument 400 /error/invalidSyntax.html ErrorDocument 401 /error/authorizationRequired.html ErrorDocument 403 /error/forbidden.html ErrorDocument 404 /error/fileNotFound.html ErrorDocument 405 /error/methodNotAllowed.html ErrorDocument 500 /error/internalServerError.html ErrorDocument 503 /error/overloaded.html SSLEngine on SSLCertificateFile /ssl/.crt SSLCertificateKeyFile /ssl/.key SSLCACertificateFile /ssl/.bundle ServerAlias # cgi enabled ScriptAlias /cgi-bin/ /cgi-bin/ AddHandler cgi-script .cgi AddHandler cgi-script .pl # ssi enabled AddType text/html .shtml AddOutputFilter INCLUDES .shtml # suexec enabled SuexecUserGroup # mod_php enabled AddType application/x-httpd-php .php .php3 .php4 .php5 # suphp enabled suPHP_Engine on suPHP_UserGroup AddHandler x-httpd-php .php .php3 .php4 .php5 suPHP_AddHandler x-httpd-php # php as cgi enabled AddType application/x-httpd-php .php .php3 .php4 .php5 RewriteEngine on RewriteCond %{HTTP_HOST} ^ [NC] RewriteRule ^/(.*)$ $1 []