我在 win2k8 服务器机器上使用 IIS7(该问题在 win2k8 和 win2k8 R2 上都存在)。
我有一个启用了目录浏览功能的 ASP.NET 应用程序。当我使用 http 浏览时,我可以正常查看目录内容。但是,当我使用 https 浏览时,我收到 HTTP 错误 503。服务不可用。
我在 win2k3 服务器上没有遇到这样的问题,所以这是 win2k8 服务器特有的问题,但是是什么呢?
编辑1
以下是httperr1.log的内容:
#Software: Microsoft HTTP API 2.0
#Version: 1.0
#Date: 2011-04-12 08:04:38
#Fields: date time c-ip c-port s-ip s-port cs-version cs-method cs-uri sc-status s-siteid s-reason s-queuename
2011-04-12 08:04:38 172.30.2.68 55798 172.30.2.67 443 HTTP/1.1 GET /favicon.ico 404 - NotFound -
2011-04-12 08:04:38 172.30.2.68 55799 172.30.2.67 443 HTTP/1.1 GET /favicon.ico 404 - NotFound -
2011-04-12 08:04:41 172.30.2.68 55800 172.30.2.67 443 HTTP/1.1 GET /favicon.ico 404 - NotFound -
2011-04-12 08:49:46 172.30.2.68 57224 172.30.2.67 443 - - - - - Timer_ConnectionIdle -
2011-04-12 09:43:05 172.30.2.68 58571 172.30.2.67 443 HTTP/1.1 POST /CAServer/Service.svc - - Connection_Abandoned_By_ReqQueue -
2011-04-13 08:08:54 ::1%0 49591 ::1%0 443 HTTP/1.1 GET /CAServer 503 - N/A -
2011-04-13 08:09:43 ::1%0 49593 ::1%0 443 HTTP/1.1 GET /CAServer 503 - N/A -
2011-04-13 08:09:45 ::1%0 49598 ::1%0 443 HTTP/1.1 GET /CAServer 503 - N/A -
2011-04-13 08:09:45 ::1%0 49599 ::1%0 443 HTTP/1.1 GET /CAServer 503 - N/A -
2011-04-13 08:09:58 fe80::6d0f:30e:a216:df24%11 49605 fe80::6d0f:30e:a216:df24%11 443 HTTP/1.1 GET /CAServer 503 - N/A -
2011-04-13 08:13:14 fe80::6d0f:30e:a216:df24%11 49638 fe80::6d0f:30e:a216:df24%11 443 HTTP/1.1 GET /CAServer 503 - N/A -
2011-04-13 08:13:16 172.30.2.68 62531 172.30.2.67 443 HTTP/1.1 POST /CAServer/Service.svc 503 - N/A -
2011-04-13 08:14:16 fe80::6d0f:30e:a216:df24%11 49643 fe80::6d0f:30e:a216:df24%11 443 HTTP/1.1 GET /CAServer 503 - N/A -
2011-04-13 08:14:17 fe80::6d0f:30e:a216:df24%11 49644 fe80::6d0f:30e:a216:df24%11 443 HTTP/1.1 GET /CAServer 503 - N/A -
2011-04-13 08:14:17 fe80::6d0f:30e:a216:df24%11 49645 fe80::6d0f:30e:a216:df24%11 443 HTTP/1.1 GET /CAServer 503 - N/A -
2011-04-13 08:14:48 172.30.2.68 62645 172.30.2.67 443 HTTP/1.1 POST /CAServer/Service.svc 503 - N/A -
2011-04-13 08:15:39 fe80::6d0f:30e:a216:df24%11 49648 fe80::6d0f:30e:a216:df24%11 443 HTTP/1.1 GET /CAServer/Service.svc 503 - N/A -
2011-04-13 08:17:38 fe80::6d0f:30e:a216:df24%11 49650 fe80::6d0f:30e:a216:df24%11 443 HTTP/1.1 GET /CAServer 503 - N/A -
2011-04-13 08:33:14 fe80::6d0f:30e:a216:df24%11 49670 fe80::6d0f:30e:a216:df24%11 443 HTTP/1.1 GET /CAServer 503 - N/A -
2011-04-13 08:33:15 fe80::6d0f:30e:a216:df24%11 49671 fe80::6d0f:30e:a216:df24%11 443 HTTP/1.1 GET /CAServer 503 - N/A -
2011-04-13 08:33:15 fe80::6d0f:30e:a216:df24%11 49672 fe80::6d0f:30e:a216:df24%11 443 HTTP/1.1 GET /CAServer 503 - N/A -
2011-04-13 08:33:17 fe80::6d0f:30e:a216:df24%11 49673 fe80::6d0f:30e:a216:df24%11 443 HTTP/1.1 GET /CAServer 503 - N/A -
2011-04-13 08:33:17 fe80::6d0f:30e:a216:df24%11 49674 fe80::6d0f:30e:a216:df24%11 443 HTTP/1.1 GET /CAServer 503 - N/A -
2011-04-13 08:33:19 fe80::6d0f:30e:a216:df24%11 49675 fe80::6d0f:30e:a216:df24%11 443 HTTP/1.1 GET /CAServer 503 - N/A -
2011-04-13 08:33:19 fe80::6d0f:30e:a216:df24%11 49676 fe80::6d0f:30e:a216:df24%11 443 HTTP/1.1 GET /CAServer 503 - N/A -
#Software: Microsoft HTTP API 2.0
#Version: 1.0
#Date: 2011-04-13 08:57:33
#Fields: date time c-ip c-port s-ip s-port cs-version cs-method cs-uri sc-status s-siteid s-reason s-queuename
2011-04-13 08:57:33 ::1%0 49271 ::1%0 443 HTTP/1.1 GET /CAServer 503 - N/A -
2011-04-13 14:05:33 ::1%0 49293 ::1%0 443 HTTP/1.1 GET /CAServer 503 - N/A -
答案1
标准 html 页面也会失败吗?我会仔细检查证书是否正确,以及另一个站点中的绑定是否优先。
此外,如果您检查 IIS 日志,它将确认正确的站点正在接收请求,如果您检查子状态代码,它将提供有关 503 具体细节的更多详细信息。