View Single Post
  #3 (permalink)  
Old 06-04-08, 08:19 PM
rowan rowan is offline
Junior Member
 
Join Date: Apr 2008
Posts: 9
Default

I did add these rewrite rules, taken from the drupal help on clean urls

LoadModule rewrite_module modules/mod_rewrite.so
AddModule mod_rewrite.c

to my .htaccess file, but it just causes a server error.

Am I adding the right lines?

I also tried adding

<Directory /var/www/mysite.com>
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</Directory>

But this also caused a server error
Reply With Quote