Forum Discussion
Gregt_33960
Jun 12, 2008Nimbostratus
Wow... 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?