Forum Discussion
Chris_Miller
Aug 17, 2010Altostratus
Posted By iRuleYou on 08/17/2010 11:01 AM
hmm not with all browsers... need the stringtolower to work..
heh needed to look a litle closer... supposed to be string tolower not one word I believe Good point!
when HTTP_REQUEST {
if { [matchclass [string tolower [HTTP::host]] eq $::myclass] } {
HTTP::respond 301 Location "https://www.mydomain/secure"
} else { pool "mysecurepooll_443" }
}
That compiles.