summaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-01-29 22:40:41 +0000
committerDries Buytaert <dries@buytaert.net>2010-01-29 22:40:41 +0000
commit1df3cfffefefc93ed2d29041d148938d08bb9d4e (patch)
tree3f2488086535e8ce70f656f32113dd6eef4fd545 /.htaccess
parent139f4375615216dfd077caba957508ff60778f45 (diff)
downloadbrdo-1df3cfffefefc93ed2d29041d148938d08bb9d4e.tar.gz
brdo-1df3cfffefefc93ed2d29041d148938d08bb9d4e.tar.bz2
- Patch #284899 by c960657, voxpelli, mattconnolly: fixed Drupal url problem with clean urls.
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$