我在我的CGI脚本中有一个用于replace文本的代码(例如用'blue'代替'red')
$STR_SEARCH='red' $STR_REPLACE='blue'
我在.htaccess使用下面的代码来启用replace函数:(RequestHeader unset Accept-Encoding)
.htaccess
这工作很好。 但是当我想使用gzip进行压缩时,gzip不起作用。 如果我禁用replace,gzip工作正常。 请帮我理解如何同时启用replace和gzip?