Re: Conditionally Setting HTTP Response Header

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

 



On Mon, Mar 15, 2010 at 10:59 AM, Anurag Kapur <anuragkapur@xxxxxxxxx> wrote:
> Below is exactly what I tried:
>    SetEnvIfNoCase response Cache-Control .+ cc_set=123
>    Header append X-ws "test" env=cc_set
> Expected output: If response does not have Cache-Control set, the X-ws field
> should display the text "test".
> Actual output: X-ws field did not display the text "test"
> Note: I realized the problem with the syntax I was using after you pointed
> it out and tried the above after fixing it (I think).
> -Anurag

What is "response" doing there?

SetEnvIfNoCase attribute regex [!]env-variable[=value]
[[!]env-variable[=value]] ...


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