# ... # Fake up DirectorySlash so that Drupal can serve up the directory. # Don't use [L] here as we pass on to the next rule. RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -d RewriteRule ^(.+)$ $1/ # Allow apache to serve up existant files directly but pass # everything else to drupal, including 'directory' requests RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.+)$ index.php?q=$1 [QSA] # ...