IIS-> Isapi_Redirect ->; 雄猫

发布于 2024-07-15 09:19:39 字数 254 浏览 6 评论 0原文

几天来我一直在尝试通过 Jakarta Connector 通过 IIS 启动并运行 Tomcat。

我已遵循 Microsoft 的所有说明 - 将连接器 .dll 放入 %tomcatdir%\bin\win32\i386\ 中,添加注册表项,向默认网站添加过滤器(指向 .dll)...然而,每当我尝试访问 Tomcat Web 应用程序时,都会收到“您无权查看此页面”错误。

有人经历过这个吗? 帮助!

谢谢, -担

I've been trying for days to get Tomcat up and running through IIS via the Jakarta Connector.

I've followed all of Microsoft's instructions -- put the connector .dll in %tomcatdir%\bin\win32\i386\, added the registry entry, added a filter (pointing to the .dll) to the default web site... and yet, any time I try to access a Tomcat web app, I get the "You are not authorized to view this page" error.

Has anyone experienced this? Help!

Thanks,
-Dan

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

套路撩心 2024-07-22 09:19:39

http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2.14/isapi_redirect-1.2.14.exe

我在 Tomcat 5.5 和 IIS 中使用此重定向5 或 6。我还没有在 IIS 7 上尝试过。

您必须修改 uriworkermap.properties 文件来选择要重定向的路径,但除此之外,它几乎可以直接工作。 它为您添加所有注册表垃圾。

啊,除了在 IIS 6 上,您必须将 isapi redirect.dll 添加到其应用程序白名单中。

http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2.14/isapi_redirect-1.2.14.exe

I use this redirect with Tomcat 5.5 and IIS 5 or 6. I haven't tried it with IIS 7.

You have to modify the uriworkermap.properties file to choose which paths to redirect, but besides that it works pretty much straight up. It adds all the registry garbage for you.

Ah, except on IIS 6 you have to add the isapi redirect.dll into its application whitelist.

热风软妹 2024-07-22 09:19:39

试试这个朋友,它可以帮助你。

http://itgration.blogspot.com/2016 /04/configuring-tomcat-connector-for-iis-8.html

它告诉您如何配置通过 IIS 对 tomcat 网站的访问以及将 tomcat 服务器设置为 Windows 服务的必要条件,然后将网站转发到通过端口 80 的 IIS。您将通过在 IIS 中安装自定义 ISAPI 过滤器来实现此目的,该过滤器了解如何使用 AJP 协议(​​Apache JServ 协议)与 tomcat 进行通信。 主要思想是使用可从 apache 网站下载的 Tomcat Connector ISAPI。
我将它与 IIS 8 和 7 一起使用

Try this mate, it can help you.

http://itgration.blogspot.com/2016/04/configuring-tomcat-connector-for-iis-8.html

It tells you how to configure access to tomcat website via IIS and the necessary to set up tomcat server as a windows service and then forward the website to IIS via port 80. You will do this by installing a custom ISAPI filter in IIS that understands how to use the AJP protocol (Apache JServ Protocol) to communicate with tomcat. The main idea is to use Tomcat Connector ISAPI available to download from apache web site.
I used it with IIS 8 and 7

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文