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:
parent
03981ca28b
commit
ef2854556b
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue