How to create a Virtual Directory in IIS7


  
 Applies To 
  
 Product(s):SELECTserver
 Version(s):09.00.00.113
 Environment: Window Server 2008 64 bit, Windows 7 32 bit, Windows 7 64 bit, Windows Server 2008 R2
 Area: Installation / Configuration
 Subarea: IIS Configuration
 Original Author:james white, Bentley Technical Support Group
  

 

 

 

 

 

 

 

 

 

Steps to Accomplish

 

Create a Virtual Directory (IIS 7)

Applies To: Windows 7,
Windows Server 2008, Windows Server 2008 R2, Windows Vista

A virtual directory is a directory name, used in an address, which corresponds to a physical directory
on the server. You can add a virtual directory that will include directory content in a site or an application without having to move the content physically into that site or application directory.

Prerequisites

For information about the levels at which you can perform this procedure, and the modules, handlers,
and permissions that are required to perform this procedure, see Virtual Directories Feature Requirements (IIS 7).

Exceptions to feature requirements

To add a virtual directory

You can perform this procedure by using the user interface (UI), by running Appcmd.exe commands in a
command-line window, by editing configuration files directly, or by writing WMI scripts.

User Interface

To use the UI


  1. Open IIS Manager. For information about opening IIS Manager, see Open IIS Manager (IIS 7).

  2. In the Connections pane, expand the Sites node in the tree, and
    then click to select the site in which you want to create a virtual directory.

  3. In the Actions pane, click VIEW APPLICATIONS

  4. On the Virtual Directories page, in the Actions pane, click ADD APPLICATION.

  5. In the Add APPLICATION Directory dialog box, type a name in the Alias text box.  
    (BSS) This alias is used to access the content from a URL.

  6. In the Physical path text box, type the physical path of the content folder, or click Browse
    to navigate through the file system to find the folder.
    C:\Program Files\Bentley\SELECTServer (or where ever you actually install the application)

  7. Optionally, click Connect as to specify credentials that have permission to access the physical path.
    If you do not use specific credentials, select the Application user (pass-thru authentication)
    option in the Connect As dialog box.

  8. Optionally, click Test Settings to verify the settings that you specified for the virtual directory.

  9. Click OK.

See Also

How to create a new Web Site in IIS7
http://communities.bentley.com/products/licensing/w/licensing__wiki/how-to-create-a-new-website-in-iis7.aspx

Virtual Directories Feature Requirements
http://technet.microsoft.com/en-us/library/cc731205(WS.10).aspx