Forum Discussion
JRahm
Nov 26, 2015Admin
Try this:
when HTTP_REQUEST {
if { [llength [split [HTTP::host] "."]] < 3 } {
HTTP::redirect https://www.[HTTP::host][HTTP::uri]
}
}
More details and some example tclsh code in this similar thread.
Try this:
when HTTP_REQUEST {
if { [llength [split [HTTP::host] "."]] < 3 } {
HTTP::redirect https://www.[HTTP::host][HTTP::uri]
}
}
More details and some example tclsh code in this similar thread.