我已将isapi_redirect安装到IIS中并允许运行。 我已经启用了在码头的AJP13,我可以telnet到8009端口 这是我目前uiworkermap.properties:使用isapi_redirect(tomcat连接器)将请求从IIS路由到Jetty
/hudson=jetty
/hudson/*=jetty
如果我主动要求的“http://本地主机/哈德森”或任何子目录我收到一个404错误。 所有其他网址都返回在IIS中定义的网站。 这告诉我,isapi_redirect正在查看uiworkermap文件并尝试正确重定向。
在Jetty日志和isapi_redirect日志中,我看不到任何错误。 如果我去http://localhost:8008/hudson我看到它正确。 你有什么想法可能导致这种情况?
更新:我创建了一个虚拟目录像它在这里说,指着isapi_redirect DLL名称“雅加达”:http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html 经过这一步的错误改变,现在在浏览器中我看到:
Bad Gateway!
There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.
Jakarta/ISAPI/isapi_redirector/1.2.32()
在错误日志(在调试模式下)我可以看到,它第一次连接,并且请求已经作出,但没有来自码头响应,并且产生这样的错误:
[错误] ajp_get_reply :: jk_ajp_common。 c(2118):(码头)Tomcat倒闭或拒绝了conn挠度。没有响应发送到客户端(还)
这是日志与请求和错误的部分: https://rapidshare.com/files/3999719393/isapi_redirect_log.txt
这只是一个安装问题,它不应该太难。任何建议,将不胜感激。你不必有完整的答案,我会按照你可能会建议的步骤和麻烦,我会奖励给帮助我最多的用户的赏金。 – Durden81