Forum Discussion
greenasp_41938
Nimbostratus
Aug 11, 2009Redirect url by subfolder
We currently have a domain that points to a set of servers (www.abc.com), however, we have a new requirement to have certain sub directories (not all) point to another set of servers. (i.e.- www.abc.c...
dennypayne
Employee
Aug 11, 2009It looks like Joe's code is still the way to go, you just need to substitute the correct pool names and make an exception for /content/media.
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/content/media*" {
pool original_pool
}
"/content*" {
pool new_content
}
default {
pool original_pool
}
}
}
Denny
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