Forum Discussion
Wasim_Hassan_13
Nimbostratus
Jul 02, 2018Redirect iRule with CAPTCHA
Hi,
We are having one URL where we want to enable the CAPTCHA. We are able to get the CAPTCHA but redirection of the URL is not working. If we disable the CAPTCHA then website will work fine th...
cjunior
Nacreous
Jul 02, 2018Hey, are you doing two iRules to this, one to captcha and one to redirect? If so, did you tried to set low priority on the iRule to give redirection first and then disable events to captcha rule? I don't know exactly what you have tried before, so, it is just shot.
when HTTP_REQUEST priority 300 {
if { [string tolower [HTTP::host]] equals "bitest.abc.com" } {
if { [HTTP::uri] equals "/" } {
HTTP::respond 302 noserver Location "https://bitest.abc.com/ibmcognos/bi/" Connection close
event disable all
return
}
pool PL_BITEST
}
}
Regards
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