aboutsummaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2011-08-18 01:25:40 +0200
committerKevin Chabowski <kevin@kch42.de>2011-08-18 01:25:40 +0200
commit22e2c59b161c96fff4b883568596efa5b55285ef (patch)
treee030df4325503b50d323c15e4501740dbf5b12a2 /.htaccess
parent27db8a06b3228e900f1987d54c18bb1e64e14e8a (diff)
downloadratatoeskr-cms-22e2c59b161c96fff4b883568596efa5b55285ef.tar.gz
ratatoeskr-cms-22e2c59b161c96fff4b883568596efa5b55285ef.tar.bz2
ratatoeskr-cms-22e2c59b161c96fff4b883568596efa5b55285ef.zip
Rewriting rules (+testscript) and protection of system files.
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess7
1 files changed, 7 insertions, 0 deletions
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]