diff options
Diffstat (limited to 'htaccess.txt')
-rw-r--r-- | htaccess.txt | 10 |
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> |