Hoolio sweeps in for the win.
üòÜ
Here's an example of what he's talking about:
when HTTP_REQUEST {
if {[string tolower [HTTP::host]] eq "devurl.mycompany.com" } {
switch -glob [string tolower [HTTP::uri]] {
"/landing/sections/innovation/article/*" {
HTTP::respond 301 Location [string map {/landing/sections/innovation/article /articles} [HTTP::path]][HTTP::query]
}
"/landing/sections/lifestyle/article/*" {
HTTP::respond 301 Location [string map {/landing/sections/lifestyle/article /articles} [HTTP::path]][HTTP::query]
}
}
pool POOL-X001
}
}