Forum Discussion
Gerlan_32355
Altostratus
May 02, 2014Detect Redirect
Hi Everyone,
I'm trying write an iRule to detect any redirect from my internal servers to the external domains.
Example: the internet user acess my webpage: www.acme.com/product and the develop...
StephanManthey
Nacreous
May 02, 2014By now I have never used the function [HTTP::is_redirect].
Instead I looked after the the [HTTP::status] in the context of HTTP_RESPONSE event:if { [HTTP::status] starts_with "3" } {}
As you mentioned, the event might be triggered by a redirect our of your own iRule.
How about applying i.e. an "event disable all" after your own redirect to avoid further evaluations in the context of follow-up events? Thanks, StephanHelp 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