Log in |
How to use DAVFs with ZopeIn here I will explain how to use dav-fs, some webdav filesystem for linux with Zope. First of all download and install davfs, following the instructions at http://dav.sf.net/. Then setup your Zope server to use a webdav source port. You do this by specifying the port via -W parameter of z2.py. Look into the source of z2.py for information on how to do that. Let's assume you have the webdav source port of your Zope server then at 8080 of your local computer. In order to mount your server then via davfs on a mount point called /mnt/dav mount it via: mount.davfs http://localhost:8080/ /mnt/dav -u <username> -p <passwd> where If that's finished you can access your Zope server at /mnt/dav and edit files with your favourite text editor. Some hint for that: configure your text editor to not make backups of your files as this might change the type of the edited object. Moreover you can still use the Undo feature of Zope so it shouldn't be neccessary anyway. Have fun with davfs! :-) |