mervy/mvcbase/master/.htaccess - Htaccess File

mervy/mvcbase/master/.htaccess

RewriteEngine On
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*)$ index.php?url=$1

#Bloquear arquivos json, inc e txt
<files *.ini>
 order allow,deny
 deny from all
</files>

# Forçando download
AddType application/octet-stream .doc .txt .zip .pdf .xls .mp4 .srt .torrent

On Github License

Files

Download PDF of Htaccess file
SCRIPT_FILENAME

Comments

Apache