.htaccess problem
Posted: Mon Jun 18, 2007 7:22 am
One of my friend is having a problem with his server. When trying to view any page I get the following error:
Content of .htaccess:
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:
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>
If I remove the limits or the IndexIgnore it doesn't work. I absolutely have to remove both. know why?
Error log message: [Fri Jun 15 09:34:53 2007] [alert] [client xxxxxxxxx] /xxxxxxxxx/.htaccess: IndexIgnore not allowed hereThe 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.
Content of .htaccess:
Code: Select all
# -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.grpI played a bit with it and found out that if I remove these lines it works:
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>
If I remove the limits or the IndexIgnore it doesn't work. I absolutely have to remove both. know why?