directory configuration issue w/2K pro

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Jeff B. (26oo_at_cox.net)
Date: 07/08/04


Date: Thu, 8 Jul 2004 15:14:00 -0500

First off, accept my apologies if this has been discussed before... I tried
numerous searches but was unable to find any relevant info...

My problem is this:

I have 3 different websites residing on the same machine.

abc.com references redirect to \inetpub\wwwroot\abc
stu.com references redirect to \inetpub\wwwroot\stu
xyz.com references redirect to \inetpub\wwwroot\xyz

within the code for these sites I reference url's like "/file.aspx" which in
turn accesses files located at \inetpub\wwwroot\abc\file.aspx for example...

this works perfectly on the server, which is a win2k server machine.
however, on my win2k pro development machine I am unable to create multiple
websites to provide this type of directory remapping. to work properly in
this environment the code needs to be changed to reference "/abc/file.aspx".
this is obviously a headache. is there a way that I can make IIS do this
mapping on a win2k pro machine? i'm NOT looking to have it work for all
sites at the same time (that would be nice but i've already read that this
isn't possible w/o win2k server), i'm willing to go into the IIS config
manager to change something when i switch between working on abc.com and
xyz.com. i've looked at virtual directories, but they don't allow me to
specify a "null" alias name, which is what i really need in this case... i
need the url http://localhost/file.aspx to actually load
\inetpub\wwwroot\abc\file.aspx.

i have this terrible feeling that i'm missing something very simple that
could solve this problem.

thanks!
Jeff