Directory Browsing


#1

How do I disable directory browsing so if someone tries to browse a directory from the web it says denied?
Thanks.


#2

Put the following line into an .htaccess file in the root directory of your site:

Options -Indexes More info


If you want useful replies, ask smart questions.