Forum Discussion
Ian_Amos_37833
Nimbostratus
Apr 27, 2007Using [HTTP::hostname] & [HTTP::uri]..
Afternoon all,
there is probably a really easy solution for this, but i've not had any F5 training, and have run out of ideas..
To try and explain the situation;
there is...
hoolio
Cirrostratus
Apr 27, 2007"&" is for bitwise operations. You can use "&&" for logical ANDing. Or you can just use "and"!
Here's a reference:
http://tmml.sourceforge.net/doc/tcl/expr.html
Here's an example:
if {[HTTP::host] starts_with "uat" && [HTTP::uri] starts_with "/static/"}{This is equivalent to "and":
if {[HTTP::host] starts_with "uat" and [HTTP::uri] starts_with "/static/"}{Aaron
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