Forum Discussion
will_lee_113506
Nimbostratus
Jun 10, 2006how to rewrite URL AND send to another pool
I've got an external partner that currently sends a HTTP POST to a existing VIP. I now need to rewrite their incoming URL (server code changed) so that it goes to a new server (in a different pool).
So far I have the following iRule that does the URL rewrite...but after I rewrite the URI can I have it send it to another pool? Is it as simple as an AND statement?
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/ServletA" } {
HTTP::uri "/ServletB?DocId=execute&U=A&P=B" AND use pool NEW_SERVER_POOLb
}
}
thx
Will
- hoolio
Cirrostratus
Hi Will,when HTTP_REQUEST { if { [HTTP::uri] starts_with "/ServletA" } { HTTP::uri "/ServletB?DocId=execute&U=A&P=B" use pool NEW_SERVER_POOLb } } 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