mitchelkoster/web-template/master/php/.htaccess - Htaccess File

mitchelkoster/web-template/master/php/.htaccess

# Deny matched file types from  being accessed.
<FilesMatch ".(bak|config|sql|fla|psd|ini|log|sh|inc|~|swp)$">
    Order allow,deny
    Deny from all
    Satisfy All
</FilesMatch>

# Forbid directory listings, Enable multiveuws.
<IfModule mod_rewrite.c>
    Options -Indexes +FollowSymLinks +MultiViews
</IfModule>

On Github License

Files

Download PDF of Htaccess file

Comments

Apache