One of my friend is having a problem with his server. When trying to view any page I get the following error:
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@xxxxxxx.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Error log message: [Fri Jun 15 09:34:53 2007] [alert] [client xxxxxxxxx] /xxxxxxxxx/.htaccess: IndexIgnore not allowed here
# -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 www.xxxxxxxxx.com
AuthUserFile xxxxxxxx/service.pwd
AuthGroupFile xxxxxxxx/service.grp
Any idea what it could be? Is this .htaccess file ok?
I played a bit with it and found out that if I remove these lines it works:
Then that means that the server you are hosted on has disabled the ability to alter those settings through .htaccess. Have you tried contacting them in regards to it?
I'm not the admin but that would make sense. Since one day I logged on the site and I had the error mentioned in the first post and I doubt .htaccess was modified. What would I need to ask the admin for? What setting does he need to change?
Probably the "AllowOverride" settings of the Apache httpd.conf file. I think that if an AllowOverride setting is NOT set for certain options, it's not allowed to be overwritten in an .htaccess file.