Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 455 invoked from network); 18 Jan 2007 23:31:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jan 2007 23:31:02 -0000 Received: (qmail 93446 invoked by uid 500); 18 Jan 2007 23:30:51 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 93435 invoked by uid 500); 18 Jan 2007 23:30:51 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 93424 invoked by uid 99); 18 Jan 2007 23:30:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jan 2007 15:30:51 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of graeme.walker1@gmail.com designates 64.233.166.180 as permitted sender) Received: from [64.233.166.180] (HELO py-out-1112.google.com) (64.233.166.180) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jan 2007 15:30:42 -0800 Received: by py-out-1112.google.com with SMTP id u77so146162pyb for ; Thu, 18 Jan 2007 15:30:21 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=QHEEMgQiByUqC4U8M59n291K8R0Qqn0wvQtJQ2leTG6Hh4jUqnnEZBjFjkBk0NVGoZEzbNgytGSn1wiOOhPFQrG7OqDoitdVIlfysCA/IqGtmtr5aVYhRh542UtT3dr0OsRT9UxKPpeP1zl/Uu95soNrOxQTiPk0iCZJjbOqJYU= Received: by 10.35.70.17 with SMTP id x17mr2614994pyk.1169163020963; Thu, 18 Jan 2007 15:30:20 -0800 (PST) Received: by 10.35.130.3 with HTTP; Thu, 18 Jan 2007 15:30:20 -0800 (PST) Message-ID: <7d5c3ce50701181530w3139b7ddtb9f4373b1b25262d@mail.gmail.com> Date: Thu, 18 Jan 2007 23:30:20 +0000 From: "Graeme Walker" To: users@httpd.apache.org In-Reply-To: <7d5c3ce50701180624t2cee9900r908e7fc97ca4273@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_119322_12267101.1169163020903" References: <7d5c3ce50701180624t2cee9900r908e7fc97ca4273@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Problem with Mod_Deflate & Virtual Hosts ------=_Part_119322_12267101.1169163020903 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline In the SSL virtual host, deflate it working fine, but its not working for the two non-ssl vhosts. This appears to be a bug to me Cheers Graeme On 18/01/07, Graeme Walker wrote: > > I have set up Deflate logging and there is no percentages or other data > being displayed > > On 18/01/07, Boyle Owen < Owen.Boyle@swx.com> wrote: > > > > > > > > > -----Original Message----- > > > From: Graeme Walker [mailto: graeme.walker1@gmail.com] > > > Sent: Thursday, January 18, 2007 1:11 PM > > > To: users@httpd.apache.org > > > Subject: Re: [ users@httpd] Problem with Mod_Deflate & Virtual Hosts > > > > > > Hi Owen, > > > > > > Request: > > > > > > http://www.cyberhawk.ath.cx/home.aspx?sid=2de08bd0-3c6e-47f6-8 > > faf-65181d19e0c3 > > > > > > GET /home.aspx?sid=2de08bd0-3c6e-47f6-8faf-65181d19e0c3 HTTP/1.1 > > > Host: www.cyberhawk.ath.cx > > > User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; > > > rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1 > > > Accept: > > > text/xml,application/xml,application/xhtml+xml,text/html;q= > > > 0.9,text/plain;q=0.8,image/png,*/*;q= 0.5 > > > Accept-Language: en-us,en;q=0.5 > > > Accept-Encoding: gzip,deflate > > > Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 > > > Keep-Alive: 300 > > > Connection: keep-alive > > > Cookie: > > > cImage_UserPassword=xDq5UCrSoOciMK/5aKWuCldlu72ivHV3rP3HMYfpIT > > > kxNzQ4OTgxMTY0MTYyMTE=; collapseprefs=; cImage_UserID=35 > > > > > > Response: > > > > > > HTTP/1.x 200 OK > > > Date: Thu, 18 Jan 2007 12:08:14 GMT > > > Server: Apache/2.2.4 (Win32) mod_ssl/2.2.3 OpenSSL/0.9.8b > > > mod_aspdotnet/2.2 > > > X-AspNet-Version: 2.0.50727 > > > Set-Cookie: ASP.NET_SessionId=bszg2lvf2mw4wf55pmfp41qb ; > > > path=/; HttpOnly > > > Cache-Control: private > > > Content-Length: 73453 > > > Vary: Accept-Encoding,User-Agent > > > Keep-Alive: timeout=5, max=100 > > > Connection: Keep-Alive > > > Content-Type: application/xhtml+xml; charset=utf-8 > > > > > > > > > Any thoughts? > > > > Should be OK... What makes you think it isn't "working"? Have you tried > > it from the command line? > > > > Rgds, > > Owen Boyle > > Disclaimer: Any disclaimer attached to this message may be ignored. > > > > > > > > > > > On 18/01/07, Boyle Owen wrote: > > > > > > > > > > > > > -----Original Message----- > > > > From: Graeme Walker [mailto:graeme.walker1@gmail.com] > > > > Sent: Thursday, January 18, 2007 10:23 AM > > > > To: users@httpd.apache.org > > > > Subject: Re: [users@httpd] Problem with Mod_Deflate & > > > Virtual Hosts > > > > > > > > Thanks for the reply, so I assume my configuration is > > > > correct? > > > > > > I wouldn't assume that... your config is complicated > > > and might easily > > > have a bug. That's what you have to find out. > > > > > > Since you already have FF, get the LiveHTTPHeaders > > > extension and check > > > for sure. Or try from the command line (as recommended earlier) > > > > > > Rgds, > > > Owen Boyle > > > Disclaimer: Any disclaimer attached to this message may > > > be ignored. > > > > > > >Looking at the network setting in Firefox > > > > (About:config) The network.http.accept-encoding setting has > > > > gzip,deflate in it, so it should be sending it, but I'll > > > > check the headers. I just thought it was odd the fact that > > > > ap_headers bit in the apache log, as I would have thought > > > > that would be a sign of it working. > > > > > > > > Cheers > > > > Graeme > > > > > > > > > > > > On 18/01/07, Boyle Owen < Owen.Boyle@swx.com> wrote: > > > > > > > > > -----Original Message----- > > > > > From: Graeme Walker [mailto: > > > graeme.walker1@gmail.com ] > > > > > Sent: Wednesday, January 17, 2007 10:55 PM > > > > > To: users@httpd.apache.org > > users@httpd.apache.org > > > > > > Subject: [ users@httpd] Problem with Mod_Deflate & > > > > Virtual Hosts > > > > > > > > > > Hi, > > > > > > > > > > I am trying to get mod_deflate working with > > > my virtual hosts, > > > > > however it does not appear to be doing > > > anything. I am using > > > > > Apache 2.2.4. > > > > > > > > The client has to tell the server that it can accept > > > > zipped content. It > > > > does this by sending a request header like: > > > > > > > > Accept-Encoding: gzip,deflate > > > > > > > > Is your client doing this? Try it on the command-line > > > > or get Firefox > > > > with LiveHTTPHeaders to check... > > > > > > > > Rgds, > > > > Owen Boyle > > > > Disclaimer: Any disclaimer attached to this message may > > > > be ignored. > > > > > > > > > > > > > > > > > > My Config is as follows: > > > > > > > > > > NameVirtualHost *:80 > > > > > Listen 80 > > > > > > > > > > > > > > > ServerName www.domain.com > > > > > ServerSignature On > > > > > DocumentRoot "D:/Website_Dev/cImages/cimage" > > > > > AddOutputFilterByType DEFLATE text/html > > > text/plain text/xml > > > > > image/jpg image/jpeg image/gif image/png > > > application/xml > > > > > application/xhtml+xml > > > > > DeflateFilterNote Input instream > > > > > DeflateFilterNote Output outstream > > > > > DeflateFilterNote Ratio ratio > > > > > DeflateCompressionLevel 9 > > > > > LogFormat '%t %r %{outstream}n/%{instream}n > > > > > (%{ratio}n%%)' deflate > > > > > CustomLog logs/deflate_main.log deflate > > > > > LogLevel Debug > > > > > > > > > > > > > > > Within my deflate_main.log is showing no compression. > > > > > > > > > > The error log from apache is showing: > > > > > > > > > > [Wed Jan 17 21:48:28 2007] [debug] mod_headers.c(663): > > > > > headers: ap_headers_output_filter() > > > > > [Wed Jan 17 21:48:28 2007] [debug] mod_headers.c(663): > > > > > headers: ap_headers_output_filter() > > > > > [Wed Jan 17 21:48:28 2007] [debug] mod_headers.c(663): > > > > > > > headers: ap_headers_output_filter() > > > > > > > > > > This looks like it is appending the headers, > > > but nothing is > > > > > happening. I am using FireFox 2.0. > > > > > > > > > > Any help would be much appreciated. > > > > > > > > > > Cheers > > > > > Graeme > > > > > > > > > > > > > > > > > > > > > > > > > > > This message is for the named person's use only. It may > > > > contain confidential, proprietary or legally privileged > > > > information. No confidentiality or privilege is waived or > > > > lost by any mistransmission. If you receive this message in > > > > error, please notify the sender urgently and then immediately > > > > delete the message and any copies of it from your system. > > > > Please also immediately destroy any hardcopies of the > > > > message. You must not, directly or indirectly, use, disclose, > > > > distribute, print, or copy any part of this message if you > > > > are not the intended recipient. The sender's company reserves > > > > the right to monitor all e-mail communications through their > > > > networks. Any views expressed in this message are those of > > > > the individual sender, except where the message states > > > > otherwise and the sender is authorised to state them to be > > > > the views of the sender's company. > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > The official User-To-User support forum of the Apache > > > > HTTP Server Project. > > > > See > > > for more info. > > > > To unsubscribe, e-mail: > > > users-unsubscribe@httpd.apache.org > > > > > > > " from the digest: > > > > users-digest-unsubscribe@httpd.apache.org > > > > > > > > > > > For additional commands, e-mail: > > > users-help@httpd.apache.org > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > The official User-To-User support forum of the Apache > > > HTTP Server Project. > > > See for more info. > > > > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > > > " from the digest: > > > users-digest-unsubscribe@httpd.apache.org > > > > > > For additional commands, e-mail: users-help@httpd.apache.org > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > The official User-To-User support forum of the Apache HTTP Server > > Project. > > See for more info. > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > > " from the digest: users-digest-unsubscribe@httpd.apache.org > > For additional commands, e-mail: users-help@httpd.apache.org > > > > > ------=_Part_119322_12267101.1169163020903 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline In the SSL virtual host, deflate it working fine, but its not working for the two non-ssl vhosts. This appears to be a bug to me

Cheers
Graeme

On 18/01/07, Graeme Walker <graeme.walker1@gmail.com> wrote:
I have set up Deflate logging and there is no percentages or other data being displayed


On 18/01/07, Boyle Owen < Owen.Boyle@swx.com> wrote:


> -----Original Message-----
> From: Graeme Walker [mailto: graeme.walker1@gmail.com]
> Sent: Thursday, January 18, 2007 1:11 PM
> To: users@httpd.apache.org
> Subject: Re: [ users@httpd] Problem with Mod_Deflate & Virtual Hosts
>
> Hi Owen,
>
> Request:
>
> http://www.cyberhawk.ath.cx/home.aspx?sid=2de08bd0-3c6e-47f6-8
faf-65181d19e0c3
>
> GET /home.aspx?sid=2de08bd0-3c6e-47f6-8faf-65181d19e0c3 HTTP/1.1
> Host: www.cyberhawk.ath.cx
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
> rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
> Accept:
> text/xml,application/xml,application/xhtml+xml,text/html;q=
> 0.9,text/plain;q=0.8,image/png,*/*;q= 0.5
> Accept-Language: en-us,en;q=0.5
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 300
> Connection: keep-alive
> Cookie:
> cImage_UserPassword=xDq5UCrSoOciMK/5aKWuCldlu72ivHV3rP3HMYfpIT
> kxNzQ4OTgxMTY0MTYyMTE=; collapseprefs=; cImage_UserID=35
>
> Response:
>
> HTTP/1.x 200 OK
> Date: Thu, 18 Jan 2007 12:08:14 GMT
> Server: Apache/2.2.4 (Win32) mod_ssl/2.2.3 OpenSSL/0.9.8b
> mod_aspdotnet/2.2
> X-AspNet-Version: 2.0.50727
> Set-Cookie: ASP.NET_SessionId=bszg2lvf2mw4wf55pmfp41qb ;
> path=/; HttpOnly
> Cache-Control: private
> Content-Length: 73453
> Vary: Accept-Encoding,User-Agent
> Keep-Alive: timeout=5, max=100
> Connection: Keep-Alive
> Content-Type: application/xhtml+xml; charset=utf-8
>
>
> Any thoughts?

Should be OK... What makes you think it isn't "working"? Have you tried
it from the command line?

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored.

>
>
> On 18/01/07, Boyle Owen < Owen.Boyle@swx.com > wrote:
>
>
>
>       > -----Original Message-----
>       > From: Graeme Walker [mailto: graeme.walker1@gmail.com]
>       > Sent: Thursday, January 18, 2007 10:23 AM
>       > To: users@httpd.apache.org <mailto: users@httpd.apache.org>
>       > Subject: Re: [users@httpd] Problem with Mod_Deflate &
> Virtual Hosts
>       >
>       > Thanks for the reply, so I assume my configuration is
>       > correct?
>
>       I wouldn't assume that... your config is complicated
> and might easily
>       have a bug. That's what you have to find out.
>
>       Since you already have FF, get the LiveHTTPHeaders
> extension and check
>       for sure. Or try from the command line (as recommended earlier)
>
>       Rgds,
>       Owen Boyle
>       Disclaimer: Any disclaimer attached to this message may
> be ignored.
>
>       >Looking at the network setting in Firefox
>       > (About:config) The network.http.accept-encoding setting has
>       > gzip,deflate in it, so it should be sending it, but I'll
>       > check the headers. I just thought it was odd the fact that
>       > ap_headers bit in the apache log, as I would have thought
>       > that would be a sign of it working.
>       >
>       > Cheers
>       > Graeme
>       >
>       >
>       > On 18/01/07, Boyle Owen < Owen.Boyle@swx.com> wrote:
>       >
>       >       > -----Original Message-----
>       >       > From: Graeme Walker [mailto:
> graeme.walker1@gmail.com <mailto:graeme.walker1@gmail.com> ]
>       >       > Sent: Wednesday, January 17, 2007 10:55 PM
>       >       > To: users@httpd.apache.org <mailto:
> users@httpd.apache.org <mailto: users@httpd.apache.org> >
>       >       > Subject: [ users@httpd] Problem with Mod_Deflate &
>       > Virtual Hosts
>       >       >
>       >       > Hi,
>       >       >
>       >       > I am trying to get mod_deflate working with
> my virtual hosts,
>       >       > however it does not appear to be doing
> anything. I am using
>       >       > Apache 2.2.4.
>       >
>       >       The client has to tell the server that it can accept
>       > zipped content. It
>       >       does this by sending a request header like:
>       >
>       >       Accept-Encoding: gzip,deflate
>       >
>       >       Is your client doing this? Try it on the command-line
>       > or get Firefox
>       >       with LiveHTTPHeaders to check...
>       >
>       >       Rgds,
>       >       Owen Boyle
>       >       Disclaimer: Any disclaimer attached to this message may
>       > be ignored.
>       >
>       >
>       >       >
>       >       > My Config is as follows:
>       >       >
>       >       > NameVirtualHost *:80
>       >       > Listen 80
>       >       >
>       >       > <VirtualHost *:80>
>       >       >   ServerName www.domain.com
>       >       >   ServerSignature On
>       >       >   DocumentRoot "D:/Website_Dev/cImages/cimage"
>       >       >   AddOutputFilterByType DEFLATE text/html
> text/plain text/xml
>       >       > image/jpg image/jpeg image/gif image/png
> application/xml
>       >       > application/xhtml+xml
>       >       >   DeflateFilterNote Input instream
>       >       >     DeflateFilterNote Output outstream
>       >       >     DeflateFilterNote Ratio ratio
>       >       >     DeflateCompressionLevel 9
>       >       >     LogFormat '%t %r %{outstream}n/%{instream}n
>       >       > (%{ratio}n%%)' deflate
>       >       >     CustomLog logs/deflate_main.log deflate
>       >       >     LogLevel Debug
>       >       > </VirtualHost>
>       >       >
>       >       > Within my deflate_main.log is showing no compression.
>       >       >
>       >       > The error log from apache is showing:
>       >       >
>       >       > [Wed Jan 17 21:48:28 2007] [debug] mod_headers.c(663):
>       >       > headers: ap_headers_output_filter()
>       >       > [Wed Jan 17 21:48:28 2007] [debug] mod_headers.c(663):
>       >       > headers: ap_headers_output_filter()
>       >       > [Wed Jan 17 21:48:28 2007] [debug] mod_headers.c(663):
>       >       > headers: ap_headers_output_filter()
>       >       >
>       >       > This looks like it is appending the headers,
> but nothing is
>       >       > happening. I am using FireFox 2.0.
>       >       >
>       >       > Any help would be much appreciated.
>       >       >
>       >       > Cheers
>       >       > Graeme
>       >       >
>       >       >
>       >       >
>       >
>       >
>       >       This message is for the named person's use only. It may
>       > contain confidential, proprietary or legally privileged
>       > information. No confidentiality or privilege is waived or
>       > lost by any mistransmission. If you receive this message in
>       > error, please notify the sender urgently and then immediately
>       > delete the message and any copies of it from your system.
>       > Please also immediately destroy any hardcopies of the
>       > message. You must not, directly or indirectly, use, disclose,
>       > distribute, print, or copy any part of this message if you
>       > are not the intended recipient. The sender's company reserves
>       > the right to monitor all e-mail communications through their
>       > networks. Any views expressed in this message are those of
>       > the individual sender, except where the message states
>       > otherwise and the sender is authorised to state them to be
>       > the views of the sender's company.
>       >
>       >
>       >
> ---------------------------------------------------------------------
>       >       The official User-To-User support forum of the Apache
>       > HTTP Server Project.
>       >       See <URL:http://httpd.apache.org/userslist.html
> > for more info.
>       >       To unsubscribe, e-mail:
> users-unsubscribe@httpd.apache.org
> <mailto: users-unsubscribe@httpd.apache.org>
>       >          "   from the digest:
>       > users-digest-unsubscribe@httpd.apache.org
>       > <mailto: users-digest-unsubscribe@httpd.apache.org
> <mailto:users-digest-unsubscribe@httpd.apache.org> >
>       >       For additional commands, e-mail:
> users-help@httpd.apache.org
>       >
>       >
>       >
>       >
>       >
>
>
> ---------------------------------------------------------------------
>       The official User-To-User support forum of the Apache
> HTTP Server Project.
>       See <URL: http://httpd.apache.org/userslist.html > for more info.
>       To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>          "   from the digest:
> users-digest-unsubscribe@httpd.apache.org
> <mailto:users-digest-unsubscribe@httpd.apache.org >
>       For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



------=_Part_119322_12267101.1169163020903--