January 18, 2009 by Ivan Kristianto
[HowTo]Turn Off Directory Listing in Apache Web Server

Today i found that my web server doesn’t make Directory Listing by default. And this can be a vulnerable for wordpress since wp-content directory can be exploit. So test your blog, if your web server doesn’t turn off the directory listing by default please follow this steps (only works for Apache web server):
1. Create or Edit existing .htaccess
2. Add this code there: Options -Indexes
3. Save and close .htaccess file
4. Test It!
That step will turn off the Directory Listing. Thank you for reading, and have a nice day… ![]()
Free Photo Editor Tools
[TIPS] Useful Mozilla Firefox Addons
Try Google Doc Without Having A Google Account
Zen Cart v1.3.9c Released
GMail Need SMS Verification For Opening New Account
iReboot, Most Efficient Way To Boot Another OS
Enable Maintenance Mode With .htaccess
[HowTo] Install Memcached On Centos 5
Install Or Update PEAR On Xampp For Windows
Free Icon and Graphic Packs For Your Web Design



Thank you for sharing this knowledge.
- spam
- offensive
- disagree
- off topic
LikeOnly just came across this whilst searching how to stop directory listing, so simple! Thanks so much =)
- spam
- offensive
- disagree
- off topic
LikeWhat a simple solution. I was adding dummy index.html files to folders to prevent directory listing. This is MUCH easier. Thanks for the information! :)
- spam
- offensive
- disagree
- off topic
LikeHow do i test my wordpress directory listing?
- spam
- offensive
- disagree
- off topic
LikeThanks!
- spam
- offensive
- disagree
- off topic
LikeVery useful, thank you! Worked perfectly.
- spam
- offensive
- disagree
- off topic
LikeYou're welcome Nicole :)
- spam
- offensive
- disagree
- off topic
LikeVery useful, thank you! Worked perfectly.
- spam
- offensive
- disagree
- off topic
LikeYou're welcome Nicole :)
- spam
- offensive
- disagree
- off topic
Like