Creating Virtual Directories
To create a new virtual directory on a domain:
- Click Web Directories on your Home page. You are in your web site root now.
- Navigate to the directory in which you want to create a new virtual directory.
- Click Add New Virtual Directory.
Note. To create a physical directory instead of virtual directory, click Add New Directory, specify the name of the directory and click OK.
- Specify the required parameters:
- Name - specify the virtual directory name.
- Path - specify the virtual directory path:
- Select the Create physical directory with the same name as virtual directory checkbox to automatically create a physical directory with the same name as the virtual directory you are creating.
- Clear the Create physical directory with the same name as virtual directory checkbox and specify the path in the field to select the physical directory that already exists.
- Script source access - select this checkbox to allow users to access source code if either Read or Write permissions are set. Source code includes scripts in ASP applications.
- Read permission - select this checkbox to allow users to read files or directories and their associated properties.
- Write permission - select this checkbox to allow users to upload files and their associated properties to the virutal directory or to change content in a write-enabled file. Write access is allowed only if browser supports the PUT feature of the HTTP 1.1 protocol.
- Directory browsing - select this checkbox to allow users to see a hypertext listing of the files and subdirectories in the virtual directory.
- Log visits - select this checkbox if you want to store the information about visits of the virtual directory.
- Create application - select this checkbox to make the web directory an IIS Application. The directory becomes logically independent from the rest of the web-site.
- Execute permissions - select the appropriate program execution level allowed for the virtual directory.
- None - allow access only to static files such as HTML or image files.
- Scripts only - allow running scripts only, not executables.
- Scripts and Executables - remove all restrictions so that all file types can be executed.
- ASP Settings - set specific settings for ASP-based web applications.
- Click OK to complete the creation.
To set access permissions for a virtual directory:
- Click Web Directories on your home page.
- Click the
icon corresponding to the directory you wish to open, and set the access permissions for this directory and all its files. Refer to the Setting File and Folder Access Permissions section for more information on setting access permissions.
To configure ASP.NET settings for a virtual directory:
- Click Web Directories on your home page.
- Browse to the required directory and enter it.
- Click ASP.NET and set the options accordingly.
Refer to the Configuring ASP.NET for Virtual Directories section for more information on configuring ASP.NET