apache - Redirect from https to http url stored from google -


in search google , found domain url https , not http . example : https://xxxx.com/yyyy/zzzz , not http://xxxx.com/yyyy/zzzz it's possible redirect https http domain xxxx.com ? use centos , apache web server on same server, have certificate https respond https://zzzz.com

carlo

this work mod_rewrite on. put code in .htaccess file @ root of site.

rewriteengine on rewritecond %{https} on rewriterule (.*) http://%{http_host}%{request_uri} 

Comments

Popular posts from this blog

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

Why can rails not find a route created by a helper? -

javascript - jquery or ashx not working -