HTTPS to HTTP redirection
hello awesome people
i have a small simple website with no ssl working normally
if i open it in https .. it takes me to cgibin page then an error
how can i redirect the https to http ? i tried the redirection inside cpanel and i tried the following in htaccess but still not working
[PHP]# Redirect HTTPS to HTTP
RewriteCond %{HTTP:X-Forwarded-Proto} =https
RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [L,R=301][/PHP]
-
This might work for you in your .htaccess file RewriteEngine On RewriteCond %{HTTPS} on RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
0 -
This might work for you in your .htaccess file
RewriteEngine On RewriteCond %{HTTPS} on RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
i did it in the beginning and it did not work .. but the ssl thingy solved the issue ..but it shows the expiry is for 11/11/2017 i have other ssl certificates connected to services (exim) not my apache issues from comodo but for apache i am using the cpanel certificate..is it regenerated later on ?0 -
Hello, Can you confirm which certificate was installed for the domain name? Was it through the AutoSSL feature (WHM >> Manage AutoSSL), or did you use the service SSL certificate from "WHM >> Manage Service SSL Certificates"? Thank you. 0 -
Hello, Can you confirm which certificate was installed for the domain name? Was it through the AutoSSL feature (WHM >> Manage AutoSSL), or did you use the service SSL certificate from "WHM >> Manage Service SSL Certificates"? Thank you.
hello michael .. i think it was autossl as it has cpanel's name and had several dates ..but it was set on a different domain0 -
Hello, You can browse to the "Logs" tab in "WHM >> Manage AutoSSL" and choose the username associated with the account to verify if it's detected as an existing AutoSSL certificate. If so, these certificates are automatically renewed every 90 days as long as AutoSSL is enabled for the account. Thank you. 0
Please sign in to leave a comment.
Comments
7 comments