: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
/>
Options None
AllowOverride Indexes AuthConfig Limit FileInfo
Order allow,deny
Allow from all
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
# php as fast-cgi enabled
/web>
AddHandler fcgid-script .php .php3 .php4 .php5
FCGIWrapper .php
Options FollowSymLinks +ExecCGI Indexes
AllowOverride None
Order allow,deny
Allow from all
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 []