HTTP to HTTPS
You want to force people coming to your site to use HTTPS. Either for the entire site or a small sub-section of it.
Using mod_rewrite to do this isn't the recommended behavior. See RedirectSSL
Entire site (.htaccess) :
Note: While the rules you need are the same as above (because the rule above doesn't depend on any of the quirks of rewrite in .htaccess), you will need to ensure that you place this in a .htaccess file in the root of the site you want to apply it against, and to make sure you have the appropriate AllowOverride configuration in your httpd.conf
Either put the above solution in a .htaccess file in the directory to be affected, or put the URI prefix in the regex itself.