From: Salvatore Sanfilippo Date: 2007-08-03T10:44:59+09:00 Subject: Re: mod_ruby + mod_deflate On Aug 1, 6:43 pm, "Vincent Bray" wrote: > > Indeed I'm generating text/html frommod_ruby. > > That's fine, but apache may not know that. First, get rid of the Ok Thanks, actually adding the line: AddType text/html .rhtml to my existing configuration solved the issue, now the pages are compressed correctly. The only *virtual* problem with this is that if I want to generate images or other content it's not worth to compress from Ruby this may be compressed anyway but I solved the issue using .rb files to generate this kind of content while using .rhtml files only when the output is really HTML, so everything is fine. Thanks again, Cheers, Salvatore