httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: gzip bwtween apache and backend server
Date Sat, 02 Dec 2006 18:42:03 GMT
On Sun, 3 Dec 2006 00:35:47 +0800
Weilt <gushaow@gmail.com> wrote:

> So how can I  write a module to achieve this, what's the major
> points? I have written simple input and output filters.

Just use the RequestHeader directive to set Accept-Encoding.

A RewriteCond can check the original Accept-Encoding,
so you know if the proxy has to uncompress it.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

Mime
View raw message