Port entirely to a MVC-like pattern #37

Open
kazhnuz wants to merge 29 commits from refactor/use-bludit-boot-code into main
Showing only changes of commit a88fa129a8 - Show all commits

19
.htaccess Normal file
View file

@ -0,0 +1,19 @@
AddDefaultCharset UTF-8
<IfModule mod_rewrite.c>
# Enable rewrite rules
RewriteEngine on
# Base directory
RewriteBase /
# 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>