Neil_66348
Apr 30, 2010Nimbostratus
iRules - URI's with "FullStops" in
Hi guys ,
Hope someone can help here .
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::path]] {
"*/dev.inbound.prod.Portal*" {
pool Prod-HTTP-POOL
}
"*/dev-pool*" {
pool DEV-HTTP-POOL
}
default {
pool LIVE-HTTP
}
}
}
The above is a variation of our usual rule for content directing , the problem with the above is that it appears any uri's which have a "fullstop" in dont' work.
So */dev-pool* works fine , but /dev.inbound.prod.Portal* doesn't , if we change "." to be "-" this works.
Unfortunatley the website we wish to apply this to, we cannot change....
Any ideas greatly recieved.
Many Thanks
Neil