Update .htaccess
This commit is contained in:
parent
0ebd8419a7
commit
9028d7f11a
3 changed files with 12 additions and 3 deletions
|
@ -1,5 +1,9 @@
|
|||
AddDefaultCharset UTF-8
|
||||
|
||||
<IfModule mod_autoindex.c>
|
||||
Options -Indexes
|
||||
</IfModule>
|
||||
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
#RewriteBase /
|
||||
|
@ -9,6 +13,8 @@ AddDefaultCharset UTF-8
|
|||
|
||||
RewriteRule !^public/. index.php [L]
|
||||
|
||||
RewriteRule \.dist\. index.php [L]
|
||||
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteRule ^public/ index.php [L]
|
||||
</IfModule>
|
||||
|
|
|
@ -1,4 +1 @@
|
|||
<Limit GET POST PUT>
|
||||
Order Allow,Deny
|
||||
Deny from All
|
||||
</Limit>
|
||||
|
|
|
@ -1,9 +1,15 @@
|
|||
AddDefaultCharset UTF-8
|
||||
|
||||
<IfModule mod_autoindex.c>
|
||||
Options -Indexes
|
||||
</IfModule>
|
||||
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
#RewriteBase /
|
||||
|
||||
RewriteRule \.dist\. index.php [L]
|
||||
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_URI} !^/favicon\.ico$
|
||||
RewriteCond %{REQUEST_URI} !^/robots\.txt$
|
||||
|
|
Loading…
Add table
Reference in a new issue