Forum Discussion

lbong_53781's avatar
lbong_53781
Icon for Nimbostratus rankNimbostratus
Oct 05, 2008

Maintaining the same uri with iRule

Hi,

 

 

I am new to iRules and would like some assistance.

 

 

I wanted to maintain the the same uri on the client browser but the content get pulls from somewhere via iRule.

 

 

i.e

 

 

Client type in http://www.somehost.com/new

 

 

On the client URL, it still show http://www.somehost.com/new, but the the content get pulled from somewhere else.

 

 

1 Reply

  • Hi lbong,

     

     

    You can use the HTTP::uri command to modify the URI sent to the server. This change would be transparent to the client. Contrast this with using HTTP::redirect to send a 302 HTTP redirect to the client. In that case, the browser's address bar would show the updated URI.

     

     

    If you are considering trying to hide all URIs from the client, take a look at this post for more info (Click here).

     

     

    Aaron