Forum Discussion

krmidhun_323560's avatar
krmidhun_323560
Icon for Nimbostratus rankNimbostratus
Aug 09, 2017
Solved

iRule redirect with URL masking and URI rewrite

Hi,

 

I am looking for a iRule to do a URL redirection and also appending a URI to the redirected URL. The redirected URL should be masked so that the client will not see that in the address bar.

 

The iRule I tried is given below. Which didn't work. Do I need to create a pool and add the server (myserver01:9001) to it?.

 

The url loads fine from the server when I browse it from the LAN network

 

when HTTP_REQUEST { if { (([HTTP::host] contains "buyer.abc.com") and ([HTTP::uri] equals "/" )) }{ HTTP::redirect } }

 

36 Replies

No RepliesBe the first to reply