.htaccess problem on 1and1 (1&1) managed server and joomla/mambo

Ok, this one took me a while to figure out, after stuffing around with all sorts of .htaccess files, and being certain that mod_rewrite was in fact on, I was ready to give up. I was seeing:

Error 500, server config error and all sorts.
I knew I’d gotten some wordpress blogs running with SEF, so I just grabbed it’s .htaccess file:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

 

And, amazingly, it worked.

Let’s hear it for wordpress! ( written on a wordpress blog no less )