Forum Discussion
Gregt_33960
Nimbostratus
Jun 11, 2008IRule send to wrong Pool and Port
Hello,
I am hoping this is going to be an easy fix. I have several web server instances over various ports on a web server and the IRule, using URI filters, was working fine, until I ne...
Gregt_33960
Nimbostratus
Jun 12, 2008Wow... that looks pretty slick... I am going to test this in about an hour. One last question if Might.
Desired URI to pool mapping
http://test.domain.com --> uat_pool
http://test.domain.com/uatpr --> uatpr_pool
http://test.domain.com/train --> train_pool
http://test.domain.com/sandbox --> sandbox_pool
According to the syntax you sent it does not include the default correct? I also need to assign a default pool do I not so that when some one uses
http://test/domain.com
It also points to the uat_pool and appends that pglogin.jsp string.. my old logic, the very end of my IF ELSE Statements looks like:
} elseif {[HTTP::uri] starts_with "/" }{
if {[HTTP::uri] ends_with "/"}{
HTTP::uri "/uat/jsp/common/pgLogin.jsp"
}
pool uat_pool
}
}
To incorporate that do I just use "default" {pool train_pool) syntax at the end for setting the pool?
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
