From 1df3cfffefefc93ed2d29041d148938d08bb9d4e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 29 Jan 2010 22:40:41 +0000 Subject: - Patch #284899 by c960657, voxpelli, mattconnolly: fixed Drupal url problem with clean urls. --- .htaccess | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.htaccess') 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] # $Id$ -- cgit v1.2.3