Forum Discussion
hooleylist
Jan 31, 2008Cirrostratus
The syntax looks okay. You're missing a forward slash after https: and the URI will already have a leading forward slash, so you should be able to use this:
when HTTP_REQUEST {
if {[string tolower [HTTP::host]] eq "goreporting.abc.com"} {
HTTP::redirect "https://secure.abc.com[HTTP::uri]"
}
}
I assume you have an HTTP profile assigned to the virtual server you're testing this rule on?
Aaron