pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/ap2-subversion - Document what what we're doing wi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a5cf6b03cf3f
branches:  trunk
changeset: 536440:a5cf6b03cf3f
user:      epg <epg%pkgsrc.org@localhost>
date:      Thu Dec 13 20:03:36 2007 +0000

description:
- 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.

diffstat:

 www/ap2-subversion/MESSAGE |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r bd114ac8ab67 -r a5cf6b03cf3f www/ap2-subversion/MESSAGE
--- a/www/ap2-subversion/MESSAGE        Thu Dec 13 15:56:49 2007 +0000
+++ b/www/ap2-subversion/MESSAGE        Thu Dec 13 20:03:36 2007 +0000
@@ -1,5 +1,5 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.2 2003/05/25 09:17:41 epg Exp $
+$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
@@ -12,7 +12,8 @@
         AuthType Basic
         AuthName "Subversion repository"
         AuthUserFile "/path/to/passwd-file"
-        <LimitExcept GET HEAD OPTIONS POST PROPFIND REPORT TRACE>
+        # Allow anonymous reads but require authentication for writes.
+        <LimitExcept GET HEAD OPTIONS PROPFIND REPORT TRACE>
             Require valid-user
         </LimitExcept>
     </Location>



Home | Main Index | Thread Index | Old Index