Forum Discussion
CSA
Mar 23, 2010Nimbostratus
Answering myself:
when HTTP_REQUEST {
if { [ string tolower [HTTP::host] ] matches_regex {^\w\w\.domain\.com$} } {
HTTP::redirect "http://www.[HTTP::host]"
}
}
Any remarks are welcome if I did something wrong.