2015-03-10 16:39:04 +01:00
|
|
|
AddDefaultCharset UTF-8
|
|
|
|
|
2015-06-30 05:23:29 +02:00
|
|
|
<IfModule mod_rewrite.c>
|
|
|
|
|
2015-05-19 01:22:05 +02:00
|
|
|
# Enable rewrite rules
|
2015-03-08 18:42:27 +01:00
|
|
|
RewriteEngine on
|
|
|
|
|
2018-03-04 21:43:30 +01:00
|
|
|
# Base directory
|
2018-10-18 22:40:35 +02:00
|
|
|
RewriteBase /
|
2018-03-04 21:43:30 +01:00
|
|
|
|
2018-09-05 22:55:14 +02:00
|
|
|
# Deny direct access to the next directories
|
2018-09-18 23:59:38 +02:00
|
|
|
RewriteRule ^bl-content/(databases|workspaces|pages|tmp)/.*$ - [R=404,L]
|
2015-05-05 03:00:01 +02:00
|
|
|
|
2015-05-19 01:22:05 +02:00
|
|
|
# All URL process by index.php
|
2015-03-08 18:42:27 +01:00
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
2015-09-17 03:21:23 +02:00
|
|
|
RewriteRule ^(.*) index.php [PT,L]
|
2015-06-30 05:23:29 +02:00
|
|
|
|
2018-09-05 22:55:14 +02:00
|
|
|
</IfModule>
|