PK找的:
http://support.microsoft.com/kb/316431/
...
如果服務器使用着安全套接字層 (SSL) 並且已將下面的兩個 HTTP 標頭或其中的一個添加到了響應消息中,就會發生上述問題:
Pragma: no-cache
Cache-control: no-cache,max-age=0,must-revalidate
...
當 Internet Explorer 通過 SSL 與安全 Web 站點通信時,它會強制執行任何 no-cache 請求。如果存在標頭,Internet Explorer 將不緩存該文件。因此,Office 無法打開該文件。
需要允許此類操作的 Web 站點應當刪除 no-cache 標頭。
【鏈路緩存】HTTPS無法下載/打開文件的解決方法
2008-12-29 18:50:27
HTTPS無法下載/打開文件
現象:
(1) 在IE6/7下,使用HTTPS下載/打開文件時,通過抓包發現文件已傳輸,但IE提示“Internet Explorer無法下載 *** (來自 ***)。Internet Explorer無法打開該Internet站點。請求的站點不可用,或找不到。請以后再試。” ("Unable to download. Internet Explorer was unable to open this site. The requested site is either unavailable or cannot be found. Please try again later."),下載失敗。
(2) 如果下載目標有一個hyperlink,當右鍵選擇“目標另存為...”時,提示“Internet Explorer無法下載 *** (來自 ***)。無法將文件寫入高速緩存”("The file could not be written to the cache"),下載失敗。
原因:
參考Microsoft KB815313 316431 812935 323308
解決方法:
(1) 參考上述MS KB,向client注冊表增加下列DWORD條目BypassSSLNoCacheCheck,值設為1;
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\BypassSSLNoCacheCheck
(2) 如果不方便修改client端,檢查服務器端相關程序(eg. httpd),看是否在HTTP response header中自動添加了“Pragma: no-cache”等內容。(參考 MS KB316431的“更多信息”(More Information)部分)
IE訪問HTTPS鏈接下載文件,IE提示無法下載
url: http://llyzq.iteye.com/blog/1330642
原因:
(1) 在IE6/7下,使用HTTPS下載/打開文件時,通過抓包發現文件已傳輸,但IE提示“Internet Explorer無法下載 *** (來自 ***)。Internet Explorer無法打開該Internet站點。請求的站點不可用,或找不到。請以后再試。” ("Unable to download. Internet Explorer was unable to open this site. The requested site is either unavailable or cannot be found. Please try again later."),下載失敗。
(2) 如果下載目標有一個hyperlink,當右鍵選擇“目標另存為...”時,提示“Internet Explorer無法下載 *** (來自 ***)。無法將文件寫入高速緩存”("The file could not be written to the cache"),下載失敗。
原因:
參考Microsoft KB815313316431812935323308
參考:http://www.51testing.com/?uid-160865-action-viewspace-itemid-209104
解決方案:
//確保IE識別本次為下載文件
response.setHeader("Content-Transfer-Encoding","binary");
response.setHeader("Cache-Control", "must-revalidate, post-check=0, pre-check=0");
response.setHeader("Pragma", "public");
參考http://hi.baidu.com/%CD%F5%B7%EF%C4%FE/blog/item/28290d13d79ba82bdc540115.html
[轉]關於IE下用HTTPS無法下載/打開文件
url: http://www.51testing.com/html/65/160865-209104.html
2010-02-23 09:12:25
現象:
(1) 在IE6/7下,使用HTTPS下載/打開文件時,通過抓包發現文件已傳輸,但IE提示“Internet Explorer無法下載 *** (來自 ***)。Internet Explorer無法打開該Internet站點。請求的站點不可用,或找不到。請以后再試。” ("Unable to download. Internet Explorer was unable to open this site. The requested site is either unavailable or cannot be found. Please try again later."),下載失敗。
(2) 如果下載目標有一個hyperlink,當右鍵選擇“目標另存為...”時,提示“Internet Explorer無法下載 *** (來自 ***)。無法將文件寫入高速緩存”("The file could not be written to the cache"),下載失敗。
原因:
參考Microsoft KB815313316431812935323308
解決方法:
(1) 參考上述MS KB,向client注冊表增加下列DWORD條目BypassSSLNoCacheCheck,值設為1;
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\BypassSSLNoCacheCheck
【此方式經jackpk親測,IE8下有效】
(2) 如果不方便修改client端,檢查服務器端相關程序(eg. httpd),看是否在HTTP response header中自動添加了“Pragma: no-cache”等內容。(參考 MS KB316431的“更多信息”(More Information)部分)
以上2種解決方案皆可行,已經過驗證。
原文出至http://rivercoolcool.spaces.live.com/blog/cns!D6F05428A2B8CB48!1494.entry?wa=wsignin1.0&sa=287780771
其它的同類文檔說明
1.http://support.microsoft.com/default.aspx/kb/316431/
2.http://topic.csdn.net/u/20080723/13/2b3f6922-b48e-41ba-80b7-021aed1b932a.html
3.http://j.etwong.com/blog-40
HTTPS文件下載出現問題及解決辦法