Jason_40769
Apr 18, 2011Nimbostratus
Subdomain Redirect
I am trying to redirect subdomain and a domain name to have www but the F5 doesn't recognize the subdomain redirect. What I have:
when HTTP_REQUEST {
if { [HTTP::host] == "domain.com/member" } {
HTTP::redirect "www.domain.com/member"
}
if { [HTTP::host] == "domain.com" } {
HTTP::redirect "www.domain.com"
}
}