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:
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…