Forum Discussion
t-roy
Jun 07, 2012Nimbostratus
think you want something like:
when HTTP_REQUEST {
if {[string tolower [HTTP::host]] contains ".domain.com"}{
HTTP::redirect "https://x.domain.com[HTTP::uri]"
}
}
when HTTP_REQUEST {
if {[string tolower [HTTP::host]] contains ".domain.com"}{
HTTP::redirect "https://x.domain.com[HTTP::uri]"
}
}