Forum Discussion
Eddie_27920
Nimbostratus
Feb 17, 2009Beginner Help with an HTTPS iRule
Hi all,
This is what I thought would work to look at the HTTPS request and use 2 different pools to send the traffic to. Everything I've looked at in DevCentral always has HTTP examples. Can I not look at the url and make a iRule determination?
when HTTPS_REQUEST {
if { [HTTPS::path] contains "chat.mesaaz.gov" }{
pool chat.mesaaz.gov_pool
} elseif { [HTTPS::path] contains "ocs.mesaaz.gov" }{
pool ocs.mesaaz.gov_pool
} else {
pool default_gateway_pool
}
}
Thanks,
Eddie
- The_Bhattman
Nimbostratus
Hi Eddie,when HTTP_REQUEST { if { [HTTP::path] contains "chat.mesaaz.gov" }{ pool chat.mesaaz.gov_pool } elseif { [HTTP::path] contains "ocs.mesaaz.gov" }{ pool ocs.mesaaz.gov_pool } else { pool default_gateway_pool } }
- Eddie_27920
Nimbostratus
Hi thanks for your response but the back-end servers are HTTPS. - The_Bhattman
Nimbostratus
Not in the manner you want control it. - dennypayne
Employee
Posted By cmbhatt on 02/17/2009 7:14 AM
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects