Hi all,

After having moved my site from my homegrown Suse 9 server (still running as www.abc.com) to a virtualized Suse 10 one (currently called test.abc.com -- yes, I changed settings.php) with a hosting company somewhere I can't for the life of me get cleanurls to work.
- phpinfo.php tells me mod_rewrite.so is loaded
- I copied the .htaccess over from the old machine to the new one; basic directory structure is the same (it's all in the default /srv/www/htdocs). It currently looks like this:


RewriteEngine on
# stuff skipped, including RewriteBase -- tried setting that to /, but didn't work either..
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

- /etc/apache2/httpd.conf contains the lines:

Options None
AllowOverride All
Order deny,allow
Deny from all

What, o what am I forgetting?

Comments

kohlerj’s picture

Try adding a slash before index.php:

RewriteRule ^(.*)$ /index.php?q=$1 [L,QSA]

I found this advice elsewhere on drupal.org and it was the solution for me.

ek is 'n hekker | mi parolas esperanton | shosholoza!