Jacob_Kinkade_3
Jul 17, 2017Nimbostratus
Need help with irule
Looking for feedback on irule for redirect. I am a network engineer who had our loadbalancers dumped in my lap and a request for an irule to be placed.
Not familiar at all with how to do this but I hope I am on the right track. "; those requests need to only go to one server "; I want the rest of the traffic that normally is served by the server to be balanced across the pool as normal.
From all my research it should look like this? And all I need to do is put it under the irules section under local traffic correct?
when HTTP_REQUEST {
if
{ [HTTP::uri] equals "https://server-fiver.domain.com/index" }
{ HTTP::redirect "https://srv-one-games001-test/location/" }
}
Thank you ahead of time!