Nevermind ...
It seems to be working now, which is odd. I am not sure why it did not work before.
As for mod_rewrite, I use it for other purposes as well, which is why it is enabled. Cobalt Raqs use mod_rewrite and mod_perl to dyanamically build up redirection for the site admin panel.
As far as redirecting the user -- this ensures that they end up at
www.domain.com as opposed to something else, which provides consistency.
If the trailing slash is not there, then I think the RewriteCond should fail, thus no rewritting.
Code:
RewriteCond %{HTTP_HOST} !^domain.com(:80)?$