Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/json/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Iis 站点特定ISAPI过滤器_Iis_Isapi - Fatal编程技术网

Iis 站点特定ISAPI过滤器

Iis 站点特定ISAPI过滤器,iis,isapi,Iis,Isapi,我目前正在使用appcmd配置IIS。我需要在站点级别设置ISAPI过滤器,而不是全局设置——这是通过UI可以实现的。 但是,我无法按照IIS页面中的示例指定站点: 有可能吗?使用以下方法: appcmd.exe set config "{SiteName}" -section:system.webServer/isapiFilters /+"[@{Position},name='{Name}',path='{FilterPath}',enabled='{Enabled}',enableCac

我目前正在使用appcmd配置IIS。我需要在站点级别设置ISAPI过滤器,而不是全局设置——这是通过UI可以实现的。 但是,我无法按照IIS页面中的示例指定站点:

有可能吗?

使用以下方法:

appcmd.exe set config "{SiteName}" -section:system.webServer/isapiFilters /+"[@{Position},name='{Name}',path='{FilterPath}',enabled='{Enabled}',enableCache='{EnableCache}',preCondition='{PreCondition}']" /commit:apphost