[support] Clean URL's

Rob Wilmshurst drupal at fifteenoclock.com
Fri Jul 13 16:43:28 UTC 2007


Quoth S.Theyagarajan:
> my host has enabled mod_rewrite . am i missing somethin ?
Does your .htaccess file exist and does it contain the following?
 RewriteEngine On
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

If not, try creating the .htaccess file and placing this inside (it's 
not complete; you'll have to download Drupal for the full version).

If that doesn't work, try placing this (and only this) at the top of 
your .htaccess file:
   RewriteENGIIINE On (the typo is intentional; you might want to copy & 
paste)
If your .htaccess file is being correctly read, you should see an 
'internal server error' message.  If you don't see an error at this 
stage, it means that your webserver isn't reading the .htaccess file; 
you'll need to ask your webhost to enable this.

Cheers,

Rob
--
Rob Wilmshurst
drupal at fifteenoclock.com


More information about the support mailing list