Forum Discussion
Chris_Corsaro_1
Nimbostratus
Mar 16, 2006uri pool redirection using single domain
Hello,
I need to redirect user connections from a single domain name with different virtual server directories. I am sorry but I'm very new to iRules, so please bear with me, I am truly a n...
Chris_Corsaro_1
Nimbostratus
Mar 16, 2006Thanks Joe.
I will give this a shot once we have those separate client instances up and running.
Question? : the string tolower function will convert all http requests into lower case?
Also, and this is my lack of experience in this, we have a global_ssl iRule that converts all http requests to https and sends them to our SSL pool so all connections are https.
1)Would I compile the two rules together? or
2)would i create 2 separate iRules and would I have to make the global_ssl rule take precendence?
3) Would I create the rule made above to show as HTTPS?
when HTTPS_REQUEST {
set uri [string tolower [HTTPS::uri]]
if { $uri starts_with "/client1" } {
pool Client1-Pool
} elseif { $uri starts_with "/client2" } {
pool Client2-Pool
} elseif { $uri starts_with "/client3" } {
pool Client3-Pool
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
