Disable directory listing on cPanel globally

October 22, 2015 — Leave a comment

This is something that cPanel has set by default – the ability to see directory listings when visiting a directory with no acceptable ‘index’ page. You really don’t want this enabled as unsavory types can view what else you have in that directory. Follow this simple guide to secure your server a bit more and disable directory listing.

Log into your server and go to:
WHM >> Apache Configuration >> Global Configuration

Type directory into the search box

Uncheck the indexes box

Click on save, then rebuild and restart.

Done!




No Comments

Be the first to start the conversation.

Leave a Reply