Simultaneously enable gzip and $STR_REPLACE in CGI in apache

Reply Sat 26 Dec, 2015 12:34 pm
I have a code in my CGI script for text replacement (for example replace 'red' with '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?
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Question • Score: 0 • Views: 654 • Replies: 0
No top replies


Related Topics

\n - Question by negikaithal
PHP question about parse_url - Question by markalanbaker1
What does \n mean in PHP Code? - Discussion by roverroad
PHP Debate - Discussion by Craven de Kere
PHP: Cookie Problem - Discussion by BobbyDouglas
Installing PHP with IIS - CGI Error - Discussion by skinnz
Displaying <?php in javascript. - Discussion by BobbyDouglas
php software - Question by aishna
  1. Forums
  2. » Simultaneously enable gzip and $STR_REPLACE in CGI in apache
Copyright © 2021 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.04 seconds on 08/04/2021 at 04:07:03