Previous page | Next page | Locate page |

### Changing Virtual Directory Settings

To change preferences of an existing virtual directory on a domain:

1. On your home page, click the domain name you need.
2. Click Web Directories in the Hosting group.
3. Find the directory which preferences you wish to change, and click , or click Directory Access Permissions in the required directory.
4. Change the preferences of the virtual directory:
   - Name - specify virtual directory name.
   - Path - specify the path to the physical directory which virtual directory is linked to.
   - 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 virtual 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.

   - Allow to use parent paths - select this checkbox to allow using double period in the pathname when referring to a folder above the current web directory. This makes users able to move up the folder tree without knowing the folder name or the whereabouts in the hierarchy. If the option is selected, parent path directories should not have the Execute permission checkbox selected in their preferences, so that applications do not have the ability of unauthorized running of programs in the parent paths.
   - Allow application execution in MTA (multi-threaded apartment) mode - select this checkbox to allow the application execution in multi-threaded apartment (MTA) mode. Otherwise the application will run in a single-threaded apartment (STA) mode. Using STA, each application pool is executed in a dedicated process. With MTA, several concurrent application pools are executed in one thread which can increase performance in some cases.
   - Use default documents - select this checkbox to allow the use of default documents for the current web directory. The default document is sent when users access the directory on the Web without a specific file name (for example, using 'http://www.parallels.com' as opposed to 'http://www.parallels.com/index.html'). If this checkbox is cleared and the Directory browsing checkbox is selected, the Web server returns a folder listing. If this checkbox is cleared and the Directory browsing checkbox is cleared as well, the Web server returns an "Access Forbidden" error message.
   - Default documents search order - specifies the order in which IIS searches for the default document, sending user the first available file it finds. If no match is found, IIS behaves as in the cases when the default content page is disabled.
   - Allow anonymous access - select this checkbox if you want to make the directory public so that web users could access it without authentication.
   - Require SSL - select this checkbox to enable SSL-only access to the folder.
   - ASP Settings - set specific settings for ASP-based web applications.
     - If you are using ASP-based applications that cannot operate correctly under data transfer restrictions currently set by IIS, deselect the Defined by parent directory check box corresponding to the field you want to change and type in the required number.
     - If you want to enable debugging of ASP applications on the server side, deselect the corresponding Defined by parent directory check box and select the Enable ASP server-side script debugging check box.
     - If you want to enable debugging of ASP applications on the client side, deselect the corresponding Defined by parent directory check box and select the Enable ASP client-side script debugging check box.

       Note that if you are trying to change ASP Settings for the root web directory, the default check box names will be Defined by IIS.instead of Defined by parent directory.

5. Click OK to save changes.

To change access permissions for a virtual directory:

1. Click the required domain name on your Home page.
2. Click Web Directories.
3. Click the icon corresponding to the directory you wish to open, and change 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 reconfigure ASP.NET for a virtual directory:

1. Click the required domain name on your Home page,
2. Click Web Directories.
3. Browse to the required directory and enter it.
4. Click ASP.NET Settings and change the options accordingly.

   Refer to the Configuring ASP.NET for Virtual Directories section for more information on configuring ASP.NET