Ispmanager 6 lite, pro, host

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: 

  1. Go to Settings → Web server settings.
  2. Enable the option Enable web disk.
    Details
    The 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
    Details
    DAVLockDB — a full path to the blocking database file.Dav on — enables the web-disk for all users.
    The following .conf file is create in //conf/webdav-users/ for every ISPmanager user: 

    .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
    Details
    AuthUserFile — path to the file with data that are used for user authentication when users access 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. 

     

    3.  Click Save.

Configure web disk 

To configure web disk for the user:

  1. Log in as the user and go to Main Menu → Web disk.
  2. 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.
    Details
    In //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>

     

  3. Click Create.

How the link is generated:

  1. 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>".
  2. If the user does not have WWW domains with SSL enabled, the link is formed as "http:///webdav/<username>".
  3. 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.



 

Rate this article
Rate this article

In this article