Forum Discussion
LTM iRule to replace Apache ProxyPass with location
ServerName
ProxyPass http://jboss:8080/location/content/sales
ProxyPassReverse http://jboss:8080/location/content/sales
I am trying to write an iRule that can perform that same thing that I can do with an apache server with proxypass. I want mydomain.com/sales to be reverseproxied to my application server with a specific path without using a 302 HTTP Redirect. can anyone please point me in the right direction? I kind of lost.
2 Replies
- gurrish_132043
Nimbostratus
I think that I should have looked further before I asked this question
I found what I need.
https://devcentral.f5.com/wiki/iRules.HTTP__path.ashx
- Kevin_Stewart
Employee
But I assume what you want is a bidirectional rewrite. If so, there is actually a ProxyPass iRule implementation for BIG-IP. Do a search for "ProxyPass" in this forum. If you're running BIG-IP 11.4, you now have a rewrite profile that does pretty much the same thing.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com