# NameVirtualHost *:80 :80> DocumentRoot ServerName ServerAlias RewriteEngine on # 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 RewriteCond %{HTTP_HOST} ^ [NC] RewriteRule ^/(.*)$ $1 []