[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] RE: Example Server config

From: David Summers <david_at_summersoft.fay.ar.us>
Date: 2002-01-26 23:58:41 CET

Thanks, how about the following patch for INSTALL? Do the currently
LIMITed access methods cover all the bases?

Index: ./INSTALL
===================================================================
--- ./INSTALL
+++ ./INSTALL Sat Jan 26 16:52:30 2002
@@ -432,12 +432,24 @@
           <Location /svn/repos>
              DAV svn
              SVNPath /absolute/path/to/repository
+
+ # <Limit DELETE MERGE MKACTIVITY POST PROPPATCH PUT>
+ # AuthType Basic
+ # AuthName "Authorization Realm"
+ # AuthUserFile /absolute/path/to/svnpasswd
+ # Require valid-user
+ # </Limit>
+
           </Location>
 
       NOTE: Make sure that the user 'nobody' (or whatever UID the
       httpd process runs as) has permission to read and write the
       Berkeley DB files! This is a very common problem.
 
+ NOTE: To make this subversion server "secure", execute the
+ "htpasswd -c /absolute/path/to/svnpasswd username" command and
+ uncomment the currently commented <Limit> directives.
+
 9. In order for 'svn cp' to work (which is actually implemented as a
     DAV COPY command), mod_dav needs to be able to be able to determine
     the hostname of the server. A standard way of doing this is to use

On Sat, 26 Jan 2002, Mayo wrote:

> Date: Sat, 26 Jan 2002 14:17:22 -0800
> From: Mayo <mayo@nfy.ca>
> To: 'David Summers' <david@summersoft.fay.ar.us>
> Subject: RE: Example Server config
>
> Use the <Limit> </Limit> apache directive
>
> > -----Original Message-----
> > From: David Summers [mailto:david@summersoft.fay.ar.us]
> > Sent: January 26, 2002 2:07 PM
> > To: dev@subversion.tigris.org
> > Subject: Example Server config
> >
> >
> >
> > OK, I figured out the following so far....
> >
> > In /etc/httpd/conf/httpd.conf file:
> >
> > <Location /repos/svngui>
> > DAV svn
> > SVNPath /home/svnroot/svngui
> >
> > AuthType Basic
> > AuthName "SVNGUI"
> > AuthUserFile /home/svnroot/svnpasswd
> > Require valid-user
> > </Location>
> >
> > That limits it to the htpasswd users listed, how can I make
> > it READ-ONLY
> > available to everyone but require user name and password to commit?
> >
> > Thanks
> >
> > --
> > David Wayne Summers "Linux: Because reboots are for
> > upgrades!"
> > david@summersoft.fay.ar.us PGP Key:
> > http://summersoft.fay.ar.us/~david/pgp.txt
> > PGP Key
> > fingerprint = C0 E0 4F 50 DD A9 B6 2B 60 A1 31 7E D2 28 6D A8
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: dev-help@subversion.tigris.org
> >
> >
>
>

-- 
David Wayne Summers          "Linux: Because reboots are for upgrades!"
david_at_summersoft.fay.ar.us   PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint =  C0 E0 4F 50 DD A9 B6 2B  60 A1 31 7E D2 28 6D A8 
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:00 2006

This is an archived mail posted to the Subversion Dev mailing list.