WebDAV URLs

The URL for the WebDAV server has the following structure:

URL Componenthttps://<host>:<port>/<crx-webapp-path>/repository/<workspace>
Examplehttp://localhost:4502/crx/repository/crx.default
DescriptionHost and port on which AEM runsPath for the AEM repository webappPath to which WebDAV servlet is mappedName of the workspace

By changing the workspace element in the path, you can map workspaces other than the default ( crx.default). For example, to map a workspace named staging, use the following URL:

http://localhost:4502/crx/repository/staging

Connecting via WebDAV

As mentioned above, to connect to your repository using the WebDAV protocol, you point your WebDAV client to your repository location. However, depending on your OS, the steps involved connecting your client differ and there may be required configuration of the OS.

Instructions on how to connect the following operating systems are provided:

Windows

To successfully connect a Microsoft® Windows 7 (and greater) system to an AEM instance that is not secured with SSL, the option to establish basic authentication over an unsecured network must be explicitly enabled in Windows. This ability requires a change in the Windows Registry of the WebClient.

Once the registry is updated, then the AEM instance can be mapped as a drive.

Windows 7 and Greater Configuration

To update the registry to allow basic authentication over an unsecured network:

  1. Locate the following registry subkey:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters
    
  2. Set the BasicAuthLevel registry entry subkey to a value of 2 or greater.

    If it is not present, add the subkey.

  3. Restart the system for the registry change to take effect.

NOTE
Adobe recommends that you create a Windows user with the same credentials as the repository user, otherwise you may encounter permission conflicts.

Windows 8 Configuration

For Windows 8, change the registry entry as described for Windows 7 and greater. However, before you do this task, the Desktop Experience must be enabled to see the registry entry.

To enable the Desktop Experience, open Server Manager, then Features, then Add Features, then Desktop Experience.

After rebooting, the registry entry described for Windows 7 and greater is available. Modify it as described for Windows 7 and greater.

Connecting in Windows

To connect to AEM via WebDAV in a Windows environment:

  1. Open Windows Explorer or File Explorer and click Computer or This PC.

    chlimage_1-112

  2. To start the wizard, click Map network drive.

  3. Enter the mapping details:

    • Drive: Choose any available letter
    • Folder: http://localhost:4502
    • Check Connect using different credentials

    Click Finish

    chlimage_1-113

    NOTE
    If AEM is on another port, use that port number instead of 4502. Also, if you are not running the content repository on your local machine, replace localhost with the respective server name or IP address.
  4. Enter username admin and password admin. Adobe recommends that you use the pre-configured admin account for testing.

    chlimage_1-114

  5. The wizard closes and the newly mapped drive is opened in a Windows Explorer or File Explorer window.

    chlimage_1-115

Windows has now mapped AEM as a drive via WebDAV and you can use it as any other drive.

macOS

There are no configuration steps required to connect by way of WebDAV on macOS. You can connect to the WebDAV server.

  1. Navigate to any Finder window and click Go and Connect to Server, or press Command+k.

  2. In the Connect to Server window, enter the AEM location:

    • http://localhost:4502
    NOTE
    If AEM is on another port, use that port number instead of 4502. Also, if you are not running the content repository on your local machine, replace localhost with the respective server name or IP address.
  3. When you are prompted for authentication, enter username admin and password admin. Adobe recommends that you use the pre-configured admin account for testing.

macOS has now connected to AEM via WebDAV and you can use it as any other folder on your Mac.

Linux®

Connecting via WebDAV on Linux® does not require any configuration, but does involve a few steps to make the connection which vary depending on your desktop environment.

GNOME

To connect to AEM via WebDAV with GNOME:

  1. In Nautilus (file explorer), select Places and select Connect to Server.

  2. In the Connect to Server window, select WebDAV (HTTP) in Service Type.

  3. In Server, enter http://localhost:4502/crx/repository/crx.default

    NOTE
    If AEM is on another port, use that port number instead of 4502. Also, if you are not running the content repository on your local machine, replace localhost with the respective server name or IP address.
  4. In Folder, enter /dav

  5. Enter the username admin. Adobe recommends that you use the pre-configured admin account for testing.

  6. Leave the port blank and enter any name for your connection.

  7. Click Connect. AEM prompts you for your password.

  8. Enter the password admin and click Connect.

GNOME has now mounted AEM as a volume and you can use it like any other volume.

KDE

  1. Open the Network Folder wizard.

  2. Select WebFolder(webdav) and click Next.

  3. In Name, type a connection name.

  4. In User, enter admin. Adobe recommends that you use the pre-configured admin account.

  5. In Server, enter http://localhost:4502/crx/repository/crx.default

    NOTE
    If AEM is on another port, use that port number instead of 4502. Also, if you are not running the content repository on your local machine, replace localhost with the respective server name or IP address
  6. In Folder, enter dav

  7. Click Save and Connect.

  8. When prompted for your password, enter the password admin and click Connect.

KDE has now mounted AEM as a volume and you can use it like any other volume.

Experience Manager