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: [email protected] ReportedBy: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
