
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
httpd; The Apache HTTP Server
|
129
[paint:/projects/paint]
@paint-developers = rw
jane = r
...and that’s pretty much all there is to it.
Extra Goodies
We’ve covered most of the authentication and authorization options for Apache and
mod_dav_svn. But Apache also provides a few other nice features.
Repository browsing
One of the most useful benefits of an Apache/WebDAV configuration for your Sub-
version repository is that the youngest revisions of your versioned files and directo-
ries are immediately available for viewing via a regular web browser. Since
Subversion uses URLs to identify versioned resources, those URLs used for HTTP-
based repository access can be typed directly into a Web browser. Your browser will
issue a
GET request for that URL, and, based on whether that URL represents a ver-
sioned directory or file,
mod_dav_svn will respond with a directory listing or with file
contents.
Since the URLs do not contain any information about which version of the resource
you wish to see,
mod_dav_svn will always answer with the youngest version. This
functionality has the wonderful side effect of allowing you to pass around Subver-
sion URLs to your peers as references to documents, and those URLs will always
point at the latest manifestation of that document. Of course, you can even use