Re: Apache Client Filehandle

[prev] [thread] [next] [Date index for 2005/01/27]

From: Geoffrey Young
Subject: Re: Apache Client Filehandle
Date: 14:30 on 27 Jan 2005

Leo wrote:
> Hello all:
> 
> I want to use Compress::Zlib to deflate contents being sent to the client.
> 
> One way is using it's gzopen(<file or filehandle>, <mode>) call.
> 
> Is there a filehandle that represents the output stream to the client?
> 
> How do I get it?
> 
> I am writing my own mod_perl handler for Apache2 (mod_perl2.0 from svs)

if you're using apache 2 then just use mod_deflate - that's what it is for.

  http://httpd.apache.org/docs-2.0/mod/mod_deflate.html

unlike with apache 1.3/mod_perl 1.0, mod_deflate will compress all output on
the way to the client, even dynamically generated scripts or content handlers.

HTH

--Geoff

Apache Client Filehandle
Leo 14:27 on 27 Jan 2005

Re: Apache Client Filehandle
Geoffrey Young 14:30 on 27 Jan 2005

Re: Apache Client Filehandle
Geoffrey Young 17:00 on 27 Jan 2005

Generated at 12:39 on 05 Feb 2005 by mariachi v0.52