Enable the parent path of IIS | include file = .. /header. ASP. in IIS, what does the "enable parent path" option mean in Properties> Home directory> Configuration> options?
Back
A: This setting indicates thatCodeWhether the upper-level directory can be accessed by using the./method. If include is used in your ASP page
File = ../header. asp
Such code. The ../indicates the header. ASP page under the upper-level directory. If "enable parent path" in your IIS page is set to false, access the next page
The system reports an error because the current IIS settings do not allow access to the parent path using the... method. You need to set this value to true.
This setting starts from IIS6 and defaults to false. It mainly takes into account website security issues and prevents the website from being attacked by hackers to access some server information in this way.
However, you also need to change the execution permission to a script to access the parent directory.
Execution permission
This permission can determine the level of the site or virtual directory resource that can be executedProgram. For more information, see set web permissions.
No static files, such as HTML files or image files, can be accessed only.
Only scripts such as ASP scripts can be run.
Scripts and executable files can access or execute all file types.
Application Protection
Select the protection mode for running the application: Run (low) in the same process as the Web service, and run (medium) in an independent shared process with other applications) or run (high) in an independent process that is different from other processes ).