Given this rule (that strips www from urls for http):
< IfModule mod_rewrite.c >
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
</ IfModule >
how do I configure the rewrite to work for https as well?