如下所示,我想将hostloc.com 跳转到www.hostloc.com,却无效。

RewriteCond %{HTTP:Host} ^hostloc\.com$
RewriteRule (.*) http\://www\.hostloc\.com$1 [NC,R=301]