Browse Source

Tweak .htaccess.

Taylor Otwell 11 years ago
parent
commit
08cb97fa6d
1 changed files with 5 additions and 4 deletions
  1. 5 4
      public/.htaccess

+ 5 - 4
public/.htaccess

@@ -1,7 +1,8 @@
 <IfModule mod_rewrite.c>
-	Options -MultiViews
-	RewriteEngine On
+    Options -MultiViews
+    RewriteEngine On
 
-	RewriteCond %{REQUEST_FILENAME} !-f
-	RewriteRule ^ index.php [L]
+	RewriteCond %{REQUEST_FILENAME} !-d
+    RewriteCond %{REQUEST_FILENAME} !-f
+    RewriteRule ^ index.php [L]
 </IfModule>