pkgsrc/www/ap2-subversion/MESSAGE
epg 841326effe - Document what what we're doing with LimitExcept.
- Drop POST from the allowed list; this mistake has been here since 2003,
  but it doesn't really matter as POST on a Subversion repository is an
  invalid operation anyway.
2007-12-13 20:03:36 +00:00

21 lines
811 B
Text

===========================================================================
$NetBSD: MESSAGE,v 1.3 2007/12/13 20:03:36 epg Exp $
See ${PREFIX}/share/doc/subversion/INSTALL for details on making
a repository accessible via mod_dav_svn. Basically, you need
something like this in httpd.conf:
LoadModule dav_svn_module "lib/httpd/mod_dav_svn.so"
<Location /svn>
DAV svn
SVNPath "/path/to/repository"
AuthType Basic
AuthName "Subversion repository"
AuthUserFile "/path/to/passwd-file"
# Allow anonymous reads but require authentication for writes.
<LimitExcept GET HEAD OPTIONS PROPFIND REPORT TRACE>
Require valid-user
</LimitExcept>
</Location>
===========================================================================