How to Create a Virtual DirectoryID: Q172138
|
Each 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
Keywords : kbusage iisvirtual iishowto
Version : WinNT:2.0,3.0
Platform : winnt
Issue type : kbinfo
Last Reviewed: April 27, 1999