Hide folders with .htaccess

Options - Indexes

This will cause a 403 forbidden error on that particular directory. Thus to provide a custom error page you will need

ErrorDocument 403 errorPage.html

No comments yet.

Leave a Reply