How to Create a Virtual DirectoryLast reviewed: November 19, 1997Article ID: Q172138 |
The information in this article applies to:
SUMMARYEach of the Internet services can publish from multiple directories. Each directory can be located on a local drive or across the network by specifying the directory with a Universal Naming Convention (UNC) name, and a user name and password to use for access permission. A virtual server can have one home directory and any number of other publishing directories. These other publishing directories are referred to as virtual directories. To simplify client URL addresses, the services present the entire set of publishing directories to clients as a single directory tree. The home directory is the root of this virtual directory tree, and each virtual directory is addressed as if it was a subdirectory of the home directory. Actual subdirectories of the virtual directories are available to clients as well. The WWW service alone supports virtual servers; thus, the FTP and gopher services can have only one home directory. When a virtual directory is defined in Internet Service Manager, an alias is associated with the virtual directory. The alias is the subdirectory name that will be used by clients to access information in the virtual directory. If alias names for virtual directories are not specified by the administrator, an alias name is generated automatically by Internet Service Manager. For example, an administrator may define two virtual directories for the WWW service as follows:
C:\Wwwroot D:\Webdata Alias = data MORE INFORMATION
Creating Virtual DirectoriesYou can create an almost unlimited number of virtual directories for your service, although performance may suffer if you create too many of them.
For the WWW service, you can also create links in HTML pages. For the gopher service, you can create explicit links in tag files so users can access virtual directories. For the FTP service, you can list virtual directories by using directory annotations. To browse virtual directories, the URL for the virtual directory must be specified. You can do this by either clicking a hypertext link containing the URL or by typing the URL in the browser. Additional information is available in the Internet Information Server On-Line documentation and the Microsoft Windows NT Server Resource Kit. Keywords : iishowto iisvirtual kbusage kbinfo Version : WinNT:2.0,3.0 Platform : winnt Hardware : ALPHA x86 Issue type : kbinfo |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |