All pastes #758655 Raw Edit

Mine

public text v1 · immutable
·published 2007-11-02 13:06 UTC
rendered paste body
<VirtualHost *:80>
     DeflateFilterNote Input input_info
     DeflateFilterNote Output output_info
     DeflateFilterNote Ratio ratio_info
     LogFormat '"%r" %{output_info}n/%{input_info}n (%{ratio_info}n%%)' deflate
     CustomLog /usr/local/apache/logs/deflate_log deflate
<IfModule mod_deflate.c>
     AddOutputFilterByType DEFLATE text/html text/css application/x-javascript
</IfModule>
   DocumentRoot /usr/local/apache/htdocs/dv
   ServerName domain.com
   ServerAlias www.domain.com
   RewriteEngine On
   RewriteCond %{HTTP_HOST} ^domain.com$
   RewriteRule ^(.*)$ http://www.domain.com [R=permanent]
   ResinConfigServer 10.0.0.59 6802
   #ResinConfigServer 10.0.0.20 6802
   CauchoStatus no
   <Directory />
     Options FollowSymLinks
     AllowOverride None
   </Directory>
   ErrorLog /usr/local/apache/logs/error_domain_log
   CustomLog /usr/local/apache/logs/access_www_domain_log common
</VirtualHost>


This was put in http-vhost  this gives me some logs withotu the values  of compression.


But when I remove this and have as separate files for deflate.

DeflateFilterNote Input input_info
     DeflateFilterNote Output output_info
     DeflateFilterNote Ratio ratio_info
     LogFormat '"%r" %{output_info}n/%{input_info}n (%{ratio_info}n%%)' deflate
     CustomLog /usr/local/apache/logs/deflate_log deflate
<IfModule mod_deflate.c>
     AddOutputFilterByType DEFLATE text/html text/css application/x-javascript
</IfModule>

This does not give any log at all.