Forum Discussion
Striker_88408
Nimbostratus
Oct 01, 2007Replace Command
Hi guys,
I got a question about the "replace command" that is shown in the iRules below.
Can you give me a good description of what does this command in this iRules ?
when HTTP_REQUEST {
if {[HTTP::host] eq "www-test.test.com" } {
HTTP::header replace Host www.google.com
Thank you in advance,
Striker
- Colin_Walker_12Historic F5 AccountThe command you're actually using is the HTTP::header command. You're using the replace operator with that command, which will replace whichever header you specify with the value you specify, as described on the Wiki page here: Click here
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