RewriteEngine on #Options +SymLinksIfOwnerMatch Options -Indexes #RewriteOptions InheritDown #RewriteBase / 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 Order Allow,Deny Deny from all Order Allow,Deny Deny from all Order Allow,Deny Deny from all Order Allow,Deny Deny from all