From 3b8ffbfb0d0127fcaccb43991d836a431bd55efc Mon Sep 17 00:00:00 2001 From: Christian Beier Date: Fri, 30 Sep 2011 10:58:07 +0200 Subject: [PATCH] add RewriteRules to handle the urls better --- .htaccess | 4 ++++ index.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.htaccess b/.htaccess index c2c5963..0ff4ac9 100755 --- a/.htaccess +++ b/.htaccess @@ -1,3 +1,7 @@ deny from all + +RewriteEngine On +RewriteRule ^setup(.*)$ setup.php?%{QUERY_STRING} [L] +RewriteRule ^index(.*)$ index.php?%{QUERY_STRING} [L] \ No newline at end of file diff --git a/index.php b/index.php index 98aa08d..c769628 100644 --- a/index.php +++ b/index.php @@ -1,7 +1,7 @@