다음을 통해 공유


AllowPathInfoForScriptMappings

The AllowPathInfoForScriptMappings property indicates whether the PATH_INFO IIS Server Variables will contain full path information ("/vdir/myisapi.dll/zip") or partial path information ("/zip").

This property is false (full path) by default on the IIS server because ISAPI applications use the PATH_TRANSLATED IIS Server Variables to locate the file being requested. PATH_TRANSLATED is derived from PATH_INFO.

This property can be set to true if your site or server contains only CGI content. ISAPI applications such as ASP will not work when this property is set to true because AllowPathInfoForScriptMappings affects all handlers for the node at which it is configured, not just CGI.

This property does not affect the SCRIPT_TRANSLATED server variable on IIS 6.0.

Note

IIS 6.0 is the last version of IIS that will support this property because new properties will take its place.

Schema Attributes

Attribute Name

Value

ADSI/WMI Data Type

BOOL

ABO Data Type

DWORD_METADATA

Schema Default

FALSE

Internal Default

Not specified.

Upper Bound

0

Lower Bound

Not specified

Internal ID

2095

Friendly ID

MD_ALLOW_PATH_INFO_FOR_SCRIPT_MAPPINGS

Property Attributes

INHERIT

User Type

IIS_MD_UT_SERVER

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

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