RE: directory configuration issue w/2K pro

From: Kristofer Gafvert (kgafvert_at_NEWSilopia.com)
Date: 07/09/04


Date: Thu, 8 Jul 2004 23:22:01 -0700

Hello,

In addition to what Tom said, please also see here:

http://www.iisfaq.com/Default.aspx?tabid=3037

-- 
Regards,
Kristofer Gafvert - IIS MVP
http://www.ilopia.com
(WebNews)
"Jeff B." wrote:
> 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
> 
> 
> 


Relevant Pages

  • Re: exploited win2k box, not quite sure how:
    ... > Win2k server, SP2 ... the patch level on the OS was SP2. ... As for anonymous writeable ftp, ... IIS had three definitions to ...
    (Incidents)
  • directory configuration issue w/2K pro
    ... this works perfectly on the server, which is a win2k server machine. ... websites to provide this type of directory remapping. ... i'm willing to go into the IIS config ...
    (microsoft.public.inetserver.iis)
  • IIS Login
    ... I have configured 2 ftp sites on iis (win2k server version) ... (as well as the ftproot directory) ... documentation for configuring iis? ...
    (microsoft.public.win2000.security)
  • IIS Logon
    ... I have configured 2 ftp sites on iis (win2k server version) ... (as well as the ftproot directory) ... documentation for configuring iis? ...
    (microsoft.public.win2000.general)
  • IIS Logon
    ... I have configured 2 ftp sites on iis (win2k server version) ... directory (as well as the ftproot directory) ... documentation for configuring iis? ...
    (microsoft.public.inetserver.iis)