You Get an Forbidden Error When Attempting to Browse to a Folder / Enable Web Directory Browsing
Issue
When you browse to a folder such as http://www.MySite.com/portals you receive the following error message:
Forbidden
You do not have permission to access this document.
Causes
This is by design. IIS will show the default document listed in that folder. If no default documents exist, then it will show that error. By default, directory browsing is disabled. Enabling directory browsing presents a risk to your DNN site because anyone who knows the URL of a file can bypass DNN's built in security and download it directly.
Resolution
If you still want to enable directory browsing, please follow these instructions:
Plesk 12.x
- Log into your Plesk Control Panel.
- From the Home tab, go to [Manage Hosting] > Websites & Domains tab > Show More > Virtual Directories >Directory Properties.
- Check the Directory browsing box.
- Click OK.
Plesk 11.x
- Log into your Plesk Control Panel.
- From the Home tab, go to [Manage Hosting] > Websites & Domains tab > Show Advanced Options > Virtual Directories >Directory Properties.
- Check the Directory browsing box.
- Click OK.
Plesk 9.x
- Log into your Plesk Control Panel.
- Go to Domains > [Domain] > Virtual Directories > Directory Properties.
- Check the Directory browsing box.
- Click OK.
Article ID: 187, Created: April 6, 2012 at 10:11 AM, Modified: October 6, 2015 at 12:23 AM