Forum Discussion
BKA_201457
Nimbostratus
Nov 06, 2015iRule/Reverse Proxy configuration
Guys,
I am trying to configure something in an iRule that will enable me to send a specific URL to a cloud server, but only for a blog site. For instance:
We have a customer that wants to be ...
Henrik_Gyllkran
Nimbostratus
Nov 06, 2015To send a specific URL to another server is a piece of cake with an iRule, create a separate pool where the member is the cloud server and then use something like this:
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/en-us/blog/top-quartile" }{
pool cloud-server-pool
}
}
SNAT is going to be important as well, so either use SNAT on the Virtual Server for all traffic or you could enable SNAT in above iRule if only that traffic should be SNAT:ed.
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