Forum Discussion
1 Reply
Sort By
- JRahmAdminTry this:
when HTTP_REQUEST { if { [HTTP::host] equals [domain [HTTP::host] 2] } { HTTP::redirect www.[HTTP::host] } }
How would i redirect http://domain.com to http://www.domain.com
when HTTP_REQUEST {
if { [HTTP::host] equals [domain [HTTP::host] 2] } {
HTTP::redirect www.[HTTP::host]
}
}