Managing Virtual Directories
Plesk version: Plesk 7.6.1 and later for Windows
XML API version: 18.104.22.168 and higher
Plesk user: Plesk Administrator
Virtual directories are supported in Plesk 7.6.1 (and later) for Windows only. In brief, this feature provides customers with the opportunity to map the contents of a definite physical folder of the site to a virtual directory (which is being created at that moment). The resulting virtual directory becomes an independent item, and obtains various settings, including access permissions, properties of a web application, SSL support, logging, and others.
Virtual directories can be created for an existing physical directory of the site. The path of this physical directory is specified in the create command sent to Plesk. If the specified directory does not exist, it will be created on the virtual host by the specified path.
- CREATE creates a virtual directory for the specified physical directory.
- UPDATE changes a virtual directory properties.
- REMOVE deletes a virtual directory.
- GET retrieves information on a specified virtual directory from Plesk database.
All operations are performed by sending XML packets with the <virtdir> operator (defined in