Forum Discussion
Kai_Wilke
Feb 02, 2016MVP
Hi Brenden,
you may try the snippets below...
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] eq "www.website.com" } then {
HTTP::redirect "http://[getfield [HTTP::host] ":" 1][HTTP::uri]"
}
}
Note: I didn't understand "This is so that I can work on the https website and end users won't be affected." Can you explain this requirement a little further?
Cheers, Kai