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 ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com
This email sent to [email protected]