ソースを参照

Revert "prevent requesting a folder (/css) from showing a dir listing"

This reverts commit 1bdff8f63cbb921fa3804920f354f63cf592cbd5.

Disappointinly, it broke my apache test install
AD7six 15 年 前
コミット
d3772fc605
1 ファイル変更2 行追加1 行削除
  1. 2 1
      app/webroot/.htaccess

+ 2 - 1
app/webroot/.htaccess

@@ -1,5 +1,6 @@
 <IfModule mod_rewrite.c>
     RewriteEngine On
+    RewriteCond %{REQUEST_FILENAME} !-d
     RewriteCond %{REQUEST_FILENAME} !-f
     RewriteRule ^(.*)$ index.php/$1 [QSA,L]
-</IfModule>
+</IfModule>