Forum Discussion
Chris_Corsaro_1
Nimbostratus
Apr 13, 2006iRule to redirect to specific node
We are trying to send all traffic containing a specific uri to one server, however it doesn't seem to be working at this time. This is the iRule that we have setup.
when HTTP_REQUEST { ...
Colin_Walker_12
Apr 13, 2006Historic F5 Account
Your syntax looks VERY close to correct. Try seperating the IP and port numbers with a space, instead of a colon.
Like this:
when HTTP_REQUEST {
if { [string tolower [HTTP::uri] ] starts_with "/csconsole" } {
node 10.x.x.x XXXX
}
}
Colin
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