else if (http_host == “www.nature.com” and http_uri starts_with “/rss/” and http_uri ends_with “/index.html”) {
redirect to “http://www.nature.com/webfeeds/index.html”
}
Need help with the above the syntax for version 9
thanks
Al Tase
else if (http_host == “www.nature.com” and http_uri starts_with “/rss/” and http_uri ends_with “/index.html”) {
redirect to “http://www.nature.com/webfeeds/index.html”
}
Need help with the above the syntax for version 9
thanks
Al Tase
} elseif { ([HTTP::host] equals "www.nature.com") &&
([HTTP::uri] starts_with "/rss/") &&
([HTTP::uri] ends_with "/index.html") } {
HTTP::redirect "http://www.nature.com/webfeeds/index.html"
}