seo site checkup logo
PricingFree ToolsArticles

Directory Browsing Test

What is it?

Check if your server allows directory browsing. If directory browsing is disabled, visitors will not be able to browse your directory by accessing the directory directly (if there is no index.html file). This will protect your files from being exposed to the public. Apache web server allows directory browsing by default. Disabling directory browsing is generally a good idea from a security standpoint.

Pass rate:

  • Top 100 websites: 100%
  • All websites: 99%
Pass rates of Top 100 US websites
2021

100%

2022

100%

2023

100%

100

75

50

25

0

How do I fix it ?

Apache web server allow directory browsing by default. In order to disable directory browsing in apache web server you need to edit the .htaccess or httpd.conf file from your server.

  1. Disable directory browsing using .htaccess file:
    • If "Options Indexes" exists, modify it to "Options -Indexes" (add a "-" sign before "Indexes") or else add "Options -Indexes" as a new line
  2. Disable directory browsing using httpd.conf file:
    • Go to your own Virtual Host settings and look for "Options Indexes"
    • If "Options Indexes" exists, modify it to "Options -Indexes" (add a "-" sign before "Indexes") or else add "Options -Indexes" as a new line
    • Restart your apache web server
Check your website's SEO for free right now!

seo site checkup logo
Website SEO, Monitoring & Automation Made Easy.
Product
  • Pricing
  • Free Tools
  • Articles
  • Login
  • Free 7-Day Trial
© SEO Site Checkup 2020-2024 • All rights reserved