2015-03-10 15:39:04 +00:00
|
|
|
AddDefaultCharset UTF-8
|
|
|
|
|
2015-06-30 00:23:29 -03:00
|
|
|
<IfModule mod_rewrite.c>
|
|
|
|
|
2015-05-18 23:22:05 +00:00
|
|
|
# Enable rewrite rules
|
2015-03-08 14:42:27 -03:00
|
|
|
RewriteEngine on
|
|
|
|
|
2018-03-04 21:43:30 +01:00
|
|
|
# Base directory
|
2018-08-16 15:09:37 +05:30
|
|
|
#RewriteBase /
|
2018-03-04 21:43:30 +01:00
|
|
|
|
2015-05-18 23:22:05 +00:00
|
|
|
# Deny direct access to .txt files
|
2016-01-26 19:11:31 +05:30
|
|
|
RewriteRule ^bl-content/(.*)\.txt$ - [R=404,L]
|
2015-05-05 01:00:01 +00:00
|
|
|
|
2015-05-18 23:22:05 +00:00
|
|
|
# All URL process by index.php
|
2015-03-08 14:42:27 -03:00
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
2015-09-16 22:21:23 -03:00
|
|
|
RewriteRule ^(.*) index.php [PT,L]
|
2015-06-30 00:23:29 -03:00
|
|
|
|
2018-08-16 15:09:37 +05:30
|
|
|
</IfModule>
|