Web Development Blog

How to disable display of files in directory if index.php is missing?

 All you need to do is to add 1 line into .htaccess file. See below for the solution.

The line is:

Options -Indexes

Associated tags:  Htaccess, Indexes

Add Comment:

CAPTCHA