Forum Discussion
Luca_55898
Aug 04, 2011Nimbostratus
redirect HTTPS to HTTP
So this is backwards from most requests, but i need to redirect anything that comes to a site on HTTPS to HTTP.
Will this do it?
when HTTP_REQUEST {
if {[HTTP::uri] equals {https://www....
Luca_55898
Aug 05, 2011Nimbostratus
I have been doing a lot of research on this and i still can't get this working.
Currently i have this iRule which has been mentioned in numerous threads on this forum.
when HTTP_REQUEST {
HTTP::redirect http://[HTTP::host][HTTP::uri]
}
However i'm still not getting anywhere.
Do i need a client SSL profile for the HTTPS VIP?
Do i need to assign a pool to the HTTPS VIP
Here are some of the threads i have seen on this same topic:
http://devcentral-llix.f5.com/Community/GroupDetails/tabid/1082223/asg/50/aft/1176927/showtab/groupforums/Default.aspx
http://devcentral.f5.com/Community/GroupDetails/tabid/1082223/asg/50/aft/1174687/showtab/groupforums/Default.aspx
http://devcentral.f5.com/Community/GroupDetails/tabid/1082223/asg/50/aft/1172198/showtab/groupforums/Default.aspx
All of them use a similar iRule to the one i have above. However nothing really talks about if a pool is required or an SSL client.
I have tried it with both and am getting nowhere!
Update: SO looks like you do need a client SSL cert. I don't have one for this site but just assigned another one and it worked! There was a certificate error, but it worked none the less
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