Hi all.

I'm hosting two sites on my XP PC. I would like to redirect a user based on
the url entered in the browser.

For example, a user enters www.somewhere.com and I'd like to send them to a
virtual site/dir for that url.

When a user enters www.somewhereelse.com, I'd like to redirect them to a
different virtual site/dir.

I've read a lot on the web about redirection, but I think I need some code
to get the url from the request (I guess), then redirect based on that info.

I hope I'm on the right track and I would sure appreciate any help.

Thanks.

MP