I can't make this "powerfull" mod_rewrite to do a simple thing in .htaccess
RewriteBase /directory
RewriteCond %{HTTP_HOST} !^www\.somesite\.com [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^(.*)$ http://www.somesite.com/directory$1 [R=301]
requesting http://somesite.com/directory makes redirect to
http://somesite.com/directory/home/somesite/directory
What the heck?