Forum Discussion
Website does not load after using X-Forwarded-For HTTP header
Thanks,
Aaron
- BenNoonan_35173Mar 23, 2018
Nimbostratus
I believe this may work:
when HTTP_REQUEST { if { [SSL::mode] == 0} { HTTP::redirect http://[HTTP::host][HTTP::uri]} }
- Ravier_356281Apr 17, 2018
Nimbostratus
I'm not sure that's what I'm looking for.
I already have the redirect working for everything that is http to be redirected as HTTPS.
What I need now is basically an exemption mechanism where if the request comes in, and there's no SSL profile for that URL, then to let it go through as HTTP.
- Ben_NoonanMar 23, 2018
Nimbostratus
I believe this may work:
when HTTP_REQUEST { if { [SSL::mode] == 0} { HTTP::redirect http://[HTTP::host][HTTP::uri]} }
- Ravier_356281Apr 17, 2018
Nimbostratus
I'm not sure that's what I'm looking for.
I already have the redirect working for everything that is http to be redirected as HTTPS.
What I need now is basically an exemption mechanism where if the request comes in, and there's no SSL profile for that URL, then to let it go through as HTTP.
- Ravier_356281Apr 17, 2018
Nimbostratus
Is there like a:
if URI match Profile redirect
else return
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