理解什么是 IIS 中的Virtual Directory
2008-10-09 09:54
211 查看
They're sometimes mistakenly called virtual directories, which is a huge pet peeve of mine. Did you click "New Virtual Directory" or the application "Create" button?
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
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
相关文章推荐
- 杂记(什么是内存泄漏,语义化理解,localstorage以及sessionstorage)
- 什么是库?(linux平台下的理解)
- 什么是DOM(个人理解)
- 关于“结构体变量名代表什么”的理解
- 什么是重载?(最文艺的理解)
- 如何理解IIS 7的两种应用程序池的管道模式(Managed Pipeline Mode)
- 用细胞分裂说来理解自然常数e到底是什么
- 百练+递归模拟题+二进制思想 理解好递归每一层做什么
- 什么是泛型?简单记录一下自己理解的泛型。
- 深入理解IIS的多线程工作机制
- 通过简单示例来理解什么是机器学习
- 关于什么是BI的简单理解
- 你如何理解 HTML5 的 section?会在什么场景使用?为什么这些场景使用 section 而不是 div?
- 通俗地理解什么是编程语言
- 理解什么是数据字典
- 理解什么是CGI、FastCGI、PHP-CGI、PHP-FPM、Spawn-FCGI?
- hibernate中的SessionFactory,Session分别表示什么啊?如何理解?
- 是什么原因导致了技术团队对需求理解的不到位?
- 白平衡是什么?怎么理解白平衡?
- 深刻的理解Fragment生命周期 都在做什么,fragment生命周期