Forum Discussion
Chris_Schaerli_
Nimbostratus
17 years agoRedirect or rewrite?
Hi,
I am trying to setup something to direct traffic based on source IP. We are rolling out an application and we want to do it in phased approach.
This is wha...
Chris_Schaerli_
Nimbostratus
17 years agoAaron,
That logic worked great. I setup two rules, one for HTTP traffic and the other for HTTPS. One new wrinkle. I have now been told this is going to be on a shared VIP. So I can't use the IP based rule alone. I need to look at the URI and if traffic matches a pattern then the IP based rules would pick up the traffic.
This is what my url looks like is this https://foo.com/portal/site/../..
There was a section of code posted earlier this week for matching the URI.
when HTTP_REQUEST {
if {[HTTP::uri] eq "/portl/site/"}
What is the best way to put together the URI and the IP match?
Chris
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