Forum Discussion
Andrea_Knapp_28
Nimbostratus
Aug 01, 2006Rule based on Directory.....
Hi All -
I am trying to create a rule in which a request is sent to a pool if it is in the directory. For example if http://abc.thisdomain.com comes in I want it to go to a maintenance poo...
Andrea_Knapp_28
Nimbostratus
Aug 02, 2006Hoolio -
Thanks so much that worked. Now with a little twist. I am trying to apply this with SSL, that resides local to the webserver. This means I have a pool set up to go to the SSL. It does not seem to be working. So this is what I have:
if (http_host == "abc.thisdomain.com") {
if (http_uri == "/") {
use pool MaintPageSSL
}
else if (http_uri starts_with "/language") {
use pool ABCSSL
}
else {
discard
}
}
else {
use pool ABCSSL
}
With the MaintPageSSL pointing to a server IPaddress:443 and ABCSSL with member IPAddress:443.
I'm not quite sure what I am doing wrong here. If I just point the Virtual directly to the Pool then it works just fine, but the rule is just spinning and nothing happens, not even a certificate pop up.
Thanks,
Andi
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