Pls I would like to know how to disable directory listing for my Cent O.S server default i.p like 184.108.40.206
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
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
No, welcome.conf isn't that. Read about
IndexIgnore http://httpd.apache.org/docs/2.0/mod/mod_autoindex.html#indexignore and
Options -Indexes http://httpd.apache.org/docs/2.0/mod/core.html#options directives.
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, this is a simple google search away: