Forum Discussion
Arun_Bhardwaj_1
Cirrus
Mar 11, 2015URL redirtion not happning through Irule.
Hi All,
I am using simple Irule to redirect Url.
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] equals "abc.com" } {
HTTP::redirect "https://abc.com/welcome/do"
}
}...
Hannes_Rapp
Nimbostratus
Mar 11, 2015If you use multiple iRules, another possible cause would be a TCL error (e.g. due to multiple redirect invocations). Take a brief look at the /var/log/ltm file as you initiate a connection. If this happens to be the case, use the
event disable command after each redirect statement to ensure no more than one BigIP redirect will be invoked per request.- ArieMar 12, 2015
Altostratus
Good point, but wouldn't `event disable` risk disabling other (required) functionality? I usually implement a semaphore to prevent multiple responses.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
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