summaryrefslogtreecommitdiffstats
path: root/htaccess.txt
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-02-18 11:39:56 +0100
committerFlorian Pritz <bluewind@xinu.at>2012-02-18 11:39:56 +0100
commitf0ca06e49d6f916c1b0e6d49de3a6d8200d01d6e (patch)
tree3286cc76797f16cd7e95600050cdfd1266ecb13f /htaccess.txt
parentcbb6617a3866b96556c790ec13260058706b95be (diff)
check for apache modules in htaccess files
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'htaccess.txt')
-rw-r--r--htaccess.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/htaccess.txt b/htaccess.txt
index 60d053b77..f68be60a8 100644
--- a/htaccess.txt
+++ b/htaccess.txt
@@ -1,4 +1,6 @@
-RewriteEngine on
-RewriteCond %{REQUEST_FILENAME} !-f
-RewriteCond %{REQUEST_FILENAME} !-d
-RewriteRule ^(.*)$ /index.php/?$1 [L]
+<IfModule mod_rewrite.c>
+ RewriteEngine on
+ RewriteCond %{REQUEST_FILENAME} !-f
+ RewriteCond %{REQUEST_FILENAME} !-d
+ RewriteRule ^(.*)$ /index.php/?$1 [L]
+</IfModule>