lucy24 - 4:03 pm on Jan 7, 2013 (gmt 0)
Let me answer 1/4 of the question first.
When you issue a 301 redirect, give the complete protocol and domain name. There are a couple of different reasons, but the most visible one is that this is how you canonicalize your hostname: with or without www, no trailing port numbers.
Read the fine print and you'll find that a RewriteBase is never necessary, because mod_rewrite uses it only when your rewrite target does not begin with a leading slash-- and your targets always do begin with a slash (or should).
Oh, and never use [NC] in a rule that involves rewriting without redirecting. See most recent 8,000 posts about Duplicate Content.
this second option does not work
Uh-oh, the dreaded Does Not Work. You gotta assume the people reading your post are idiots who cannot read your mind, so you have to explain exactly what "does not work" means.
:: sitting back for g1 or someone like him to deal with the hard parts ::