Forum Discussion
wctwf_78814
Nimbostratus
Feb 09, 2009Validation of iRule HTTPS::REDIRECT
Totally blank on the scripting side of things so here is the scenario for which iRule needs to be written. Looking for some insight here as to what's the logic to apply here.
Situation ...
lmwf1_55268
Nimbostratus
Mar 10, 2009The control operators are && (read as AND) and || (read as OR). The syntax for AND list is as follows
Syntax:
command1 && command2
command2 is executed if, and only if, command1 returns an exit status of zero.
The code cmbhatt provided evaluates:
command1 = ([HTTP::host] eq "www.ensynch.com")
AND
command2 = ([HTTP::uri] ends_with "/")
if BOTH are true, then will redirect.
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
