1

I have a code in my CGI script for text replacement (for example replace 'red' with 'blue')

$STR_SEARCH='red'
$STR_REPLACE='blue'

I am using the below code in .htaccess for enable replace function: (RequestHeader unset Accept-Encoding)

This work fine. But when I want to use gzip for compression, gzip does not work. If I disable the replace, gzip works fine. Please help me understand how I can enable the replace and gzip simultaneously?

kasperd
  • 29,894
  • 16
  • 72
  • 122
alex body
  • 11
  • 1

0 Answers0