.htaccess advanced redirecting help

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Hi all, I'm fairly new to htaccess lingo so I was wondering if anyone
out there could give me a hand with this... I want to redirect all
requests for:

http://www.scouttalk.ie/anyname /

to a PHP file here:


Where 'anyname' is a wildcard. Can anyone help with the code please?
I've managed this so far:

RewriteRule (.*)/$ /unit.php?name=3D$1 [R=3D301,L,nc]

but this doesnt allow for http://anyname.scouttalk.ie .

Any help or suggestions would be greatly appreciated! Thanks

Site Timeline