Re: Virtual directories in IIS
From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 01/07/05
- Next message: John Harris: "Windows Server 2003 Web Edition and FrontPage Server Extensions"
- Previous message: Qonnie: "Re: Can't install IIS on fresh Slipstreamed XP SP2"
- In reply to: Maziar Aflatoun: "Virtual directories in IIS"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 7 Jan 2005 15:52:48 -0800
This really isn't an issue with IIS but rather names.
If you want to have websites that can move around from machine-to-machine or
from one hierarchy location to another, you need to author the webpage as
such. You are authoring HTML, and this is simply how HTML works.
Your concept of "lock everything within my virtual folder" has absolutely no
meaning to a webserver like IIS nor HTML because that is an
application/scope concept. Webservers simply handle requests, translate URL
to Filesystem actions, and returns a response. Something else needs to run
on the server to interpret your intent of "lock everything within my virtual
folder" and implement it as a feature.
Now, you can certainly run custom applications that "rebase" websites
dynamically (like the ASP.Net ~ feature that Kristofer mentions) from the
server perspective, but that's an application feature which has nothing to
do with IIS nor HTML.
-- //David IIS http://blogs.msdn.com/David.Wang This posting is provided "AS IS" with no warranties, and confers no rights. // "Maziar Aflatoun" <maz00@rogers.com> wrote in message news:g_SdnTQukeYobEPcRVn-tw@rogers.com... Hi everyone, I'm suppose to work on a website. I copy all the files over to my computer (Running WinXP Pro) and create a new virtual folder (ex. mysite). There are references to images such as ../images/image1.jpg and /images/image2.jpg which don't come up properly since they become relative to localhost. Ex. http://localhost/images and not http://localhost/mysite/images . There is no way for me to change ../images and /images to just images. Is there a way to lock everything within my virtual folder? so that /images would actually go to http://localhost/mysite/images instead of http://localhost/images? Thank you Maz.
- Next message: John Harris: "Windows Server 2003 Web Edition and FrontPage Server Extensions"
- Previous message: Qonnie: "Re: Can't install IIS on fresh Slipstreamed XP SP2"
- In reply to: Maziar Aflatoun: "Virtual directories in IIS"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|