首页 > Web开发 > 详细

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

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

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)"

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!