Use the Add Virtual Directory and Edit Virtual Directory dialog boxes to add and edit virtual directories in your sites and applications. Virtual directories are pointers to physical content stored on your local computer or in shares on remote computers. If you want to include content that does not physically reside in your site's or application's directory, you can create a virtual directory that includes content from elsewhere on your Web server or from another computer in your network.

UI Element List

Element Name Description

Site name

Displays the name of the site that will contain the virtual directory.

Path

Displays the application that will contain the virtual directory. If you create a virtual directory at the site level, this box will display /. If you create a virtual directory at the application level, this box will display the name of the application, such as /myApp.

Alias

Type a name for the virtual directory that clients can use to access content from a Web browser. For example, if your site address is http://www.contoso.com/ and you create a virtual directory for this site called /marketing, users can access the virtual directory from their Web browser by typing http://www.contoso.com/marketing/.

Physical path

Type or navigate to the physical path where the virtual directory content is stored. The content can reside on the local computer or come from a remote share. If your content is stored on the local computer, enter the physical path, such as C:\Content. If your content is stored in a remote share, enter the UNC path, such as \\Server\Share. The path that you specify must exist, or you might receive a configuration error. Optionally, click Connect as to provide credentials for an account that is authorized to access content in the physical path.

Opens the Browse for Folder dialog box from which you can select the physical location of your virtual directory content.

Connect as

Opens the Connect As dialog box from which you can select how to connect to the path that you typed in the Physical path box. By default, Application user (pass-through authentication) is selected.

Test Settings

Opens the Test Settings dialog box from which you can view a list of test results to assess whether the path settings are valid.

See Also