Forum Moderators: phranque

Message Too Old, No Replies

Error Enabling .htaccess

Error when enableing .htaccess using Allowoverride All directive

         

rajanr

7:19 pm on Aug 24, 2005 (gmt 0)

10+ Year Member



Hi

I am trying to enable .htaccess in my virutal host configuration

by using

<Directory /www >
AllowOverride All
</Directory>

When i Do the above, and if i click on any links in my website all the links start showing

500 Internal Server Error Contact the website administrator

If any one have come across such things. I don't have any fancy configurations. I just installed Redhat ES4.0 and didnt change much in the httpd.conf except for Document Root .

ChadSEO

8:14 pm on Aug 24, 2005 (gmt 0)

10+ Year Member



rajanr,

There are several things that can cause a 500 error. The quickest way to determine what the problem is will be to look through your error logs. This should point you in the right direction; feel free to post any log entries (without any personally identifiable information of course), and someone might be able to offer better insight.

That being said, the code you posted appears to be correct, so I'm not sure what would be causing it.

Chad

rajanr

3:27 pm on Aug 25, 2005 (gmt 0)

10+ Year Member



thanks Chad i Foudn that i am not supposed to invlude RewriteLog in .htaccess which was causing the problem. I fixed it and it started like champ