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