简体   繁体   English

如何在IIS 6中使用多个ISAPI重定向dll(对于每个站点,它自己的isapi dll)

[英]How to use multiple ISAPI redirect dlls in IIS 6 (for each site its own isapi dll)

I have a configured IIS 6 where already a page is defined which is using a ISAPI dll for redirecting the incoming requests to the underlying tomcats. 我有一个已配置的IIS 6,其中已经定义了一个页面,该页面正在使用ISAPI dll将传入的请求重定向到底层的Tomcat。 Now I want to add a new page and use for this page its own isapi dll, but this wont work on my side. 现在,我想添加一个新页面,并为此页面使用它自己的isapi dll,但这在我这边行不通。 The state of the isapi redirect wont change to active isapi重定向的状态不会更改为有效

Here you can see the missing state of the redirect http://pbrd.co/TwXwCQ 在这里,您可以看到重定向http://pbrd.co/TwXwCQ的丢失状态

Isnt that possible to have multiple sites on a iis where each one is using its own redirect dll? 是否可能在iis上有多个站点,而每个站点都使用自己的重定向dll? Or how can i achieve it that the requests to my site will be redirected to my underlying tomcats. 或如何实现将对我的网站的请求重定向到我的基础tomcat的功能。

Thanks 谢谢

What you are showing here is an ISAPI filter. 您在此处显示的是一个ISAPI筛选器。 These can be installed at the Service level making them global (affecting all sites) or they can be applied at the site level makign them local (only affect the single site). 可以将它们安装在服务级别上以使其成为全局(影响所有站点),也可以将它们应用在站点级别上以使其本地化(仅影响单个站点)。

If the filter in question is supported for use at the site level then there should be no problem configuring an instnaeof the filter for each site. 如果有问题的过滤器支持在站点级别使用那么就应该有配置instnaeof过滤器为每个站点没有问题。 If the filter is only supported at a global level then you would need to look into the configuration to see if there is some means of configuring the filter to take specfic action based on which site (or perhaps page) the request is initially directed to. 如果仅在全局级别上支持过滤器,则您需要查看配置,以查看是否存在一些方法可以将过滤器配置为根据请求最初指向的站点(或页面)采取特定的操作。

In this particular case I would suggest reviewing the Tomcat documentation to see how to configure their ISAPI filter properly. 在这种情况下,我建议阅读Tomcat文档,以了解如何正确配置其ISAPI过滤器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM