For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Bubbagump_12531's avatar
Bubbagump_12531
Icon for Nimbostratus rankNimbostratus
13 years ago

Reverse proxy with exceptions

We are currently using Apache as a reverse proxy to a few applications and we want to use our LTM instead as Apache is a bit of overkill for such a simpel task. The one item I can do in Apche that I can't figue out how to do in the LTM is add exceptions. For instance:

 

 

ProxyPreserveHost On

 

 

this prevents the follow URL path from being proxied

 

ProxyPass /static !

 

ProxyPass /css !

 

ProxyPass /js !

 

ProxyPass /images !

 

 

setup the proxy

 

 

Order allow,deny

 

Allow from all

 

 

 

*************** Tandem Server Port Proxy Toggle ***************************

 

Proxy Settings for prod_1 server instance

 

SetEnv proxy-nokeepalive 1

 

 

ProxyPass / http://10.1.1.100:50525/

 

ProxyPassReverse / http://10.1.1.100:50525/

 

 

 

So I know I can just set my pool to point back to the 50525 port on my hosts, but I am not sure where to start with the rest of what Apache is doing. Is this even possible on the LTM?

 

 

2 Replies

  • Do a search on DevCentral for "proxypass". There's a great iRule that almost identically simulates Apache reverse proxy functionality.