Forum Discussion
Michael_107360
Cirrus
Nov 13, 2013Partial Redirect based on URI
I need advise on my iRule, This is for a Partial Redirect based on URI
These are the requirments
any URL with NO URI redirects to HTTPS www.website.com redirects to https://www.website.com any...
Michael_107360
Cirrus
Nov 13, 2013ok lets make it simple same rules apply
when HTTP_REQUEST { if { [string tolower [HTTP::uri]] contains "/default.asp" } { HTTP::redirect https://[HTTP::host][HTTP::uri] } elseif { [string tolower [HTTP::uri]] contains "/cash-cards-and-lending/cards/" } { HTTP::redirect https://[HTTP::host][HTTP::uri] } } etc. etc.
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