惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

爱范儿
爱范儿
博客园_首页
W
WeLiveSecurity
S
Secure Thoughts
S
Security @ Cisco Blogs
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Hugging Face - Blog
Hugging Face - Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
H
Hacker News: Front Page
Project Zero
Project Zero
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
U
Unit 42
N
News and Events Feed by Topic
N
News and Events Feed by Topic
Hacker News - Newest:
Hacker News - Newest: "LLM"
Forbes - Security
Forbes - Security
T
Tor Project blog
I
Intezer
B
Blog
F
Full Disclosure
Security Archives - TechRepublic
Security Archives - TechRepublic
F
Fortinet All Blogs
Schneier on Security
Schneier on Security
T
Threat Research - Cisco Blogs
AI
AI
Google DeepMind News
Google DeepMind News
L
LINUX DO - 最新话题
Cloudbric
Cloudbric
L
Lohrmann on Cybersecurity
WordPress大学
WordPress大学
博客园 - 聂微东
雷峰网
雷峰网
P
Privacy International News Feed
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
PCI Perspectives
PCI Perspectives
Y
Y Combinator Blog
Spread Privacy
Spread Privacy
Simon Willison's Weblog
Simon Willison's Weblog
罗磊的独立博客
Vercel News
Vercel News
A
Arctic Wolf
The Register - Security
The Register - Security
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Microsoft Azure Blog
Microsoft Azure Blog
H
Heimdal Security Blog
Know Your Adversary
Know Your Adversary
P
Proofpoint News Feed
C
Cybersecurity and Infrastructure Security Agency CISA
P
Proofpoint News Feed

博客园 - Brendan

[转载]Manually configuring Microsoft Internet Information Services (IIS) AXIS部署错误解决方案集锦 使用System.Web.Mail发送Mail的错误解决方案 类的XML序列化(XML Serialization) [翻译]你可以赚钱,但你不能赚时间 Windows 2003 Server配置IIS服务器(ASP, ASP.NET)全功略 Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive 用MS SQL Server事件探查器来跟踪数据库的操作 反反编译工具——Deploy.NET C中获取当前时间的函数 Buffered I/O 与 Non-Buffered I/O性能差异的实例体验 替换函数(Substitution Function) 主定理(Master Theorem) Dynamic Programming之Longest Increasing Subsequence (LIS)问题 ADO.NET数据库连接模块 ASP.NET控件事件丢失的探究 SQLDMO For C#(翻译) 关联(Association)设计中的扇形陷阱(Fan Traps)和断层陷阱(Chasm Traps) 简单并发控制
IIS与TOMCAT协同工作---在IIS下运行JSP页面
Brendan · 2006-12-07 · via 博客园 - Brendan

         最近碰到一个问题:我们实验室的一台IBM EServer服务器被运到学校的信息办进行托管,这台服务器上面跑着一些ASP.NET网站、ASP网站以及一个JSP的网站。服务器的操作系统是Window Server 2003,并在其上安装了IIS6.0、Tomcat5.5等服务器软件。众所周知,IIS服务器占用80端口,而Tomcat服务器一般用8080端口。本来两者互不侵犯,但是因为学校的信息办的防火墙只允许开80端口,其他端口一律broke。这显然是那些非IIS服务器的服务不能运行。

         为了解决上述问题,我查了一些资料。了解到,在IIS的站点属性中有一个对ISAPI 过滤器的配置。而Apache的Jakarta项目下面有一个Jakarta Isapi Redirector工具,就是一个ISAPI过滤器,这个过滤器可以把含有.JSP的URL地址发送给TOMCAT进行处理,并将处理结果,即动态生成的HTML页通过IIS发送回请求者那边。也就是说通过一个80端口,同时也能运行JSP页面。

         我下载了一个isapi_redirect-1.2.14.exe,按照wizard简单安装了一下。为了确保服务器的运行正常,我先在一台XP PC上试运行了一下,配置步骤如下:
         
         1 打开IIS管理端,右键点击默认站点的属性页面,选择ISAPI过滤器选项卡,查看名为Jakarta的Jakarta Isapi Redirector是否存在,并确保其状态为启用!
         2 打开Jakarta Isapi Redirector安装目录下conf文件夹中的uriworkermap.properties,在其中添加一个你需要通过IIS运行的JSP站点的名称(该站点需要在TOMCAT下的webapps目录下,并运行良好),比如:该站点名称为test,则需要加入/test/*=wlb。
         3 重启IIS
         4 运行http://localhost/test/...便可看到结果

         上述四步为XP下的配置过程,如果是在Server 2003下的话,还需要在第二步之前,做如下配置:

         1.5 打开IIS管理端,点击WEB扩展服务,新建一个扩展服务,其名称建议为Jakarta,浏览Jakarta Isapi Redirector安装目录下的bin,选择isapi_redirect.dll。并允许这个服务的运行。

         做完上述的配置,你就可以解决我所遇到的需要在IIS下与TOMCAT协同的问题。我所参考的主要资料是http://www.cflex.net/showFileDetails.cfm?ObjectID=296&Object=File&ChannelID=1。如果需要知道详细的情况,也可访问该地址查询。