httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Graeme Walker" <graeme.walk...@gmail.com>
Subject Re: [users@httpd] gzip compression only working with SSL
Date Wed, 12 Sep 2007 19:34:40 GMT
Still no luck. This seems to be a weird error. I'm using mod_aspdotnet. I
wonder if thats what is preventing the gzip compression for non SSL
connections?

Cheers
Graeme

On 12/09/2007, Joshua Slive <joshua@slive.ca> wrote:
>
> On 9/12/07, Graeme Walker <graeme.walker1@gmail.com> wrote:
> > Hi,
> >
> > I removed the SSL parts of the virtual host and changed the port to 80
> and
> > the compression doesn't work. Please find below my config for the
> virtual
> > host both for port 80 and SSL
> >
> > Thanks for your help so far.
> >
> > Cheers
> > Graeme
> >
> > Normal VH
> > ========
> > Listen 80
> >
> > <VirtualHost *:80>
> >   ServerName <domain>
> >   DocumentRoot "D:/Website_Dev/cimage"
> >     SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ \
> >     no-gzip dont-vary
> >     SetEnvIfNoCase Request_URI \
> >     \.(?:exe|t?gz|zip|bz2|sit|rar)$ \
> >     no-gzip dont-vary
> >     SetEnvIfNoCase Request_URI \.pdf$ no-gzip dont-vary
> >   AddOutputFilterByType DEFLATE text/html text/plain text/xml
> > text/javascript application/x-javascript 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
> > </VirtualHost>
>
> AddOutputFilterByType is not reliable with dynamic content. And in any
> case, since you have specific exclusions for everything you don't want
> gzipped, it doesn't seem necessary. You should just use
> SetOutputFilter DEFLATE
>
> Joshua.
>
> ---------------------------------------------------------------------
> 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
>
>

Mime
View raw message