Re: Conditionally Setting HTTP Response Header

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

 



I have been trying configurations like the following:

SetEnvIf response Cache-Control !"^max-age*$" test=ThisShouldDisplayInXwsField
Header append X-ws test

With the above, as a first step I was trying to test if I can detect the presence of Cach-Control max-age field in the Response header. What I expected was, if response header had Cache-Control max-age field, then the X-ws field would show the string 'ThisShouldDisplayInXwsField'. But I could not see it set even though max-age was present in the header.

I know these are not complete, but I as the first step, I was trying to get these to work.

-Anurag

On Mon, Mar 15, 2010 at 2:12 PM, Eric Covener <covener@xxxxxxxxx> wrote:
> I have been trying to work with mod_setenvif module to start but have not
> made any progress and thus seeking your help.

Show us what you have, and what it does.

--
Eric Covener
covener@xxxxxxxxx

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