RewriteEngine on # Use for PHP 5.x: #LoadModule php5_module<>modules/libphp5.so #AddHandler php5-script<>.php. # Add index.php to your DirectoryIndex line: #DirectoryIndex index.html index.php #AddType text/html .php # PHP Syntax Coloring # (optional but useful for reading PHP source for debugging): AddType application/x-httpd-php-source phps AddType application/x-httpd-php .php Options +Includes AddType text/html .html AddOutputFilter INCLUDES .html ScriptAlias /cgi-bin/ /http/cgi-bin/ AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch +Includes Order allow,deny Allow from all AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch +Includes Order allow,deny Allow from all