
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
266
|
Appendix C: WebDAV and Autoversioning
One more word of warning: OS X’s WebDAV client can be overly sensitive to HTTP
redirects. If you’re unable to mount the repository at all, you may need to enable the
BrowserMatch directive in your httpd.conf:
BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
Unix: Nautilus 2
Nautilus is the official file manager/browser for the GNOME desktop. Its main home
page is at http://www.gnome.org/projects/nautilus/. By simply typing a WebDAV URL
into the Nautilus window, the DAV share appears like a local filesystem.
In general, Nautilus 2 works reasonably well against an autoversioning mod_dav_
svn, with the following caveats:
• Any files opened directly from the share are treated as read-only. Even the mod_
dav_lock trick seems to have no effect. It seems that Nautilus never issues the
LOCK method at all. The copy locally, edit, copy back trick does work, however.
Unfortunately, Nautilus overwrites the old file by issuing a
DELETE first, which
creates an extra revision.
• When overwriting or creating a file , Nautilus first does a
PUT of an empty file,
then overwrites it with a second
PUT. This creates two Subversion filesystem revi-
sions, rather than one.
• When deleting a collection, it issues an HTTP
DELETE on each individual child
instead of on the collection ...