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

Pls I would like to know how to disable directory listing for my Cent O.S server default i.p like

Would like to know which of the conf file that I would edit

Is it this file /etc/httpd/conf.d/welcome.conf that I would edit

share|improve this question

No, welcome.conf isn't that. Read about IndexIgnore and Options -Indexes directives.

share|improve this answer

The 'welcome.conf' file in RHEL derivates is meant as a starting point. You should probably create your own config, more fit for your setup.

Regarding disabling directory index[2], this is a simple google search away:


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.