JHally_43299
Aug 16, 2012Nimbostratus
HTTPS iRule to map requests to different pools
Hi All,
I have a virtual which I want to direct default traffic to PoolA, but any requests for a specfic directory to another pool. I can do this currently with the following iRule on a virtual for HTTP and it seems to work fine if I set a default pool then add this iRule to the virtual:
when HTTP_REQUEST {
switch -glob [HTTP::host][HTTP::uri] {
"*.somedomain.com/dir1/*" { pool dir1-pool }
}
}
I want to do the same thing for HTTPS requests and I have set up a second virtual with the same default pool and added an SSL client profile to terminate SSL at the LTM, but I'm not sure its working correctly.
has anyone done something similar?
thanks!
John