Forum Discussion
need to redirect http in https but facing some issue
Hello Harry,
Can you post your redirect iRule? I'm willing to bet that you could change your redirect iRule to ignore certain URIs but seeing the actual iRule would help everyone troubleshoot.
Best of luck,
Austin
Alright cool. Yeah so just change the iRule on your HTTP VS to only affect specific URIs. Depending on how many different URIs you want redirected/not redirected it might be easier to add exceptions to either your HTTPS or HTTP traffic but it's your call.
Here's some pseudo-code.
when HTTP_REQUEST {
if { [HTTP::uri] eq }
HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri]
}or something like that.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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