Re: Adding a Header to the httpd response

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

 



On Mon, Apr 21, 2008 at 9:38 AM, Mohammed Salih <linusali@xxxxxxxxx> wrote:
> Thank you all for your reply.
>
>  Yes I am using Header to set the Cache-Control header. and it is doing
>  it job. but some times the application might have already set this
>  header. So I want to avoid setting it again using the Header module.
>

See example #4:
http://httpd.apache.org/docs/2.2/mod/mod_headers.html#examples

SetEnvIf Cache-Control .+ got-cache-control=1
Header set Cache-Control blah env=!got-cache-control

Joshua.

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