A true "virtual directory" means that the content is not actually physically located under the web root path - it's somewhere else and is mapped so it's accesible via HTTP. For example, let's say you have the default web root at C:/inetpub/wwwroot, and some Office files located at D:/files. If you wanted to make these available, you could create a virtual directory named "office" and map it to D:/files. Your users could then go to http://servername/office and browse those files - note that C:/inetpub/wwwroot/office does not exist. This is a virtual directory, and has nothiing to do with application settings.
-Tom
本文详细解释了虚拟目录的概念,包括其工作原理及如何设置。通过实例说明了如何将不在Web根目录下的文件映射到可通过HTTP访问的位置。
784

被折叠的 条评论
为什么被折叠?



