You are here: Home / Documentation / How To's / How to enable WebDAV

How to enable WebDAV

by nguyen — published Jul 22, 2009 01:20 PM, last modified Aug 16, 2016 10:50 AM

Enable WebDAV in Zope

From http://plone.org/documentation/how-to/webdav

You must enable the WebDAV port in your Zope config to use it. Add the following to zope.conf (probably best to do this to client3):

<webdav-source-server>
    # valid keys are "address" and "force-connection-close"
    address plone1.webcluster.uwosh.edu:1980
    force-connection-close off
</webdav-source-server>

Then restart the Zope.  If you're using a ZEO install, restart the ZEO client whose zope.conf you just edited.  In our case, that would usually be client3, so

cd /opt/Plone-blabla/zeocluster
bin/client3 stop && bin/client3 start && tail -f var/client3/event.log

This will enable the WebDAV server on http://plone1.webcluster.uwosh.edu:1980/. Note that you cannot use this URL in your web browser, just in WebDAV clients.

Allow WebDAV Through the Firewall

You must also ensure that the firewall on the machine allows port 1980.

vi /etc/sysconfig/iptables

/etc/init.d/iptables start

Login Credentials

You should be able to log in using your normal Plone site account.  LDAP accounts work as well.

Failing that, you may need a Zope-level login. Via the ZMI, go to the root of the Zope, then acl_users, add a user.

WebDAV Clients

On the Mac, use the WebDAV client Goliath.  You will have to connect to a URL like

http://plone2.webcluster.uwosh.edu:1980/sites2/cob

On the Mac, you may also be able to use Finder (ie. no need to install Goliath).  Use Finder's menu: Go -> Connect to server... and enter the same URL as above.  It seems a bit slow to me, though.

On Windows, so far the Internet Explorer's File -> Open menu does not seem to work (even when you check the box for "web folder").  That is the default way of connecting Windows to WebDAV.

We are also exploring the use of Enfold Desktop.  Testing of Enfold Desktop has been successful so far, but requires installation on the server of various additional Plone products or components.  Stay tuned.

 

 

Navigation