Forum Discussion
steven_normole
Dec 18, 2023Cirrus
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>"
}