Forum Discussion
Abed_AL-R
Jun 10, 2020Cirrostratus
Try this:
when HTTP_REQUEST {
if { ([HTTP::host] equals "abc.com") } {
if { (not [HTTP::uri] starts_with "/xyz") } {
HTTP::redirect "https://bbc.com"
}
}
}
Try this:
when HTTP_REQUEST {
if { ([HTTP::host] equals "abc.com") } {
if { (not [HTTP::uri] starts_with "/xyz") } {
HTTP::redirect "https://bbc.com"
}
}
}