Forum Discussion
Chris_Minnich_1
Nimbostratus
Mar 27, 2007URL based redirect...
Hello...
I have 3 instances where I need certain URL's to be directed to a specific pool (the same pool), http://websitename/calendar, http://websitename/cgi-bin and http://websitename/smd/studen...
Chris_Minnich_1
Nimbostratus
Mar 27, 2007I made one more change to the irule...learning as I go!
when HTTP_REQUEST {
if {[string tolower [HTTP::uri]] starts_with "/calendar" } {
pool URMCPublicExclusion_HTTP_Pool
} elseif {[string tolower [HTTP::uri]] starts_with "/smd/student/2008" } {
pool URMCPublicExclusion_HTTP_Pool
} elseif {[string tolower [HTTP::uri]] starts_with "/cgi-bin" } {
pool URMCPublicExclusion_HTTP_Pool
}
}
If the request does not meet any of these criteria, it will pass along to the default pool, correct? Thanks!
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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