- new blog cms
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
Options -Indexes
|
||||
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
RewriteBase /
|
||||
|
||||
RewriteRule ^(app|cli|config|storage)(/|$) - [F,L]
|
||||
RewriteRule ^bl-content/(databases|pages|tmp)(/|$) - [F,L]
|
||||
|
||||
RewriteCond %{REQUEST_FILENAME} -f [OR]
|
||||
RewriteCond %{REQUEST_FILENAME} -d
|
||||
RewriteRule ^ - [L]
|
||||
|
||||
RewriteRule ^(.+)$ index.php?route=$1 [QSA,L]
|
||||
RewriteRule ^$ index.php [L]
|
||||
</IfModule>
|
||||
|
||||
<FilesMatch "\.(sqlite|db|csv|json|lock)$">
|
||||
Require all denied
|
||||
</FilesMatch>
|
||||
Reference in New Issue
Block a user