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

Apache | CentOS

I'm using Apache with the Index directory option. When users visit the web address, they see a path mentioned in text on that same page. For example, they'll see the phrase: "Index of /misc". Is there a way to remove this text summary of the directory the user is looking at?

share|improve this question
up vote 1 down vote accepted

You can specify your customized header file in httpd.conf

Add this line to your httpd.conf

HeaderName header.html # path must be relative

Then create and place header.html into directory containing httpd.conf (/etc/httpd/conf for example).

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.