Forum Discussion
jbergeron_10592
Jan 25, 2008Nimbostratus
The first one works...but the one I tried naturally didn't...I have somewhat of an inverse Midas touch these days...
Your help would be appreciated.
when HTTP_REQUEST {
if {not ([HTTP::host] equals "www.xyzfree.net") } {
if { ([HTTP::host] equals "www.xyzfree.com") } {
HTTP::redirect "http://www.xyz.com/"
} elseif { ([HTTP::host] equals "www.freexyz.com") \
or ([HTTP::host] equals "www.freexyz.net") } {
HTTP::redirect "http://www.xyz.com/"
} else { HTTP::redirect http://www.xyzfree.net/[HTTP::uri] }
} else { pool xyzFree }
}
Thanks,
JB