summaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess5
1 files changed, 3 insertions, 2 deletions
diff --git a/.htaccess b/.htaccess
index c0cef3949..77ef61b8c 100644
--- a/.htaccess
+++ b/.htaccess
@@ -88,11 +88,12 @@ DirectoryIndex index.php index.html index.htm
# uncomment the following line:
# RewriteBase /
- # Rewrite URLs of the form 'x' to the form 'index.php?q=x'.
+ # Pass all requests not referring directly to files in the filesystem to
+ # index.php. Clean URLs are handled in drupal_environment_initialize().
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
- RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
+ RewriteRule ^ index.php [L]
</IfModule>
# $Id$