All pastes #244482 Raw Edit

noodl

public text v1 · immutable
#244482 ·published 2006-11-09 21:35 UTC
rendered paste body
<VirtualHost *:80>
 # ...

 # 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
 RewriteCond %{REQUEST_URI} !/$
 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]

 # ...
</VirtualHost>