I have a private directory with some files, I'm able to do an HTTP authentication but when I try to show the files in the directory I get a Forbidden Error. How i can edit my .htaccess file in a way to show the directory content?

This is my .htaccess now:

AuthUserFile /private/.htpasswd
AuthName "Private"
AuthType Basic 
require user member
link|improve this question
1  
belongs to serverfault or webmasters.stackexchange.com imho – akira Jul 9 '10 at 12:31
feedback

migrated from superuser.com Jul 11 '10 at 10:03

This question came from our site for computer enthusiasts and power users.

2 Answers

You have to turn on directory listings. Add this:

Options +Indexes
link|improve this answer
feedback

I've added that line but i still get the 403 error :(

link|improve this answer
1  
Welcome to SuperUser, a StackOverflow service. You should have clicked "add comment" under the answer containing the line so the user will be informed, that way you will comment to his answer rather than answering your own question. Please wait for someone to migrate your post to ServerFault or StackExchange which will increase the chance on getting an answer a lot. – Tom Wijsman Jul 9 '10 at 16:28
feedback

Your Answer

 
or
required, but never shown