Weblog entry #385 for simonw
#385
Drupal6 not allowing Clean URLs
Posted by simonw on Tue 10 Aug 2010 at 08:44
We have multisite Drupal install on Debian.
One site being tranferred to Drupal had "/drupal6"
aliased to "/usr/share/drupal6", where as other sites have "/usr/share/drupal6" as DocumentRoot.
This site was reported as "system configuration doesn't allow" clean URLS.
Adding a redirect to the Drupal .htaccess file to explicitly rewrite worked as a workaround.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} ^/drupal6/(.*)$
RewriteRule ^(.*)$ /drupal6/index.php?q=$1 [L,QSA]
As documented here:
http://drupal.org/node/15365
One site being tranferred to Drupal had "/drupal6"
aliased to "/usr/share/drupal6", where as other sites have "/usr/share/drupal6" as DocumentRoot.
This site was reported as "system configuration doesn't allow" clean URLS.
Adding a redirect to the Drupal .htaccess file to explicitly rewrite worked as a workaround.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} ^/drupal6/(.*)$
RewriteRule ^(.*)$ /drupal6/index.php?q=$1 [L,QSA]
As documented here:
http://drupal.org/node/15365