Forum Discussion
geffryti_32102
Nimbostratus
Mar 17, 2010how to use data group
Requirements:
1. system for redirecting certain host+uri to a different server (no pools)
2. use data group file to maintain uri-to-server list, so I can keep using the same irule for ot...
L4L7_53191
Nimbostratus
Mar 18, 2010I'm not sure you can set the HTTP::host variable quite like that (the wiki implies it's read-only). I'm just looking at it here with no time to test but try changing this single line in the "host" test block below:
if {$host ne ""}{
HTTP::host $host <<-- Change this line to:
}
if {$host ne ""}{
HTTP::header replace Host $host <<--this one
}
And give that a try. This should set your new host header.
-Matt
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