Windows-Server-2008
使用 HTTPS 瀏覽到 ASP.NET 應用程序的根目錄時,Win2k8 上的 HTTP 錯誤 503
我在 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 -
標準的 html 頁面也會失敗嗎?我會仔細檢查證書是否正確以及另一個站點中的綁定是否優先。
此外,如果您檢查 IIS 日誌,它將確認正確的站點正在接收請求,並且如果您檢查子狀態程式碼,它將提供有關 503 細節的更多詳細資訊。