IIS 7跳过匹配的URI的ISAPI

我有一个安装了ISAPI筛选器的IIS 7,它将请求redirect到WebSphere Application Server。

问题是需要不要将某些URI(站点上的图像的某些文件夹)redirect到WebSphere。

我尝试IIS重写,但似乎在ISAPI筛选器后运行。

如何为匹配的URI跳过ISAPIfilter? 或者可能是一个虚拟目录可以configuration为跳过网站的ISAPIfilter?

谢谢!

无法像通过编辑WebSphereconfiguration那样简单地通过IIS来实现这一点。

我不使用WebSphere,但文档build议可以使用Route规则包含或排除UriGroup:

UriGroup A group of URIs that will be specified on the HTTP request line. The same application server must be able to handle the URIs. The route will compare the incoming URI with the URIs in the group to determine if the application server will handle the request. Following is an example of a UriGroup element and associated elements and attributes: <UriGroup Name="Uris"> <Uri Name="/servlet/snoop"/> <Uri Name="/webapp/*"/> <Uri Name="*.jsp"/> </UriGroup> 

这些看起来像他们使用的路由规则:

 Route ... Using the information that is defined in the VirtualHostGroup and the UriGroup for the route, the plug-in determines if the incoming request to the Web server should be sent on to the ServerCluster defined in this route. Following is an example of this element: <Route VirtualHostGroup="Hosts" UriGroup="Uris" ServerCluster="servers/> 

所以我会这样 – IIS的其他select涉及到build立其他网站和ARR和路由规则,这只是一团糟。 排除可能更简单!