Forum Discussion
Michael_Yates
Feb 16, 2012Nimbostratus
Hi rdessert,
Try this:
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] starts_with "/abc" || [string tolower [HTTP::uri]] starts_with "/def" } {
HTTP::respond 301 Location "https://[getfield [HTTP::host] : "1"][HTTP::uri]"
}
}
Hope this helps.