Redirect 301 question

*** closed: answered my own question, but forum won’t let me delete the thread, complains when I try ***

I posted a question asking why I was unsuccessful about redirecting both “www.mydomain…” and “mydomain…” forms of an old page to a new page within the same domain, using:

I had to add another line:

That made both work (the second form alone wouldn’t make both work–oddly,it would still only work for the www-less version).

I figured out that if I redirected to the full path (“http://www.mydomain…”) that both forms work.