is it possible get the deflate information in reuest object

--00504502bab2609cac0475b9aa5c
Content-Type: text/plain; charset=ISO-8859-1

I have following configiration in my apache

Header append Vary User-Agent env=!dont-vary
DeflateBufferSize 8096
DeflateCompressionLevel 4
DeflateMemLevel 9
DeflateWindowSize 15
DeflateFilterNote Input instream
DeflateFilterNote Output outstream
DeflateFilterNote Ratio ratio
LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%) "%{User-agent}i"'
deflate
CustomLog /var/log/httpd/deflate_log deflate

Can I get the Input/Output and Ratio information in Apache2 Request object
or PerlLogHandler ?

--Shibi Ns--

--00504502bab2609cac0475b9aa5c
Content-Type: text/html; charset=ISO-8859-1

<br>I have following configiration in my apache <br><br>Header append Vary User-Agent env=!dont-vary<br>DeflateBufferSize 8096<br>DeflateCompressionLevel 4<br>DeflateMemLevel 9<br>DeflateWindowSize 15<br>DeflateFilterNote Input instream<br>
DeflateFilterNote Output outstream<br>DeflateFilterNote Ratio ratio<br>LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%) "%{User-agent}i"' deflate<br>CustomLog /var/log/httpd/deflate_log deflate<br>
<br>Can I get the Input/Output and Ratio information in Apache2 Request object or PerlLogHandler ?<br><br>--Shibi Ns--<br>

--00504502bab2609cac0475b9aa5c--
Shibi NS [ Mo, 12 Oktober 2009 11:36 ] [ ID #2018809 ]

Re: is it possible get the deflate information in reuest object

On Mon 12 Oct 2009, Shibi NS wrote:
> LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%)
> "%{User-agent}i"' deflate
> CustomLog /var/log/httpd/deflate_log deflate
>
> Can I get the Input/Output and Ratio information in Apache2 Request
> object or PerlLogHandler ?

in a PerlLogHandler you should be able to read them as
$r->notes->{ratio} etc.

Torsten

--
Need professional mod_perl support?
Just hire me: torsten.foertsch [at] gmx.net
torsten.foertsch [ Mo, 12 Oktober 2009 13:11 ] [ ID #2018810 ]
Webserver » gmane.comp.apache.mod-perl » is it possible get the deflate information in reuest object

Vorheriges Thema: adding session id to entries in access log
Nächstes Thema: double mod_perl initialization