brownie6969_121
May 31, 2012Nimbostratus
redirect irule
our old application url that pointed to the F5 vip was mybicrt.company.com. The new code is mybicrt.company.com/analytics. i created the following that achieves that part of ithttps://mybicrt.company.com/saw.dll?Dashboard&PortlPath/shared/Executive/_portal/Executiveand we need them to redirect tohttps://mybicrt.company.com/analytics/saw.dll?Dashboard&PortlPath/shared/Executive/_portal/Executive
when HTTP_REQUEST {
if { [HTTP::path] equals "/" } {
HTTP::redirect "/analytics/"
log local0. "redirect"
}
}
now the problem is that users have links to dashboards saved that look like this
basically the irule we have setup stops at analytics and I need a way to add /analytics after mybicrt.compan.com but keep the rest of the url there. Also there are a ton of dashboard links that are all different.
is this possible.
Thanks
Andrew