htaccess: non SSL traffic to a ssl website

htaccess: non SSL traffic to a ssl website

RewriteEngine On

RewriteCond %{HTTPS} off

RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

 

Forrest

Name: Forrest Age: 42 Location: Washington State enjoys computers, programming, web design and development. I really enjoy working with 3d models. Was recently diagnosed with narcolepsy with cataplexy. It all the sudden appeared in 2011. My life has not been the same.

Leave a Reply

Skip to toolbar