Thanks, Denny -
Actually, I got it working (sort of) - at least as far as what I asked for (chuckle)
I used this, with the CLIENT_ACCEPTED, and logging statements in for debugging.
However, reading deeper into the forums has indicated I may need need to do something much different.
Our app is written such that a customer will be posting data to the asmx pages that comprise the service, and the POST data doesn't appear to be being sent through.
Troubleshooting this is difficult, as I can't easily build a test for it... My tools that we use to test don't like it when I use 'Fiddler' or other web debuggers which proxy the https connection.
when CLIENT_ACCEPTED {
set info "client { [IP::client_addr]:[TCP::client_port] -> [IP::local_addr]:[TCP::local_port] }"
log local0. $info
}
when HTTP_REQUEST {
log local0. "REQUEST Host: [HTTP::host], URI: [HTTP::uri]"
if { [string tolower [HTTP::host]] eq "service1.company.com"} {
log local0. "Host: [HTTP::host] matched service1 check"
HTTP::redirect "https://service2.company.com[HTTP::uri]"
log local0. "REDIRECTING TO : https://service2.company.com[HTTP::uri]"
}
}