Forum Discussion
Andrea_Arquint
Nimbostratus
Oct 21, 2010How to replace the hostname from a FQDN in HTTP:HOST
Hi How is it possible to replace only the hostname within an irule? Example: Client requests www.trustme.com so [HTTP:Host] contains this name. How can I repl...
JRahm
Admin
Oct 21, 2010You were there and you didn't know it! The domain command is your friend: http://devcentral.f5.com/wiki/default.aspx/iRules/domain.html Click Here
So you would want something like this: www2.[domain [HTTP::host] 2]
HTH....Jason
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
