Enable and configure web-disk
Web-disk is a way to access the user's directory using the webDAV protocol. This protocol allows you to add to the user's computer directory from a remote server as a separate disk. The user can use Web-disk as an alternative to connecting to the server via FTP. Files available to multiple users can be stored on a web disk and edited together.
Enable web-disk
The apache mod_dav module is used. Apache ITK must be enabled.
To allow your users to use web-disk:
- Go to Settings → Web-server settings.
- Enable the option Enable Web-disk. DetailsThe following webdisk.conf file is create in //conf/vhosts-default/:
webdisk.conf
DAVLockDB /var/lock/apache2/lockdb <Directory /var/www/*/webdav> Dav on </Directory> Include /<Apache directory>/conf/webdav-users
The following .conf file is create in //conf/webdav-users/ for every ISPmanager user:DetailsDAVLockDB — a full path to the blocking database file.Dav on — enables the web-disk for all users..conf <Directory /var/www/<Username>/data/webdav> include dav_params.conf <IfModule auth_digest_module> AuthUserFile /var/www/<username>/data/passwd.dav </IfModule> AssignUserID <username> <user group> Require user <username> </Directory> Alias /webdav/<username> /var/www/<username>/data/webdav
DetailsAuthUserFile — path to the file with data that are used for user authentication when he accesses the web-disk.Require user— only the specified user will be allowed to access the web-disk directory.Alias — alias for the user web-disk.
Configure web-disk
To configure web-disk for the user:
- Log in as the user and go to Main Menu → Web-disk.
- Enter the Directory (the path is relative to the user home directory) where the data will be saved. The user home directory is specified by default. DetailsIn //conf/webdav-users/ .conf the alias for the web-disk is changed:
<username>.conf
Alias /webdav/<username> /var/www/<username>/data/<relative path to directory>
- Click Create.
Link to web-disk
How the link is generated:
- The IP address where one of the user's SSL-enabled WWW domains is running will be selected. The link is formed as "https:///webdav/<username>".
- If the user does not have WWW domains with SSL enabled, the link is formed as "http:///webdav/<username>".
- If the User has no WWW-domains, any IP-address of the server is selected. The link is formed as: "http:///webdav/<username>".
The link is displayed on the User Dashboard in ispmanager.

Note!
To enable the web-disk on Windows, you first need to allow authentication using auth_digest method.