Forum Discussion
3 Replies
Sort By
- VernonWellsEmployee
I recommend that you read this recipe:
It covers your exact use-case. However, in brief:
when HTTP_REQUEST { if { [string tolower [HTTP::host]] eq "company.com" } { HTTP::respond 301 Location "http://www.company.com[HTTP::uri]" } }
- ssievers_87378Nimbostratus
if { [http::host] starts with "company.com" }{ redirect " }
- greatme6_294653Nimbostratus
thank you bro .i resolve the problem with a similar method . regards!