I'm trying to setup a very very simple mod_rewrite .htaccess:
RewriteEngine on
RewriteRule ^contact$ contact.php
RewriteRule ^contact/$ contact.php
But when I upload the .htaccess file, I get an Internal Server Error. What are happening?
I just checked the httpd.conf file, and the mod_rewrite module is here, without any #. Also the mod_rewrite is working with another domain in the server (I didn't worked with this domain).
Is any way to activate the mod_rewrite domain by domain maybe? How can I activate it? Thank you very much.
EDIT:
I just checked the apache error log, I'm getting this:
[Fri Jun 08 09:36:05 2012] [alert] [client 87.216.xxx.xxx] /var/www/vhost/domain.com/home/html/.htaccess: RewriteEngine not allowed here
Any clue? Thanks.