The question makes no sense. In the URLs below, "user1" is a virtual
directory, not an "alias". Virtual directories are mappings to physical
directories on the server. If they are "aliases", they are aliases of
directories, not of files or of users.
"Default.aspx", meanwhile, is a file. Files cannot be mapped. What I have
done occasionally is create a directory that appears like a filename. For
example:
http://www.mydomain.com/default.aspx/default.aspx
... in which case, a directory called "default.aspx" contains a file,
"default.aspx". In this case, you can map "user1", et al, to the same
directory as that which hosts "/default.aspx/..."
However, there is no advantage to having a subdirectory named
"default.aspx".
Of course, you can also try mapping the virtual directories "user1",
"user2", et al, to the same physical path as the root directory of the
virtual server.
Jon
"Maziar Aflatoun" <ma***@rogers.com> wrote in message
news:cx********************@news04.bloor.is.net.ca ble.rogers.com...
Hi,
Does anyone know if it's possible to do the following in IIS using
ASP.NET.
For example to setup aliases user1, user2, and user3
http://www.mydomain.com/user1
http://www.mydomain.com/user2
http://www.mydomain.com/user3
all calling http://www.mydomain.com/default.aspx
and extracting the user1..3 within default.aspx page?
Thank you
Maziar A.