Forum Discussion
Stuart_Feathers
Sep 28, 2012Nimbostratus
Thank you for the reply What Lies Beneath.
Before I saw your reply I figured out the problem. I was able to get it to work by using the following code. Again, THANKS!!
when HTTP_REQUEST {
if { not (([string tolower [HTTP::uri]] starts_with "/site1") || ([string tolower [HTTP::uri]] starts_with "/site2")) } {
HTTP::respond 301 Location "https://www.abc.com[HTTP::uri]"
}
}