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?

1
  • Can you post your .htaccess ? Commented Dec 25, 2015 at 0:14

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.