When I try to list the contents of a directory, the server responds with “403 Error > Forbidden”. How can I override this?
For security purposes, directory listing is turned off by default. If you wish to enable directory listing for your site or a sub-directory of your site, you’ll need to create an .htaccess file that contains the following line: Options Indexes Next upload this .htaccess file to the directories that you wish to make publicity browsable. If you want this to be applied to your entire site, then you’ll need to upload it to the top level of your httpdocs (or httpsdocs) directory. If you are already using .htaccess files, make sure that you include the existing information from your current .htaccess files before you upload your new version.
Related Questions
- If I start my Tomcat server and try to display Tomcats default page, why do I see a directory listing or 404 error page?
- When I try to list the contents of a directory, the server responds with "403 Error > Forbidden". How can I override this?
- Why are visitors receiving a "403 Forbidden" error page when they try to view the contents of a directory?