我在 Windows 2008 服务器上设置了 Geoserver,使用 Jetty 作为端口 8080 上的 Web 容器。如果浏览到 http://[servername]:8080/geoserver/www/test/test.html,我会得到一个返回为预期的。
然后,我在应用程序池级别使用 ARR 和 URL 重写设置了 IIS 7.5,以设置保留代理。因此 http://[servername]/geoserver.. 被重写为 http://[servername]:8080/geoserver... 我使用 match '.*' 作为 url 和 'geoserver/' 作为条件。
当浏览到“连接重置”IIS http 错误日志 (C:\Windows\System32\LogFiles\HTTPERR) 显示“Connection_Dropped DefaultAppPool”时,这会出现错误
如果我将 url 重写更改为重定向操作,html 页面将按预期显示,但显然 url 显示为重定向到端口 8080。