Forum Discussion
Brett_Channon_1
Nimbostratus
Feb 23, 2007Redirect to a pool and change port
Hi all,
After having not looked at irule's for a while i'm somewhat slow at getting back in to it and so would appreciate some help.
I want to take a port 80 HTTP request and if th...
JRahm
Admin
Feb 23, 2007you could create another pool that has members defined with port 9999...
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "xxx" } {
pool newPool
}
}Or you could do something like this:
when LB_SELECTED {
if { [string tolower [HTTP::uri]] contains "xxx" } {
pool [LB::server pool] member [LB::server addr] 9999
}
}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
