Activities

April 2010
M T W T F S S
« Mar   May »
 1234
567891011
12131415161718
19202122232425
2627282930  

Force users to use https rather than http

Here is the rewrite rule which helps to re-direct all http requests will change to https tunnel when the user hit it on the browser

Copy it on .htaccess to the folder where you want to protect the access only through SSL.

RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}