Allows say I've got a domain

underneath this document root are two sites: foo &lifier bar

I needed to produce a rewrite rule to ensure that anybody just likely to is rerouted to

however it could leave anybody likely to other real sites alone.

so for instance: -> ->

I'd think getting something similar to this:

RewriteEngine On
RewriteRule ^$  foo/ [L]

works however it does not

any help here?

Presuming it's inside your vHost config you would like:

RewriteEngine On
RewriteRule ^/$  /foo/ [L]