Forum Discussion
iRule to rewrite HTTPS URL
the requirements have changed. Now mgmt wants to change the Host: <name> in the client HTTP packet to a different name, regardless of what the client is sending as a Host in the packet. So i created this irule, but if there are multiple host header this will replace the last one.
i was looking at the traffic policy, but i cannot get it work, because the host header could be anything. The traffic policy does not seem to like wildcard characters.
when HTTP_REQUEST {
HTTP::header replace Host "<Hostname>"
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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
