Forum Discussion
1 Reply
Sort By
Looks fine to me, but you might want to do a string to lower when comparing the user agent:
when HTTP_REQUEST { set ua [string tolower [HTTP::header User-Agent]] if { $ua contains "mobile" and $ua contains "android" } { HTTP::header replace "Host" "www.new-site.com" pool pool_mobile } }
/Patrik