asp+| concept
Hierarchy configuration system As we have discussed, multiple profiles can exist in different directories on the server. When a request for a detailed URL arrives, asp+ calculates the URL's setting in the hierarchy style and uses the configuration file that is positioned in the path for the requested URL.
For example, the structure of a site is as follows:
Application Root
|-----SUBDIR1
|-----SUBDIR2
The idea is to configure the application's settings so that all users can access the application root (application root) so that the selected users can access two subdirectories.
Now assume that there is a config.web file in the directory SubDir1, application root and SubDir2 do not exist config.web files. In this example, two config.web files are actually used. The Config.web file at the highest level is located in the%windir%\complus\version directory, which is installed with the NGWS SDK and contains the default settings. This file is considered at the machine level, and all asp+ directories and subdirectories inherit their settings. The default Security section for this file is set to allow access for all users. In the case where the application root directory does not exist, all users will be allowed access to this directory without editing this setting, because this directory inherits the machine-level configuration file settings. If the Config.web file in the SubDir1 directory contains a security configuration section that is set to allow only certain users to access the directory, the SUBDIR2 directory inherits its settings, but the application root directory is unaffected. Therefore, all users can access the application root directory, but only some users can access two subdirectories.
Standard configuration settings The asp+ environment brings with it a standard config.web file, which contains a rich set of configuration settings. This file is located in
%windir%\complus\version directory. In the machine level (machine-Class) configuration file, we can find the standard configuration section below the asp+ standard configuration section processor.
sunadm@2k1020
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.