Forum Discussion

Yugandhar's avatar
Yugandhar
Icon for Nimbostratus rankNimbostratus
Nov 12, 2018

Reg URI addition to incoming HTTP request

Hi,

 

  1. Is it possible to add an URI to the HTTP hostname for a request received on the LB from a remote client IP ?.

     

  2. Here we don't want to redirect the traffic to a different URL, instead add the URI /app/xyz?config=utw to the HTTP hostname and forward the new URL request to the backend server.

     

  3. To accomplish the above requirement, Do we also need to inform the client browser by sending a HTTP redirect message requesting the browser to send the request for instead of

     

Thanks,

 

Yugandhar.

 

1 Reply

  • Hamish's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus

    You can do that either with a redirect (Which tells the browser to go to a different address - which can be relative) or simply rewrite the URI as it passes through the LTM.

     

    If this is for a whole site, then the rewrite may be easier. If it's simply to make anyone accessing / go to /appl/xyz?config=utw then the redirect would probably be easier.

     

    There's iRules to do either of these in the codeshare...