Forum Discussion
http2https redirection
Hi All
i want http://www.abc.com to be redirected to https://www.abc.com and i already configured the builtin irule and also configure policy at different times however it is not working at all. Even the policy redirection blocks the page at all even the https one that was working what will be the possible reason and solution
Regads
the irule _sys_https_redirect MUST NOT BE APPLIED to the HTTPS virtual server...
this irule MUST BE ASSIGNED to a NEW HTTP virtual server listening on port 80
- Stanislas_Piro2Cumulonimbus
you have to create 2 virtual servers
- virtual server http listening on port 80 with http profile and builtin irule
- virtual server https listening on port 443 with http and client SSL profile
- starboyCirrus
@Stanislas Piron
it converts the http to https however still not working it gives the following message "The page isn’t redirecting properly" when the page displays
- Stanislas_Piro2Cumulonimbus
Does the https virtual server work when you request https://www.abc.com ?
- starboyCirrus
no the same message appears on both http and https://www.abc.com
- Stanislas_Piro2Cumulonimbus
and of course, the http and https virtual servers are listening on the same IP address.
- Stanislas_Piro2Cumulonimbus
So first, you have to make the https virtual server working, before working with http2https redirection...
- Stanislas_Piro2Cumulonimbus
the irule _sys_https_redirect MUST NOT BE APPLIED to the HTTPS virtual server...
this irule MUST BE ASSIGNED to a NEW HTTP virtual server listening on port 80
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