Forum Discussion
JRahm
Apr 17, 2008Admin
Is port 80 your real server's port? Either way, the error's might be in the placement of your curly brackets. Try this:
when HTTP_REQUEST {
if { [TCP::local_port] == 80 } {
HTTP::redirect "https://test.spheris.com"
} else { discard }
}