Update: really on 2.2.4, can't unset or edit 'Expires' (was Re: [users@httpd] mod-headers 'early' keyword working in 2.2.4?

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

 



Nick Kew wrote:
On Tue, 23 Sep 2008 18:17:11 -0700
Gordon Mohr <gojomo@xxxxxxxxxxx> wrote:

 It looked like 'early' might have
some chance of removing the original Expires without disturbing the mod_expires addition.

Not a chance.  It happens long before the proxy has been
contacted, let alone sent you an Expires header.

You need Header edit.  And an upgrade to 2.2.x.

Hmm. I'm beginning to wonder if the situations where any of the 'Header' directives can change an existing header are very limited.

I've moved to the inner server (not the inbound proxy, but the machine being proxied-to), which is truly running 2.2.4. A Perl CGI that I'd prefer not to disturb is generating the unwanted 'Expires' header.

None of the following in the Apache configuration (each tried independently) work to remove or change the header on the outbound response:

Header unset Expires

header set Expires foo

Header edit Expires ^.*$ foo

However, setting other headers works (so it's not a simple matter of the directives being placed in the wrong place).

Are there cases in which a CGI's returned headers are unchangeable by mod_headers?

- Gordon @ IA

---------------------------------------------------------------------
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