RE: Apache/2.0.47 - AIX - DEFLATE enabled - Content-Encoding for a page - shows blank - although it's gzip encoded

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi,

Thanks for the more detailed reply.
Yes, I think that Content-Encoding may be of a category of "Content-Type".
So, it will be useful for me at lease try the mod_perl once.

So, could you please let me know - what all you did?
Steps for using mod_perl?
And your sample code where you are setting "Content-Type" to the type you want.

Thanks in advance.



Regards,
Arabinda

-----Original Message-----
From: André Warnier [mailto:aw@xxxxxxxxxx] 
Sent: Tuesday, May 05, 2009 9:30 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  Apache/2.0.47 - AIX - DEFLATE enabled - Content-Encoding for a page - shows blank - although it's gzip encoded

Arabinda Sahoo wrote:
> Hi Andre,
> 
> Can you send me the real good nuanced answer?
> 
:-)

Well, it might take a lot of time to get this right.
mod_headers is the general solution for setting headers.

But a first issue if that not all HTTP response headers can be set this 
way.  I know that for example the Content-Type is a different animal, 
because no matter what you do, Apache will reset it anyway.  the same 
may be true with Content-encoding, I just don't know.

Then the second aspect is that by setting this header with mod_headers, 
you probably would set it "too much", indiscriminately, for all pages in 
the same location, and not all your content necessarily matches that.
So you'll need to play with SetEnvIf and only do it in some cases, probably.

In a similar case before, I had to resort to a mod_perl output filter, 
to do this right.  This was with the Content-type header though, so I'm 
not really sure it is necessary in this case.

Is this nuanced enough ?



---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux