Monday, October 11, 2010

Disable Indexing in Apache

The simple and easiest way to disable indexing in apache is adding following code to the httpd.conf/apache.conf(which is available in your server)

Add following code below of the httpd.conf/apache.conf file


<Location />
Options -Indexes
</Location>

Cheers.

No comments:

Post a Comment