Help with url redirect
I'm very new to F5 platform and need to work out how to do a url redirect for multiple backend servers
i am assuming creating an irule would be the best way for this solution ?
we currently have a working solution via F5 APM for remote users to connect to a public address / url
remote users connect to a url for example https://trx.company.com and are successfully authenticated and forwarded on to a back end server
there is now a requirement that if users add a specific suffix to the url they connect to they will be redirected to different back end servers
for example
https://trx.company.com/abc will be redirected to a different backend server
and
https://trx.company.com/def will be redirected to different backend server
is creating an irule the best method to provide this solution ?
and any help with the format of an appropriate irule would be much appreciated
thanks in advance