Chat with us!    Order

24x7x365 Customer Support. Call 877-215-HOST

IIS Support

How do I enable parent paths for a website on my server?

The following article explains how to enable parent paths for a website. By default, parent paths are disabled in IIS 6. Parent paths allow you to use ".." in calls to functions such as MapPath. Instead of specifying the full path, you can use ".." to reference a path relative to your current location.

Note: Enabling parent paths may create a security risk as it could allow someone to access files outside the root websites directory.

To enable parent paths for a website, please follow these steps:

  1. Log into your server through Terminal Services or Remote Desktop Connection.
  2. Click Start, select Programs, select click Administrative Tools and click Internet Information Services.
  3. Expand the Server Name, expand Web Sites and find the domain name.
  4. Right-click on the domain name and select Properties.
  5. On the Home Directory Tab under Application Settings click Configuration.
  6. On the Options tab, check Enable parent paths.
  7. Click OK.

Search HostMySite Support

Enter keyword(s) or a phrase to search HostMySite's Support Articles.

Couldn't Find It?

Did you find the information you need?
Help us enhance the support section by making a suggestion!