[This is preliminary documentation and subject to change]
This metabase property specifies the file name extensions of applications used for script processor mappings. The List string is written in the following format:
"Extension, ScriptProcessor, Flags, IncludedVerbs"Where Extension is the file name extension (such as .htm), ScriptProcessor is the full path to the DLL, Flags is the integer value corresponding to the requested behavior described in the Bitmask table below, and IncludedVerbs is a list of the verbs that a particular ISAPI DLL processes.
For example, to specify the file extension for the ISAPI "Test.dll" with a file extension of ".htm", you might provide the following List (string):
".htm,C:\WINNT40\System32\inetsrv\Test.dll,5,GET, HEAD, POST"
Note
IIS allows an "*" in place of the file name
extension, which effectively routes all requests though the
designated ScriptProcessor. This feature is useful when
applying a custom ISAPI extension that will handle requests from
all file types.
In IIS version 4.0 and earlier, the syntax was to list excluded verbs rather than included verbs. In version 5.0 and later, if no verbs are listed, a value of "all verbs" is assumed. It is recommended that you list the verbs you want your ISAPI filter or extension to handle.
Bitmask Table
| Constant | Value | Description |
| MD_SCRIPTMAPFLAG_SCRIPT | 0x00000001 | Script are allowed to run in directories given Script permission. If this value is not set, then the script can only be executed in directories that are flagged for Execute permission. |
| MD_SCRIPTMAPFLAG_CHECK_PATH_INFO | 0x00000004 | 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.. |
| Attribute Name | Attribute Value |
| Data Type | MULTISZ |
| Attributes | INHERIT |
| Default Value | null |
| MetaFlagsEx | CACHE_PROPERTY_MODIFIED |
| User Type | IIS_MD_UT_FILE |
| StartingNumber | |
| EndingNumber | |
| ID | 6014 |
This property is accessible at the following locations:
| Metabase Path | IIS Admin Object Type |
| /LM/W3SVC/2 | IIsWebServer |
| /LM/W3SVC/Info/Templates/Public Web Site | IIsWebServer |
| /LM/W3SVC/Info/Templates/Secure Web Site | IIsWebServer |
| /LM/W3SVC | IIsWebService |
| /LM/W3SVC/1/ROOT | IIsWebVirtualDir |
| /LM/W3SVC/1/ROOT/_vti_bin | IIsWebVirtualDir |
| /LM/W3SVC/1/ROOT/IISAdmin | IIsWebVirtualDir |
| /LM/W3SVC/1/ROOT/IISHelp | IIsWebVirtualDir |
| /LM/W3SVC/1/ROOT/MSADC | IIsWebVirtualDir |
| /LM/W3SVC/1/ROOT/Scripts | IIsWebVirtualDir |
| /LM/W3SVC/2/ROOT | IIsWebVirtualDir |
| /LM/W3SVC/2/ROOT/IISAdmin | IIsWebVirtualDir |
The following table lists additional information required only for code that uses the IIS Admin Base Object.
| Metabase identifier | MD_SCRIPT_MAPS |
| Data type | MULTISZ |
| User type | IIS_MD_UT_FILE |