A
A
AlexWinner2011-03-28 10:41:58
Apache HTTP Server
AlexWinner, 2011-03-28 10:41:58

Apache2 - disable gzip for redirects

Hello!
Tell me, please, is it possible to disable 30X redirects in Apache2, while leaving it for the rest of the answers?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
H
homm, 2011-03-28
@AlexWinner

I wanted to throw a link to a similar question, but I see this is your question and it was :)
Since the answer has not been found for so long, maybe it’s worth asking the question differently?
Install nginx as a frontend. Disable any compression in Apache, enable it in nginx, set the threshold for the minimum compressible response body. All.

H
hayk, 2011-03-30
@hayk

Most likely normal means in any way also it is necessary to izgalyatsya. You can try one of two options:
1. When redirecting, send a specific content-type for which gzip compression is disabled.
2. In your application, do redirects through a specific URL for which gzip compression is disabled, for example: SetEnvIfNoCase Request_URI "\.redirectpage$" no-gzip dont-vary

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question