Forum Discussion
rprague_79440
Feb 14, 2012Nimbostratus
After reading up on it, I think this is right:
class name_dr {
"drtest dr"
}
when HTTP_REQUEST {
set cust [getfield [HTTP::uri] "/" 2]
set drRedir [findclass $cust $::name_dr " "]
if {$drRedir != ""}{
HTTP::redirect "https://dr.domain.com/[HTTP::uri]"
}
}
Going to try to test it Wednesday (taking tomorrow off). If anyone has any pointers, that'd be great 🙂
Thanks for the help!
Ron