From 604eeacd2b8b04a09f96868e71843d33a426d035 Mon Sep 17 00:00:00 2001 From: Geert De Deckere Date: Tue, 16 Jun 2009 16:28:38 +0200 Subject: [PATCH] Added word boundary after system folder names to increase the regex accuracy --- example.htaccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.htaccess b/example.htaccess index ea8305c..6737abd 100644 --- a/example.htaccess +++ b/example.htaccess @@ -11,7 +11,7 @@ RewriteBase /kohana/ # 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