Forum Discussion

toloughl_93169's avatar
toloughl_93169
Icon for Nimbostratus rankNimbostratus
Mar 10, 2008

Retain URI

Hi again - another odd help request...

 

 

Currently, I have multiple URLs, where each URI is a pool with one member.

 

test.com/ia

 

test.com/ib

 

test.com/ic

 

 

We want to keep the URIs as-is (ib = customer name), however - have it point to *one location* behind the scenes.

 

So,

 

test.com/ia -> test.com/i-base

 

test.com/ib -> test.com/i-base

 

test.com/ic -> test.com/i-base

 

 

i-base is a pool with multiple members for load balancing.

 

 

Another catch - at all times, the URL bar needs to retain its specific URL in the address bar, as was entered to begin with.

 

 

Will iRules handle this? Can anyone help me with some syntax?

 

 

Thanks in advance.
  • Hi,

     

     

    This is possible with iRules.

     

     

    To do so you'll need to manipulate HTTP response and requests to update properly the content.

     

     

    I'd advise to have a look at this iRule: Click here

     

     

    You won't need to implement all the iRule but everything you need is contained inside this one.

     

     

    HTH