Forum Discussion

Pael_74584's avatar
Pael_74584
Icon for Nimbostratus rankNimbostratus
Sep 04, 2008

Modify GET/ string

Hi, how can I create an iRule which will modify:

 

 

(A) GET/host:192.168.1.1

 

 

into

 

 

(B) GET/host:portal.domain.com

 

 

?

 

 

The apache server is setup to only recognize portal.domain.com and redirect it to the proper directory. Since we did a NAT for alternate routing purposes, we are now inputting (A) which is not recognized by our apache server.
  • Click here to see a post that resembles to what you want to do with the host header information sent to the server

     

     

    hope this helps

     

    CB
  • thanks! cmbhatt

     

     

    I will try this out. Essentially, the iRule will only be applied for the the switch, but else, the request will not be altered. Correct?