You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Félix Llorente Pastora <kl...@zaragozawireless.org> on 2004/07/08 21:47:18 UTC

[users@httpd] output filter by type and proxy

when i do:
AddOutputFilterByType DEFLATE text/html

ProxyPass / http://foobar.com
ProxyPassReverse / http://foobar.com

text/html contents don't compress and in the apache 2.0 i can read that 
AddOutputFilterByType cannot be use with proxy why is that ?

-- 
Félix Llorente Pastora

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] output filter by type and proxy

Posted by Nick Kew <ni...@webthing.com>.
On Thu, 8 Jul 2004, Joshua Slive wrote:

> > text/html contents don't compress and in the apache 2.0 i can read that
> > AddOutputFilterByType cannot be use with proxy why is that ?
>
> Design flaw.

Yep.  Specifically, AddOutputFilterByType acts before the proxy has
that information from the backend server.

Watch this space!

-- 
Nick Kew

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] output filter by type and proxy

Posted by Joshua Slive <js...@gmail.com>.
On Thu, 8 Jul 2004 21:47:18 +0200, Félix Llorente Pastora
<kl...@zaragozawireless.org> wrote:
> when i do:
> AddOutputFilterByType DEFLATE text/html
> 
> ProxyPass / http://foobar.com
> ProxyPassReverse / http://foobar.com
> 
> text/html contents don't compress and in the apache 2.0 i can read that
> AddOutputFilterByType cannot be use with proxy why is that ?

Design flaw.

But you can probably get the same effect with
SetOutputFilter DEFALTE
SetEnv gzip-only-text/html
or something along those lines.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org