Forum Moderators: phranque
I am working on a site in a shared hosting environment, and would like to turn on directory indexing for a particular directory (and subdirectories).
I have created an .htaccess file within the directory, containing just this line:
[blue]Options +Indexes[/blue] ..but this results in a 500 Internal Server Error when attempting to browse to the dir (OK elsewhere).
What am I doing wrong?
BTW, there is an .htaccess in the parent dir (root dir). It contains the following (although I doubt it has any bearing):
----------------------------------------------------------
# -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>
----------------------------------------------------------
[edited by: Bernard_Marx at 8:58 pm (utc) on July 9, 2006]
Still, my guess is worse than anybody's!
It doesn't look like I can view error logs - although I can view the general server log files (after a fashion).
It's a very cheap 'n' easy hosting service that's perfect (generally speaking) for the task. I don't mind putting up with minor inconveniences. Perhaps I'll use an ASP script index page where I need to do this.
Thanks.