New User? Register here - Existing Users: Username: Password: [Advanced Login]

 

 

Current Poll

Your preferred Interactive shell?









( 1371 votes ~ 15 comments )

 

Weblog entry #385 for simonw

Drupal6 not allowing Clean URLs
Posted by simonw on Tue 10 Aug 2010 at 08:44
Tags: none.
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

 

 

 

Flattr