This little trick will show you how to configure Apache to automatically redirect HTTP requests to HTTPS, i.e. http://www.karkomaonline.com to https://www.karkomaonline.com.
Add this directives to you configuration file:
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule …
Read This Post