Forum Discussion
cory_hase_69275
Nimbostratus
Jun 03, 2008http to https redirect for vip unless uri contains "vip"
I have a vip with a http to https redirect irule on it, I need to have user traffic that hits that vip and contains "vip" in the uri to not redirect. I know this must be easy, can any one help?
Thanks a ton
- hoolio
Cirrostratus
Something like this?when HTTP_REQUEST { log local0. "[IP::client_addr]:[TCP::client_port]: [HTTP::method] [HTTP::host][HTTP::uri]" Check if URI doesn't contain "vip" if {not ([HTTP::uri] contains "vip")}{ Redirect client to https log local0. "[IP::client_addr]:[TCP::client_port]: redirecting to https://[HTTP::host][HTTP::uri]" 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