|
@@ -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>
|