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

RE: Subversion Server: Read Access for Everybody; Write Access Restructed and only by SSL

From: <striker_at_apache.org>
Date: 2003-01-22 10:23:41 CET

 From: Shlomi Fish [mailto:shlomif@vipe.technion.ac.il]
 Sent: Wednesday, January 22, 2003 7:47 AM

 I'd like to setup a public mod_dav_svn Subversion repository, where
 everybody can read and checkout file from, but only a restricted number of
 people can write to it and they can only do it over SSL. (i.e: normal
 unencrypted HTTP authentication will be rejected). Here what I have so
 far:
 
 Location /svn/repos1
         DAV svn
         SVNPath /home/shlomif/var/svn/repos1
         AuthType Basic
         AuthName Subversion repository
         AuthUserFile /home/shlomif/apps/apache2/passwd/subversion
         LimitExcept GET PROPFIND OPTIONS REPORT
                 Require valid-user
                 SSLRequireSSL
         /LimitExcept
 /Location
 
 Location /svn/repos1
         Limit GET PROPFIND OPTIONS REPORT
         /Limit
 /Location

Two of the locations same locations; seems like a bad idea.

How about:

VirualHost *:80
  Location /svn/repos1
    DAV svn
    SVNPath /home/shlomif/var/svn/repos1

    LimitExcept GET PROPFIND OPTIONS REPORT
      Order Allow,Deny
      Deny from all
    /LimitExcept
  /Location
/VirualHost

VirtualHost *:443
  ...

  SSLRequireSSL

  Location /svn/repos1
    AuthType Basic
    AuthName Subversion repository
    AuthUserFile /home/shlomif/apps/apache2/passwd/subversion

    Require valid-user
  /Location
/VirualHost

Sander

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 14 02:06:01 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.