Hope this work..
- Create this irule under Local traffic --> iRules
- Apply it to your virtual server under Local Traffic --> Virtual servers and once you are in the virtual server properties page, click Resources tab from top, add the irule you created in iRule section.
when HTTP_REQUEST {
if { string tolower [HTTP::uri] equals "/index" } {
HTTP::uri "/location"
node Insert_IPaddress_Of_srv-one-games001-test Port_of_srv-one-games001-test
Example: node 10.10.10.10 8080
}
else {
Default_pool //Change this to your default pool name
}
}