Neil_Bradley
asked on
htaccess
Hi all,
my aim is to use htaccess to move all requests to https to http.
My question is this. Can this be done if the domain name does not have a secure certificate and if so then how.
This is what I have come up with but no luck
N
my aim is to use htaccess to move all requests to https to http.
My question is this. Can this be done if the domain name does not have a secure certificate and if so then how.
This is what I have come up with but no luck
RewriteEngine On
RewriteCond %{HTTPS} on
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
Cheers,N
The SSL/TLS security certificate is part of what provides the HTTPS encryption. You can not use HTTPS without one.
ASKER
Yes I know that but my question asks if it is possible to re direct any https requests to http?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Dave, I suspected as much but good to have, confirmation.
Cheers,
Neil
Cheers,
Neil
You're welcome. I vaguely remembered trying that before so I re-did the experiment on two of my sites, one with SSL and one without, to make sure.