Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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
share|improve this question

migrated from Jul 11 '10 at 10:03

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

1 Answer 1

You have to turn on directory listings. Add this:

Options +Indexes
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.