Let's say I have the sites siteA.com and siteB.com. They are hosted such that siteB.com actually points to siteA.com/siteB.
How can I block someone from visiting siteA.com/siteB using mod_rewrite?
So far I've tried this to no avail (in root of siteA.com):
RedirectMatch 301 ^/siteB/$ http://someothersite.com/