Forum Discussion

j_s_23783's avatar
j_s_23783
Icon for Nimbostratus rankNimbostratus
Dec 06, 2012

reverse proxy to maintenance page?

I have about 10 vips that I need to reverse proxy to a maintenance page eg, www.maintanenacepage.com/maintenance.html

 

 

But, I need the original URL host entered by the client to stay present in the address bar.

 

 

I believe I can do this with the ProxyPass iRule, the problem is that my host will not simply install that and follow the instructions, they want me to provide them with the exact code.

 

 

I wonder if there is a simple 2-3 lines that can achieve what I want without the entire ProxyPass rule?

 

 

 

1 Reply

  • Hi JS,

     

     

    Do you need to rewrite the response headers and/or content? If so, you could check ProxyPass lite:

     

    https://devcentral.f5.com/wiki/iRules.Proxy-Pass-Lite.ashx

     

     

    Else, if you just need to rewrite the requested host and URI you could use a simple iRule--just take out the parts of the above example you don't need.

     

     

    Aaron