One MAJOR error is that you have the redirect listed AFTER the rewrites
For a non-www request this will expose the internal filepath back out on to the web as a URL.
You must list all of the redirect code before any of the rewrites.
See http://www.zen-cart.com/forum/showthread.php?t=151606 for more robust non-www to www redirect code.
Bookmarks