Forum Discussion
swo0sh_gt_13163
Altostratus
Nov 17, 2013URI Based HTTP/HTTPs redirection.
Hello folks,
Can you please help me building an iRule with a specific requirement? The scenario is, a specific URI should not get redirect over HTTPs and rest of the traffic shall redirect to HT...
nathe
Cirrocumulus
Nov 17, 2013How about modifying the default https redirect irule:
When HTTP_REQUEST {
if { not ([HTTP::uri] eq "/first/second/third") } {
https://[getfield [HTTP::host] ":" 1][HTTP::uri]
}
}
How does that look?
N
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