One of my client website having a canonicalization issues..site not redirecting from non www to www.. by placing the following code..and site hosted on Windows NT server..

So is there any difference will be there in .htaccess file from Linux to Windows NT?? Please helpus out...

Following Code Placed:

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^mysite.com [NC]
RewriteRule ^(.*)$ http://www.mysite.com/$1 [L,R=301]

ErrorDocument 404 /error.html

Thanking you,