Added word boundary after system folder names to increase the regex accuracy

This commit is contained in:
Geert De Deckere 2009-06-16 16:28:38 +02:00
parent 609bee6d08
commit 604eeacd2b

View file

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