title: In Apache .htaccess file using mod_rewrite, is it possible to force www AND force https for a domain?
body: <pre><code>RewriteCond %{HTTP_HOST} !^www.example.co.uk$ [NC] 
  RewriteRule ^(.*)$ https://www.example.co.uk/$1 [R=301,QSA,L] 
  </code></pre>
  
  <p>thats for the www, but I cannot figure out in a one-pass way how to force the https too? </p>