seo site checkup logo
PricingFree ToolsArticles
Log in

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.php 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.
Check your URL:

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 2009-2022 • All rights reserved