Forum Discussion
Derek_Murphy_38
Nimbostratus
Oct 05, 2010need help figuring out a proxy irule
The below post has a bunch of good information that I think has me in the right direction.
http://devcentral.f5.com/Community/GroupDetails/tabid/1082223/aff/5/aft/1172576/afv/topic/asg/50/D...
Ben_95489
Nimbostratus
Oct 05, 2010Hey Derek,
You should be able to configure this to still work, though you may need to configure the virtual hosts in the ProxyPass data group configuration. For example, siteone.com, sitetwo.com, and sitethree.com all use this virtual server and should function as normal today - passed directly to the pool and unchanged. You need to add newsite.com to use this virtual server but translate the host header to be siteone.com when it gets sent to the pool members. Do I follow correctly?
If so, I would need to double-check my memory to be positive, but I believe that the rule will only trigger when something in its data group matches - i.e. translation/replacement only occurs when you configure it to. This means that if you configured a data group for newsite.com like this:
www.newsite.com www.siteone.com/
or
new.siteone.com www.siteone.com/
Only the requests matching the first object will be processed by the rule. Requests to siteone.com and sitetwo.com will not be affected. This means that you should be able to use this on the same virtual server that all of your other traffic is processed on.
In short, yes. The rule will be applied to the entire virtual server. It does, however, require you to configure it for the traffic you wish it to match and affect.
Cheers!
// Ben
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
