Michael_A__Fied
May 21, 2010Nimbostratus
iRule using URI classes to restrict access
(version 9.4.7)
I have been restricting access to certain pools via the following iRule statement:
if { [matchclass [IP::client_addr] equals $::TrustedIPs] and [matchclass [HTTP::path] starts_with $::SomeURIs] } {
pool secure_pool
return
}
else {
pool public_pool
return
}
The SomeURIs class contains elements like "/foo" and "/bar".
It seems like when I use a double slash, i.e. "http://myvirtualip//foo" the iRule statement doesn't come into effect.
Thoughts, considerations?