mirror of
https://github.com/miggymofongo/asteroid.git
synced 2024-11-22 13:10:28 +00:00
20 lines
401 B
ApacheConf
20 lines
401 B
ApacheConf
|
AddDefaultCharset UTF-8
|
||
|
|
||
|
<IfModule mod_rewrite.c>
|
||
|
|
||
|
# Enable rewrite rules
|
||
|
RewriteEngine on
|
||
|
|
||
|
# Base directory
|
||
|
RewriteBase /Bludit/
|
||
|
|
||
|
# Deny direct access to the next directories
|
||
|
RewriteRule ^bl-content/(databases|workspaces|pages|tmp)/.*$ - [R=404,L]
|
||
|
|
||
|
# All URL process by index.php
|
||
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||
|
RewriteRule ^(.*) index.php [PT,L]
|
||
|
|
||
|
</IfModule>
|