At 09:43 AM 3/31/2008, ref wrote:
> ReWriteCond %{SERVER_NAME} ^domainB.com$
> ReWriteRule ^/$ /foo/bar
>
> and put it above the other ReWrite rules, as once altered it must also
>be subject to them, but it does not work ....
Could be the trailing slash syndrome. Try this:
ReWriteCond %{SERVER_NAME} ^domainB.com/?$
It's a common ailment.