Forum Discussion
DaleLeBlanc_140
Nimbostratus
Jan 26, 2015Create iRule from TMOS
I am trying to create an iRule similar to this from TMOS.
when HTTP_REQUEST {
HTTP::header replace "Host" "4.2.2.2"
}
When I enter the following syntax, I get some type of editor. How c...
Michael_Jenkins
Cirrostratus
Jan 26, 2015Are you refering to the TMSH prompt from within the CLI? If so, you may want to try like this:
create ltm rule my_rule "when HTTP_REQUEST { HTTP::header replace \"Host\" \"4.2.2.2\" }"
It will probably put you into vi editor to save the file.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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