From 22e2c59b161c96fff4b883568596efa5b55285ef Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Thu, 18 Aug 2011 01:25:40 +0200 Subject: Rewriting rules (+testscript) and protection of system files. --- .htaccess | 7 +++++++ 1 file changed, 7 insertions(+) (limited to '.htaccess') diff --git a/.htaccess b/.htaccess index e69de29..22cfebf 100644 --- a/.htaccess +++ b/.htaccess @@ -0,0 +1,7 @@ +RewriteEngine On + +RewriteCond %{REQUEST_FILENAME} -f [OR] +RewriteCond %{REQUEST_FILENAME} -d +RewriteRule ^(.+) - [PT,L] + +RewriteRule (.*) index.php/$1 [L] -- cgit v1.2.3-70-g09d2