Forum Discussion

brownie6969_121's avatar
brownie6969_121
Icon for Nimbostratus rankNimbostratus
May 31, 2012

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 it

 

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

 

https://mybicrt.company.com/saw.dll?Dashboard&PortlPath/shared/Executive/_portal/Executive

 

 

and we need them to redirect to

 

 

https://mybicrt.company.com/analytics/saw.dll?Dashboard&PortlPath/shared/Executive/_portal/Executive

 

 

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

 

24 Replies