ScriptMaps

The ScriptMaps 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 an integer represnting a bitmask with one of the following values:

Constant

Value

Description

MD_SCRIPTMAPFLAG_SCRIPT

1

The script is 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

4

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.

MD_SCRIPTMAPFLAG_SCRIPT | MD_SCRIPTMAPFLAG_CHECK_PATH_INFO

5

Both of the above conditions are TRUE.

  • <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:\Windows40\System32\Inetsrv\Test.dll,5,GET, HEAD, POST" 

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.

IIS 4.0: The syntax of <IncludedVerbs> lists excluded verbs rather than included verbs.

IIS 5.0 and later: If no verbs are listed, a value of "all verbs" is assumed, however to keep your server secure, you should list the verbs you want your ISAPI filter or extension to handle.

Schema Attributes

Attribute Name

Value

ADSI/WMI Data Type

MULTISZ

ABO Data Type

MULTISZ_METADATA

Schema Default

Not specified.

Internal Default

.htw,C:\Windows\system32\webhits.dll,3,GET,HEAD,POST .ida,C:\Windows\system32\idq.dll,7,GET,HEAD,POST .idq,C:\Windows\system32\idq.dll,7,GET,HEAD,POST .asp,C:\Windows\system32\inetsrv\asp.dll,5,GET,HEAD,POST,TRACE .cer,C:\Windows\system32\inetsrv\asp.dll,5,GET,HEAD,POST,TRACE .cdx,C:\Windows\system32\inetsrv\asp.dll,5,GET,HEAD,POST,TRACE .asa,C:\Windows\system32\inetsrv\asp.dll,5,GET,HEAD,POST,TRACE .idc,C:\Windows\system32\inetsrv\httpodbc.dll,5,GET,POST .shtm,C:\Windows\system32\inetsrv\ssinc.dll,5,GET,POST .shtml,C:\Windows\system32\inetsrv\ssinc.dll,5,GET,POST .stm,C:\Windows\system32\inetsrv\ssinc.dll,5,GET,POST .asax,C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG .ascx,C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG .ashx,C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,1,GET,HEAD,POST,DEBUG .asmx,C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,1,GET,HEAD,POST,DEBUG .aspx,C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,1,GET,HEAD,POST,DEBUG .axd,C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,1,GET,HEAD,POST,DEBUG .vsdisco,C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,1,GET,HEAD,POST,DEBUG .rem,C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,1,GET,HEAD,POST,DEBUG .soap,C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,1,GET,HEAD,POST,DEBUG .config,C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG .cs,C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG .csproj,C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG .vb,C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG .vbproj,C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG .webinfo,C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG .licx,C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG .resx,C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG .resources,C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG

Upper Bound

Not specified

Lower Bound

Not specified

Internal ID

6014

Friendly ID

MD_SCRIPT_MAPS

Property Attributes

INHERIT

User Type

IIS_MD_UT_FILE

Configurable Locations

You can configure this property at the following locations in the IIS metabase.

Metabase Path

IIS Admin Object Type

/LM/W3SVC

IIsWebService

/LM/W3SVC/n

IIsWebServer

/LM/W3SVC/n/ROOT/file_name

/LM/W3SVC/n/ROOT/virtual_directory_name/file_name

IIsWebFile

/LM/W3SVC/n/ROOT/physical_directory_name

/LM/W3SVC/n/virtual_directory_name/physical_directory_name

IIsWebDirectory

/LM/W3SVC/n/ROOT

/LM/W3SVC/n/ROOT/virtual_directory_name

IIsWebVirtualDir

Flags

There are no flags for this property.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

See Also