Forum Discussion
HTTPS iRule to map requests to different pools
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
- Gbps_31870NimbostratusHi JHally,
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com