Forum Discussion
hooleylist
Jun 06, 2012Cirrostratus
Hi,
If you want to make sure all requests to the pool are done with a hostname of www.blah.com, you could use something like this:
when HTTP_REQUEST {
if {[string tolower [HTTP::host]] ne "www.blah.com"}{
HTTP::redirect "http://www.blah.com[HTTP::uri]"
}
}
Aaron