Forum Discussion
ISPCommunicatio
Nimbostratus
Apr 16, 2018redirect URL according to the path
Hello I'm trying to set some iRule in order to do the following : call towards the root / URL : => forward to node on TCP port 443, HTTPS Call towards the subfolder /synchrony => forward to node on TCP port 8091, HTTP
As I'm quite new to iRule, can anyone assist me with this ?
- Lee_Sutcliffe
Nacreous
Create two pools, one for TCP/443 pool members and the other for TCP/8091 pool members, then select based on the requesting URI:
when HTTP_REQUEST { if {[HTTP::uri] equals "/"} { pool 443_pool } elseif { [HTTP::uri] equals "/synchrony"} { pool 8091_pool } }
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