Forum Discussion
R_Marc
Nov 06, 2015Nimbostratus
I would do it like this (myself)
switch -glob [string tolower [HTTP::path]] {
"/news*" -
"/favicon.ico" -
"/links*" -
"/downloads*" -
"/offices*" -
"/programs*" -
"/selling*" -
"/wear*" -
"/links*" -
"/images*" {
pool www-landing_pool
}
default {
HTTP::respond 301 location "http://www.myothersite.com/landing.aspx"
}
}
Doing it with a data-group would be much different. Don't have time to address that presently, however. There might be an example in the wiki.