Apache Tomcat 6.0 IIS 5.1 isapi 重定向器错误“不支持该请求。”

发布于 2025-01-02 06:55:41 字数 1257 浏览 5 评论 0原文

我已经面对这个问题很多天了,一遍又一遍地刮擦每一段代码,但无法纠正它......

我已经在 Windows XP-service pack 3 和 6.0 上安装了 Apache Tomcat 6.0。启用 IIS 5.1。

Tomcat 运行在端口 8080 上,iis 运行在端口 80 上。

我有一个使用 IIS 的 SMTP 服务的 struts 应用程序...

我保存在 [TOMCAT]/conf/ 中的 WORKER.PROPERTIES 如下

worker.list=wlb,jkstatus,wlb1

worker.ajp13w.type=ajp13
worker.ajp13w.host=localhost
worker.ajp13w.port=8009

worker.ajp13w1.type=ajp13
worker.ajp13w1.host=192.168.1.87
worker.ajp13w1.port=8009

worker.wlb.type=lb
worker.wlb.balance_workers=ajp13w
worker.wlb1.balance_workers=ajp13w1

worker.jkstatus.type=status

URIWORKERMAP.PROPERTIES 如下

/admin/*=wlb
/manager/*=wlb
/examples/*=wlb
/jkmanager=jkstatus

我已经在 regedit 中进行了更改。注册表编辑器的屏幕截图如下。

在此处输入图像描述 我已将 isapi_redirector 放在 /bin 目录中。

添加了一个指向 /bin 的虚拟目录,并命名为 jakarta。

添加了 isapi 过滤器,它显示为以下附件...ISAPI FILTER Snapshot

当我输入 http: //localhost:8080/examples/ 在我的浏览器中我会得到结果。

但是,当我输入 http://localhost/examples/ 时,我收到错误“不支持该请求。”

我不知道如何跟踪。

I am facing this problem since many days, scratched each n every piece of code again n again, but couldn't rectify it...

I ve installed Apache Tomcat 6.0 on windows XP- service pack 3 & Enabled IIS 5.1.

Tomcat is running on port 8080 and iis is running on port 80.

I ve struts application which uses SMTP service of IIS...

WORKER.PROPERTIES which i've kept in [TOMCAT]/conf/ is as follows

worker.list=wlb,jkstatus,wlb1

worker.ajp13w.type=ajp13
worker.ajp13w.host=localhost
worker.ajp13w.port=8009

worker.ajp13w1.type=ajp13
worker.ajp13w1.host=192.168.1.87
worker.ajp13w1.port=8009

worker.wlb.type=lb
worker.wlb.balance_workers=ajp13w
worker.wlb1.balance_workers=ajp13w1

worker.jkstatus.type=status

URIWORKERMAP.PROPERTIES is as follows

/admin/*=wlb
/manager/*=wlb
/examples/*=wlb
/jkmanager=jkstatus

I've done changes in regedit. Screen shot of REGISTRY EDITORS is as follows.

enter image description here
I've placed isapi_redirector in /bin directory.

Added a virtual directory pointing to /bin and named as jakarta.

Added isapi filter and it is showing as per the below attachment...ISAPI FILTER Snapshot

When I enter http://localhost:8080/examples/ in my browser I will get the result.

But when I enter http://localhost/examples/ I am getting an error "The request is not supported."

I am not getting how to trace.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文