Browse Source

Merge pull request #3438 from bbashy/patch-1

Fix redirect loop .htaccess
Taylor Otwell 9 years ago
parent
commit
99d25ec96c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      public/.htaccess

+ 2 - 1
public/.htaccess

@@ -5,7 +5,8 @@
 
     RewriteEngine On
 
-    # Redirect Trailing Slashes...
+    # Redirect Trailing Slashes but not for folders...
+    RewriteCond %{REQUEST_FILENAME} !-d
     RewriteRule ^(.*)/$ /$1 [L,R=301]
 
     # Handle Front Controller...