Options -Indexes
To double check if it works, merely type into your browser an open directory, take the images folder for example, the url you need to plugin assuming images was a directory under the root, would be...
http://www.yourdomain.com/images
If you can see the contents of that folder, you did it wrong.
Im off to close up a few holes myself while we are talking about it.
2 comments:
Hi Dave -
Good tip!
If you don't want to fiddle with the htaccess file, you can also just drop blank "index.html" files inside all your directories.
If i wanted to block all directories expect one, how would i go about that?
Post a Comment