Forum Discussion
Shivam_84461
Jul 21, 2015Nimbostratus
Using Apache ProxyPass Irule for reverseproxy
I am trying to replace my apache server which are currently working as reverseproxy server for one of our application. Instead of apache we want to to use F5 to do the same task.
The proxypass I...
daboochmeister_
Altocumulus
I did Apache proxypass config for years, and have used the equiv iRule, to good effect - that said, in many situations you can get by with something much simpler.
- Create your SSL offload virtual server
- Define and add to the VS a stream profile, and define your string replacements there; if you have multiple replacements, use a regexp in the "Target" field only. See: https://support.f5.com/kb/en-us/solutions/public/8000/100/sol8115.html ... this will make replacements in both your headers and content returned. For help in formatting string replacements: https://devcentral.f5.com/articles/ltm-stream-profile-multiple-replacements-regular-expressions but make sure to check the previous link i provided, because some things change in v11, and more changes in v11.4
- If you're pre-11.4, make sure to set response processing in the HTTP profile to "rechunk"
Voila. Note this works if you don't need content-specific logic concerning what string replacements to make.
Shivam_84461
Jul 23, 2015Nimbostratus
Not replacing the URL means when I go to app.company.com its going to xyz.Salesforce.com..Like what a virtual server does. Just forwards the traffic to pool member.
I'll try to attach both html profile and a rewrite profile.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects