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

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 conf button and that’s it…

How to disable directory browsing globally on whole WHM-cPanel server

 

Tags: https://yandex ru/clck/jsredir?from=yandex ru;search;web;;&text=&etext=1837 0p_v4hNJU1p7nlQriftBfb9TcBEoxDtsnIJSu4nx4dzTnnAEgFlQ4Ho9k23lXXfp 85f2d4f4690c392dc93e10b8941c829b1c1db311&uuid=&state=_BLhILn4SxNIvvL0W45KSic66uCIg23qh8iRG98qeIXme