added .htaccess for modrewrite
This commit is contained in:
parent
ef77013ac5
commit
df85246db0
9
public/.htaccess
Normal file
9
public/.htaccess
Normal file
@ -0,0 +1,9 @@
|
||||
RewriteEngine On
|
||||
|
||||
RewriteRule ^(app|dict|ns|tmp)\/|\.ini$ - [R=404]
|
||||
|
||||
RewriteCond %{REQUEST_FILENAME} !-l
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule .* index.php [L,QSA]
|
||||
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
|
||||
Loading…
x
Reference in New Issue
Block a user