Forum Discussion
Damien_Turner_1
Nimbostratus
Apr 09, 2009Changing http headers
Hi all, I was wondering if someone could point me in the right direction?
My web guys are using apache to controll the http cache headers on our website, can I get an iRule to do this, I've see...
Cspillane_18296
Nimbostratus
Jan 14, 2010Hello Damien,
you can replace headers with the 'HTTP::header replace' command, here is a very simple example to get you on the right track:
=======
when HTTP_RESPONSE {
set ccheader "Cache-Control:0"
HTTP::header replace Cache-Control [$ccheader]
}
=======
Let us know if you have any further queries!
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects