Forum Discussion
azzieo_175120
Nimbostratus
Oct 24, 2014iRule to permanently assign www.abc.com/site1/ to webserver1 and www.abc.com/site2/ to webserver2
Hi guys - please let me know if an irule can permanently assign www.abc.com/site1/ to webserver1 and www.abc.com/site2/ to webserver2 ... Thanks!
kunjan
Nimbostratus
Oct 25, 2014See if this helps:
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/site1" } {
node IPwebserver1
} elseif { [HTTP::uri] starts_with "/site2" } {
node IPwebserver2
}
}
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