List Info

Thread: DO NOT REPLY New: - mod_deflate Virtual Host not write log




DO NOT REPLY New: - mod_deflate Virtual Host not write log
country flaguser name
United States
2007-08-03 11:16:52
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=43
026>.
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: bugshttpd.apache.org
        ReportedBy: chodorenkomail.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" %n/%n
(%n%%) "%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=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

------------------------------------------------------------
---------
To unsubscribe, e-mail: bugs-unsubscribehttpd.apache.org
For additional commands, e-mail: bugs-helphttpd.apache.org


DO NOT REPLY - mod_deflate Virtual Host not write log
country flaguser name
United States
2007-08-03 13:55:35
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=43
026>.
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


sliveapache.org changed:

           What    |Removed                     |Added
------------------------------------------------------------
----------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From sliveapache.org  2007-08-03
11:55 -------
This is expected and documented behavior:
http://httpd.apache.org/docs/2.2/logs.html#virtualhost


Once a CustomLog is placed in a <VirtualHost>, the
"main server" log will no
longer include entries for that host. You can simply add
another CustomLog to
that <VirtualHost> in common or combined format to get
the other info.

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

------------------------------------------------------------
---------
To unsubscribe, e-mail: bugs-unsubscribehttpd.apache.org
For additional commands, e-mail: bugs-helphttpd.apache.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )