Changed example.htaccess to redirect application and system, rather than 403 forbidden

Signed-off-by: Woody Gilk <woody.gilk@kohanaphp.com>
This commit is contained in:
bluehawk 2010-03-01 20:22:17 -07:00 committed by Woody Gilk
parent 03981ca28b
commit ef2854556b

View file

@ -11,7 +11,7 @@ RewriteBase /kohana/
</Files>
# Protect application and system files from being viewed
RewriteRule ^(?:application|modules|system)\b - [F,L]
RewriteRule ^(?:application|modules|system)\b index.php/$0 [L]
# Allow any files or directories that exist to be displayed directly
RewriteCond %{REQUEST_FILENAME} !-f