Not sure if all of this is necessary, but this is what I have:

        BrowserMatch ^Mozilla/4 gzip-only-text/html
        BrowserMatch ^Mozilla/4\.0[678] no-gzip
        BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
        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
        SetOutputFilter DEFLATE
        Header append Vary User-Agent env=!dont-vary

And the module is loaded earlier.

On Tue, Nov 29, 2011 at 9:47 AM, John Pollard <j...@pollardweb.com> wrote:

> In httpd.conf it works to put a global:
>
> SetOutputFilter DEFLATE
>
> perhaps that is how the others on this thread made it work; deflate
> everything, but I don't want to deflate images etc. so I was aiming at
> saying what I do want to deflate...
>
> Things I have tried that do not work for WO output (but do work for static
> resources):
>
> <IfModule mod_deflate.c>
>        AddOutputFilterByType DEFLATE text/html
> </IfModule>
>
> <FilesMatch "\.(php|css|htm|html|xml|txt|js|pl)$">
>  SetOutputFilter DEFLATE
> </FilesMatch>
>
> <FilesMatch "\/WebObjects\/*$">
>  SetOutputFilter DEFLATE
> </FilesMatch>
>
> which didn't work either, but then the URLs to my web site are rewritten
> and don't contain /cgi-bin/WebObjects/
>
> I even tried the domain exactly and still no joy:
>
> <FilesMatch "glovesonhand.co.uk">
>  SetOutputFilter DEFLATE
> </FilesMatch>
>
> Thanks
> John
>
> On 29 Nov 2011, at 13:24, Alexander Spohr wrote:
>
> >
> > Am 29.11.2011 um 12:04 schrieb John Pollard:
> >
> >> Is there a way I can tell the WO adaptor specifically to deflate it's
> output? Or is there a file I can create to add the "SetOutputFilter
> DEFLATE" line to that will be read by the WO adaptor (which is in
> /usr/lib64/httpd/modules/mod_WebObjects.so).
> >
> > The WO adaptor does not deflate anything.
> > You have to load mod_deflate and set that up to deflate
> /cgi-bin/WebObjects/*
> >
> >       atze
> >
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-deploy mailing list      (Webobjects-deploy@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
>
> http://lists.apple.com/mailman/options/webobjects-deploy/johnthuss%40gmail.com
>
> This email sent to johnth...@gmail.com
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to