Directory Browsing Check
.
How to Fix
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