Forum Discussion

Novhak_68063's avatar
Novhak_68063
Icon for Nimbostratus rankNimbostratus
Sep 25, 2007

iRule to manipulate url according to set condition

Hi Guys

 

 

I have started working recently on a BigIP and already amazed at its capabilities, but cant find the rule to accomodate the following request, so if any of you know about one, please shout.

 

 

The Condition

 

==================================

 

Variables

 

----------

 

LINK = business, work, play

 

EXT = html, aspx

 

 

Condition

 

IF URL =

 

http://www.foo.bar/$LINK/any_uri/anything.$EXT

 

 

TO CHANGE TO

 

 

http://www.foo.bar/web/$LINK/any_uri/anything/index.htm

 

==================================

 

 

Im really hoping to find a solution to this as my configs getting really large and this rule will eliminate the majority of the current rules in use.

 

 

Much Appreciated

 

Novhak
No RepliesBe the first to reply