For various reasons, such as cookies, SEO, and to keep things simple, I would like to make apache automatically redirect any requests for http://www.foobar.com/anything to h
Since you mentioned using mod_rewrite, I'd suggest a simple rule in your .htaccess - doesn't seem monstrous to me :)
RewriteCond %{HTTP_HOST} ^www\.foobar\.com$ [NC] RewriteRule ^(.*)$ http://foobar.com/$1 [L,R=301]