1

I need to redirect HTTPS connections to HTTP site. The problem is there is a SSL certificate on the server. It has problems and we applied to get a new one. But google already indexed our site with https prefix and all firefox users coming from google search result lands on SSL error page. Explorer, Chrome, Safari works fine but Firefox gives SSL error page.

enter image description here

I tried the code below in .htaccess file but since SSL connection already established code below does not work.

RewriteEngine on
RewriteCond %{HTTPS} on
RewriteRule .* http://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Is there a way to tell apache never establish secure connection with client and serve non-secure version of the site?

0

No it's not possible. The SSL connection is the first thing that happens BEFORE any content (including redirects) can happen. You need a new, valid, cert to resolve.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.