httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 43026] New: - mod_deflate Virtual Host not write log
Date Fri, 03 Aug 2007 16:16:52 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43026>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43026

           Summary: mod_deflate Virtual Host not write log
           Product: Apache httpd-2
           Version: 2.2.3
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_deflate
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: chodorenko@mail.ru


If Apache Configured As  NameVirtualHosts and in Vitrual Host section  define 
Value of Custom Log, Then mod deflate setting custom log not work in this 
virtual host. for different Virtual Host (not define log options) all its fine, 
log write in  /var/log/httpd/deflate_log

httpd.conf
...SKIP....
LoadModule deflate_module        /usr/lib/httpd/mod_deflate.so
NameVirtualHost *:80
Include /etc/httpd/conf.d/mod_deflate.conf
Include /etc/httpd/conf/vhosts/

---------------------------------
/etc/httpd/conf.d/mod_deflate.conf


AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css 
application/x-javascript
AddOutputFilterByType DEFLATE text/*
AddOutputFilterByType DEFLATE application/ms* application/vnd* 
application/postscript application/x-httpd-php*
<Location />
SetOutputFilter DEFLATE
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
SetEnvIfNoCase Request_URI \
SetEnvIfNoCase Request_URI \
\.(?:exe|t?gz|zip|bz2|sit|rar)$ \    no-gzip dont-vary
SetEnvIfNoCase Request_URI \.pdf$ no-gzip dont-vary
Header append Vary User-Agent env=!dont-vary
SetEnvIf User-Agent .* force-no-vary
SetEnvIf Accept-Encoding gzip !force-no-vary
SetEnvIf Accept-Encoding deflate !force-no-vary

</Location>

DeflateCompressionLevel 9
DeflateFilterNote Input instream
DeflateFilterNote Output outstream
DeflateFilterNote Ratio ratio
LogFormat '%v "%r" %{outstream}n/%{instream}n (%{ratio}n%%) "%{User-agent}i"' 
deflate
CustomLog /var/log/httpd/deflate_log deflate


---------------------------------
/etc/httpd/conf/vhosts/fake_host.conf

<VirtualHost *:80>
        ServerAdmin web@____.com
        DocumentRoot /home/web/htdocs
        ServerName web.com
        ServerAlias www.web.com
        ErrorLog /home/web/logs/error.log
        CustomLog /home/web/logs/access.log combined
        <Directory /home/web/htdocs>
                Options FollowSymLinks Multiviews -Indexes
                AllowOverride All
        </Directory>
</VirtualHost>

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message