Forum Discussion
Rob_Wotton_8024
Nimbostratus
Oct 21, 2009Multiple Pool Redirection Based on IP
Hi
I am struggling with an iRule at the moment, in simple English when the URI starts with /product1 and is from IP address 1.1.1.1 we need to use pool product1-CustomerA. If the URI st...
hoolio
Cirrostratus
Oct 22, 2009Hi Rob,
LTM isn't modifying the requested URI in your iRule--just selecting the pool based on the URI. If you make the same request for /product1 direct to the web server, I expect that you'll see the same 404 response.
If you want to rewrite requests made to /product1 to /product1/default.htm, you could use HTTP::uri "/product1/default.htm" to do this. Or if you want the client to see the update, you could redirect them using HTTP::redirect "http://[HTTP::host]/product1/default.htm".
Aaron
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