This identifier specifies the file name extensions of applications for script processor mappings. Two flags are allowed for each extension association. The first flag, MD_SCRIPTMAPFLAG_SCRIPT, indicates that scripts with that particular extension are allowed to run in directories given Script permissions. If this flag is not set, then the script can only be executed in directories flagged for Execute permissions.
If the flag MD_SCRIPTMAPFLAG_CHECK_PATH_INFO is set, the server attempts to access the PATH_INFO portion of the URL, as a file, before starting the scripting engine. If the file can't be opened, or doesn't exist, an error is returned to the client.
The string format is Extension, ScriptProcessor, Flags.
Data type | MULTI_SZ |
Default inheritance | Inheritable |
User type | IIS_MD_UT_FILE |
Constant | Value | Description |
---|---|---|
MD_SCRIPTMAPFLAG_SCRIPT | 0x00000001 | Allowed to run if permissions set to script |
MD_SCRIPTMAPFLAG_CHECK_PATH_INFO | 0x00000004 | Server checks PATH_INFO |
This identifier is available at the following metabase keys:
Metabase Path | Key Type |
---|---|
/LM/W3SVC | IIsWebService |
/LM/W3SVC/n | IIsWebServer |
/LM/W3SVC/n/ROOT | IIsWebVirtualDir |
/LM/W3SVC/n/ROOT/WebVirtualDir | IIsWebVirtualDir |
/LM/W3SVC/n/ROOT/WebVirtualDir/WebDirectory | IIsWebDirectory |
/LM/W3SVC/n/ROOT/WebVirtualDir/WebDirectory/WebFile | IIsWebFile |