<div><span class="gmail_quote">On 10/18/07, <b class="gmail_sendername">Eden Li</b> &lt;<a href="mailto:eden@mojiti.com">eden@mojiti.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br><br>Is it possible to turn off gzip compression based on $http_user_agent?&nbsp;&nbsp;I tried:<br><br>&nbsp;&nbsp;if ($http_user_agent ~* msie\s+6\.0) { gzip off; }<br><br>Except nginx says that I can&#39;t put gzip there.&nbsp;&nbsp;Is there another way?
<br><br>Background for those interested: Flash in IE6 can&#39;t handle gzipped<br>content even though it advertises that it can.<br><br>Thanks,<br>eden</blockquote><div><br>&nbsp;</div><div>I also would like to know if this is possible. We ended up disabling gzip for the sub-locations with flash (sub-optimal solution).
</div><div><br class="webkit-block-placeholder"></div><div>&nbsp;&nbsp;~Wayne</div><br>&nbsp;</div>