Forum Discussion

Kirk_Bauer_1018's avatar
Kirk_Bauer_1018
Icon for Nimbostratus rankNimbostratus
Jul 28, 2007

ProxyPass iRule

I just posted an updated version of my ProxyPass iRule. What is ProxyPass you ask? It is a module in the Apache webserver that this iRule emulates. What does it do you ask? It modifies the Host header and/or URI of incoming requests so that it matches what the server expects to see. It also modifies Redirect responses to the client to provide the proper external URI for the browser.

 

 

Have you ever wanted to test a website but it expected to see a specific Host header value and you weren't providing it? Well, this can fix it. Have you ever wanted to present one common namespace on the internet for a variety of back-end web servers with varying hostnames? This can do it.

 

 

Here is the rule:

 

 

http://devcentral.f5.com/wiki/default.aspx/iRules/ProxyPass.html
  • Could someone please help me in getting the ProxyPass rule working. We are trying to proxy some requests coming to our F5 send to an external resource. I do not want to do a 301 redirect.

     

    test.app.com/series -> F5 -> Irule ProxyPass -> new.app.com/series