Forum Discussion
Chris_Olson
Nimbostratus
Nov 10, 2006URI and pool redirection
Having trouble with the following iRule. Any help is appreciated.
when HTTP_REQUEST {
set uri [string tolower [HTTP::uri]]
if { $uri starts_with "/app1" } {
HTTP::uri [...
Deb_Allen_18
Dec 20, 2006Historic F5 Account
No, you will need both iRules, one applied to each virtual server. The iRules should not interfere with each other, as they are applied to different virtuals and only one of the iRules will be triggered for any given connection. (Keeping in mind that a new connection to 2nd virtual will be established after redirection from first.) In general, you can't specify in one iRule the action that should be taken by another iRule for a different connection on a different virtual server.
Did you follow Joe's advice about adding some logging to the first iRule? The resulting log entries should be helpful. Post back with your iRules and the logged results if it still isn't making sense.
HTH
/deb
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