Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 51862 invoked from network); 9 Jun 2006 04:01:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Jun 2006 04:01:36 -0000 Received: (qmail 66569 invoked by uid 500); 9 Jun 2006 04:01:35 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 66517 invoked by uid 500); 9 Jun 2006 04:01:34 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: "Apache HTTPD Bugs Notification List" List-Id: Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 66503 invoked by uid 99); 9 Jun 2006 04:01:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jun 2006 21:01:34 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jun 2006 21:01:33 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 6002771421B; Fri, 9 Jun 2006 04:00:29 +0000 (GMT) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: DO NOT REPLY [Bug 39762] New: - mod_deflate work with IP address but not domain name address Message-ID: X-Bugzilla-Reason: AssignedTo Date: Fri, 9 Jun 2006 04:00:29 +0000 (GMT) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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=39762 Summary: mod_deflate work with IP address but not domain name address Product: Apache httpd-2 Version: 2.0.58 Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: mod_deflate AssignedTo: bugs@httpd.apache.org ReportedBy: cc.chen@fsd.com.my I am using mod_deflate to implement the http compression. I have configured following setting in my httpd.conf. It works when I access the url with using internal IP address http://x.x.x.x/. But when I use the domain name http://domainname.com/ , the compression cannot work. ################## .... # Insert filter # HTTP COMPRESSION SetOutputFilter DEFLATE # Netscape 4.x has some problems... BrowserMatch ^Mozilla/4 gzip-only-text/html # Netscape 4.06-4.08 have some more problems BrowserMatch ^Mozilla/4\.0[678] no-gzip # MSIE masquerades as Netscape, but it is fine # BrowserMatch \bMSIE !no-gzip !gzip-only-text/html # NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48 # the above regex won't work. You can use the following # workaround to get the desired effect: BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html # Don't compress images SetEnvIfNoCase Request_URI \ \.(?:gif|jpe?g|png)$ no-gzip dont-vary # Make sure proxies don't deliver the wrong content #Header append Vary User-Agent env=!dont-vary ################## -- 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