Windows 2000 Server IIS opens the parent path

Source: Internet
Author: User
Tags header iis include parent directory relative access root directory

"Open Parent Path" is the concept started in Windows 2003, before Windows XP, Windows 2000 brought IIS is not "Windows 2003" this argument. The default setting for Windows 2003 IIS6.0 after installation is not to open the parent path.

The primary role of "turn on Parent path":

"Enable parent path", if the include file= is used in the ASP page. /header.asp such code, this item must be selected "Enable Parent path", ... /indicates that the Header.asp page in the parent directory is represented by a relative path, and if the Enable parent path in your IIS page setup is not turned on, the page will be accessed with an error because the current IIS settings are not allowed. Way to access the parent path, you need to set this value to true. Enables the parent path to specify whether the ASP page allows a path relative to the current directory (using the. \ notation). If set to true, this property can pose a potential security risk because the include path can access important or confidential files outside the root directory of the application. If you do not open the parent path for security reasons, the suggested path points to the absolute path, which is the full address.

If IIS does not turn on "Enable parent path", there are often "HTTP 500-Internal server errors", such as running a normal web site program under Windows 2000 servers, and the "HTTP 500-Internal server error "

How to enable the "Turn on Parent path" feature

In IIS Manager, expand the local computer, right-click the start location directory for the application you want to configure, and then click Properties. Click the Contents tab, and then click Configure. Click the Options tab. In the Application configuration section, select the Enable parent path check box. Click OK.

1. Start IIS, right-click on the "Default Web Site" and choose "Properties" from the menu that pops up.

2, click the "Properties" menu, pop-up as shown in Figure 2 dialog box;

3, in Figure 2, select the Home Directory property page, and then click the "Configuration" button, pop-up as shown in Figure 3 dialog box;



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.