...

View Full Version : index.php to prevent unwanted access?



XmisterIS
01-05-2011, 12:43 PM
If I put a blank index.php or index.html file in all my serverside directories, will that prevent bots from seeing what else is there? I.e., does the presence of index.php or index.html prevent someone from getting a directory listing? If they can't get a directory listing, then surely they can't see what I don't want to them to see?

abduraooft
01-05-2011, 01:20 PM
Add
Options -Indexes into your .htaccess file to prevent directory listing.

XmisterIS
01-07-2011, 12:02 PM
thanks, I'll try that out!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum