Monday, October 26, 2009

Webserver :: Prevent Directory Listing

Step 1 :
>apache home>conf>httpd.conf
Do the following changes
First of all find your webserver root directiory , those lines are inside...

in my case , <Directory "C:/WWW/public_html"> is my webserer root

#Options Indexes FollowSymLinks //its enable directory listing
#disable directory listing
Options -FollowSymLinks -Indexes // prevent directory listing

thats it , save colse
restart apache !!!

No comments:

Post a Comment