RewriteEngine on #Options +SymLinksIfOwnerMatch Options -Indexes #RewriteOptions InheritDown #RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d AddType application/x-httpd-php .html .htm Order Allow,Deny Deny from all Order Allow,Deny Deny from all Order Allow,Deny Deny from all