Forum Discussion

Sumit7595_36869's avatar
Sumit7595_36869
Icon for Nimbostratus rankNimbostratus
Oct 07, 2018

URGENT | URL masking

Hi All,

 

We have a requirement wherein a redirection is already in place, say from “” domain to “”. Now we have to mask the URL “” from being exposed at the client side. Client should see “” on his browser. The domain XYZ has a huge URI that follows after the domain.

 

Please help me if this is possible to set at F5 level.

 

1 Reply

  • Snl's avatar
    Snl
    Icon for Cirrostratus rankCirrostratus

    Give a Try Try adding the default stream profile and using and iRule like this

    when HTTP_RESPONSE {
    
    if { [HTTP::header is_redirect]} {
    
    HTTP::header replace Location [string map -nocase {www.xyz.com www.abc.com} [HTTP::header value Location]]
    
    }
    }