Hi, I am getting an 500 internal server error when using the redirection code in my HTACCESS file.Given is the code i am using:
RewriteEngine On
rewritecond %{http_host} ^domain.com
rewriterule ^(.*)$ http://www.domain.com$1 [r=301,L]
I also have already following lines of code in my htaccess file:
# -FrontPage-
IndexIgnore .htaccess */.?* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName domain.com
AuthUserFile /home/folder/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/folder/public_html/_vti_pvt/service.grp
Is it because of this code or there is any problem with the redirection code. Please help.......