Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: How to disable directory browsing globally on whole WHM/cPanel server?  (Read 2269 times)

0 Members and 1 Guest are viewing this topic.

Karun

  • Guest
How to disable directory browsing globally on whole WHM/cPanel server?

Another Customer oriented "How to?"  ;)

To disable directory browsing/listing on whole server, follow these simple instructions:

1. Log into WHM
2. Service Configuration –> Apache Configuration
3. Global Configuration
4. Scroll down to Directory ‘/’ Options
5. Un-tick Indexes option (see picture)
6. Then press Save button below
7. Finally, rebuild by clicking rebuild apache configuration button and that’s it… 8)