Forum Discussion
Stefan_Klotz
Mar 10, 2016Cumulonimbus
Hi Albert,
you combined your two if-statements with AND (&&), which will never be true. You need to use or (||). Something like this:
when HTTP_REQUEST {
if { ([HTTP::host] equals "outlook.kw.com.xy") or ([HTTP::host] equals "mail.kw.com.xy") } {
HTTP::redirect "https://[HTTP::host][HTTP::uri]"
}
}
Ciao Stefan 🙂