body212 0 Newbie Poster

Hi,
i have a code in my cgi script for replace text(for example replace red ro blue)
$STR_SEARCH='red'
$STR_REPLACE='blue'
this work fine.but when i want use gzip for compression,gzip will not work but when i disable the replace,gzip will be work fine.
please help me ,that how i can enable the replace and gzip Simultaneous .
thx