码迷,mamicode.com
首页 > Web开发 > 详细

Apache 2.4 issue "Apache is not sending 304 response (if mod_deflate and AddOutputFilterByType is enabled)"

时间:2014-11-19 17:44:15      阅读:207      评论:0      收藏:0      [点我收藏+]

标签:blog   http   io   ar   sp   on   log   bs   ad   

refer to http://stackoverflow.com/questions/896974/apache-is-not-sending-304-response-if-mod-deflate-and-addoutputfilterbytype-is

http://scarff.id.au/blog/2009/apache-304-and-mod_deflate-revisited/

 

Fix solution:

#add following to .htaccess or httpd.conf
<IfModule mod_headers.c>
RequestHeader edit "If-None-Match" "^\"(.*)-gzip\"$" "\"$1\""
</IfModule>

Apache 2.4 issue "Apache is not sending 304 response (if mod_deflate and AddOutputFilterByType is enabled)"

标签:blog   http   io   ar   sp   on   log   bs   ad   

原文地址:http://www.cnblogs.com/jmbkeyes/p/4108390.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!