0
我在同一個虛擬服務器上設置了一個實時網站和分段版本。實時站點使用Varnish並且不進行身份驗證,分段站點繞過Varnish但使用摘要身份驗證。在我的VCL文件,我有這樣的:導致uri不匹配的清漆和摘要身份驗證
sub vcl_recv {
if (req.http.Authorization || req.http.Authenticate) {
return(pass);
}
if (req.http.host != "live.site.com") {
return(pass);
}
我的臨時網站,從而與任何查詢字符串資源沒有被服務看到一個問題 - 在Firebug我看到「400錯誤的請求」,並在Apache日誌這個:
[Fri Sep 19 11:13:03 2014] [error] [client 127.0.0.1] Digest: uri mismatch -
</wp-content/plugins/jetpack/modules/wpgroho.js?ver=3.9.2> does not match
request-uri </wp-content/plugins/jetpack/modules/wpgroho.js>, referer:
http://stage.site.com/
我做錯了什麼,有誰知道如何解決這個問題?
感謝,
託比