thanks for pointing me in right direction. i've just moved
# place filter 'DEFLATE' on all outgoing content
SetOutputFilter DEFLATE
# exclude uncompressible content via file type
SetEnvIfNoCase Request_URI \.(?:exe|t?gz|jpg|zip|bz2|sit|rar)$ no-gzip
dont-vary
# Keep a log of compression ratio on each request
DeflateFilterNote Input instream
DeflateFilterNote Output outstream
DeflateFilterNote Ratio ratio
LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%)' deflate
CustomLog /var/log/apache2/deflate.log deflate
# Properly handle old browsers that do not support compression
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
from apache2.conf to /etc/apache2/sites-available/default
On 12/06/07, Soren Hansen <email address hidden> wrote:
>
> I've looked over the documentation for Apache and may have found the
> reason why you're having problems. It *is* indeed possible to define
> multiple log files, so it's not because your deflate.log gets overridden
> later, *but* http://httpd.apache.org/docs/2.0/logs.html#virtualhost says
> that "If CustomLog or ErrorLog directives are placed inside a
> <VirtualHost> section, all requests or errors for that virtual host
> will be logged only to the specified file. Any virtual host which does
> not have logging directives will still have its requests sent to the
> main server logs."
>
> Does that perhaps apply to your setup?
>
> --
> Apache2's mod_deflate logging seems broken
> https://bugs.launchpad.net/bugs/44975
> You received this bug notification because you are a direct subscriber
> of the bug.
>
--
kill me again, or take me as i am,
for i shall not change - NEVER !
thanks for pointing me in right direction. i've just moved
# place filter 'DEFLATE' on all outgoing content t?gz|jpg| zip|bz2| sit|rar) $ no-gzip erNote Input instream erNote Output outstream erNote Ratio ratio n/%{instream} n (%{ratio}n%%)' deflate apache2/ deflate. log deflate text/html
SetOutputFilter DEFLATE
# exclude uncompressible content via file type
SetEnvIfNoCase Request_URI \.(?:exe|
dont-vary
# Keep a log of compression ratio on each request
DeflateFilt
DeflateFilt
DeflateFilt
LogFormat '"%r" %{outstream}
CustomLog /var/log/
# Properly handle old browsers that do not support compression
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-
from apache2.conf to /etc/apache2/ sites-available /default
and logging now works:
"GET /tahakyeu/ asp/asp_ cvic_dod_ odb.zip HTTP/1.1" -/- (-%) fotoalbum. php?odkial= HTTP/1.1" 2124/6133 (34%) foto_start. php HTTP/1.1" 694/1251 (55%) _fotke/ krajinky/ page_01. php?kolko= 90&kolko2= 90 HTTP/1.1" _fotke/ krajinky/ picview. php?obr= 072.jpg& kolko=90& kolko2= 90HTTP/ 1.1" _fotke/ krajinky/ 072.jpg HTTP/1.1" -/- (-%) _fotke/ krajinky/ page_01. php?kolko= 90&kolko2= 90 HTTP/1.1"
"GET /tahakyeu/
"GET /tahakyeu/
"GET /tahakyeu/
921/4584 (20%)
"GET /tahakyeu/
501/963 (52%)
"GET /tahakyeu/
"GET /tahakyeu/
921/4584 (20%)
thank you very much!
On 12/06/07, Soren Hansen <email address hidden> wrote: httpd.apache. org/docs/ 2.0/logs. html#virtualhos t says /bugs.launchpad .net/bugs/ 44975
>
> I've looked over the documentation for Apache and may have found the
> reason why you're having problems. It *is* indeed possible to define
> multiple log files, so it's not because your deflate.log gets overridden
> later, *but* http://
> that "If CustomLog or ErrorLog directives are placed inside a
> <VirtualHost> section, all requests or errors for that virtual host
> will be logged only to the specified file. Any virtual host which does
> not have logging directives will still have its requests sent to the
> main server logs."
>
> Does that perhaps apply to your setup?
>
> --
> Apache2's mod_deflate logging seems broken
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
--
kill me again, or take me as i am,
for i shall not change - NEVER !