Vincent Bray
8/1/2007 4:44:00 PM
On 01/08/07, Salvatore Sanfilippo <antirez@gmail.com> wrote:
> <IfModule mod_deflate.c>
> AddOutputFilterByType DEFLATE text/html text/plain text/xml
> </IfModule>
>
> Indeed I'm generating text/html from mod_ruby.
That's fine, but apache may not know that. First, get rid of the
IfModule lines, they just serve to make debugging problems like this
harder (because it could be that you don't have the module loaded).
And then, check how you're telling apache to pass the request on to
mod_ruby. If it's with AddType, replace that with AddHandler, and use
AddType to tell apache that the mime-type of your handler is
text/html. If that doesn't help, reply (to me directly too please, I
find this list hard to keep up with) with your apache config and I'll
see if I can reproduce the issue.
--
noodl