Forum Discussion
hooleylist
Aug 12, 2011Cirrostratus
I think something like this should work:
switch [string tolower [HTTP::host]] {
"cjj.com" {
HTTP::header replace Host "cjj2.com"
}
default {
HTTP::header replace Host "[getfield [HTTP::host] "cjj2.com" 1]2.cjj.com"
}
}
Aaron