Skip to content

Commit

Permalink
prevent requesting a folder (/css) from showing a dir listing
Browse files Browse the repository at this point in the history
most likely users do not want this - so just remove it. If it is desired
it's very easy to add back
  • Loading branch information
AD7six committed May 17, 2011
1 parent 1b14887 commit 1bdff8f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/webroot/.htaccess
@@ -1,6 +1,5 @@
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,L]
</IfModule>
</IfModule>

0 comments on commit 1bdff8f

Please sign in to comment.