Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

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.