Forum Discussion
slackwaresuppor
May 28, 2008Nimbostratus
so this is what ive come up with..
when HTTP_REQUEST {
if {[getfield [HTTP::host] ".domain.com" 1] eq "www" }
{HTTP::redirect https://www.domain1.com/nsa/+homePage=[getfield [HTTP::host] ".domain.com" 2]
}
else {HTTP::redirect https://www.domain1.com/nsa/+homePage=[HTTP::host]}
}
the non www is working.. the www is not.. any ideas?