Forum Discussion
Michael_McCorm1
Nimbostratus
Apr 22, 2005Redirect Via Rules Hangs then timeout
I am attempting to redirect the incoming url to place the context root in the url. I have written the following rule but when i apply the rule i recieve the the ssl cert but then it hangs eventually t...
Scott_Tennican_
May 03, 2005Historic F5 Account
MattCauth is correct that you have a loop.
But, the solution is to first test whether the redirect has already occurred. Also, you can speed you expression up using a class.
class my_class {
"/wbaTermsAccept"
"/wbaTermsReview"
}
rule myrule {
if (http_uri starts_with "/wbacustomer") {
use pool uatwbacustomer
}
else if (http_uri == one of my_class) {
redirect to "http://%h/wbacustomer/%u"
}
else {
use pool uatwbacustomer
}
}
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
