bludit/.htaccess
2015-06-23 01:20:19 -03:00

11 lines
244 B
ApacheConf

AddDefaultCharset UTF-8
# Enable rewrite rules
RewriteEngine on
# Deny direct access to .txt files
RewriteRule ^content/(.*)\.txt$ - [R=404,L]
# All URL process by index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*) index.php [L]