Forum Discussion
Gill_32697
Dec 03, 2013Nimbostratus
https redirect except not for this client ip.
Another irule help please. I have this basic https redirect on a vip, it currently applies a redirect to all vip traffic.
I need to modify so if a specific client IP comes in, there is no redirect ap...
- Dec 03, 2013
Correct the ! == not so if should read if the client ip not euqal 55.66.77.88 then do this. With out the ! it would only redirect on the IP match.
Richard__Harlan
Dec 03, 2013Historic F5 Account
The following should give you a idea on what to do.
when HTTP_REQUEST { if { ! [IP::addr [IP::client_addr] equals 55.66.77.88] } { HTTP::redirect "HTTPS://[HTTP::host][HTTP::uri]" } }
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