DrupalCon Baltimore: 161 sessions, many voices, infinite possibilities. Earlybird rate ends Friday.
if you are using the vhost_alias_module and you want clean URLs, the default .htaccess will give you an infinite internal redirect loop. Two things shall be done to prevent this. Let's suppose that the DocumentRoot is /var/www/htdocs and drupal is installed in /var/www/htdocs/mydomain/drupal . In this case, the first thing is:
This is easy to figure out. Second -- this took me some time -- you should add a slash before the index.php in the RewriteRule line:
RewriteRule ^(.*)$ /index.php?q=$1 [L,QSA]