You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Yusuf Goolamabbas <yu...@gmail.com> on 2006/03/05 12:58:10 UTC

anonymouse checkout but require auth over SSL for commit/branching

Hi, I wanted to setup a svn repo via Apache (the one which comes with
CentOS 4.2) such that it allows for anoymous checkout but for people
wanting to checkin/branch it requires Authentication over SSL.

As such I had the following Apache config


<Location /repos>
   DAV svn
   SVNParentPath /repos

      AuthzSVNAccessFile /etc/httpd/svnaccess
      Satisfy Any
      Require valid-user
      AuthType Basic
      AuthName "Authorization Realm"
      AuthUserFile /etc/httpd/subpasswd

   # Limit write permission to list of valid users.
   <LimitExcept GET PROPFIND OPTIONS REPORT>
#      # Require SSL connection for password protection.
      SSLRequireSSL
   </LimitExcept>
</Location>

my svnaccess file was like this

[groups]
committers = name1,name2
[repo1:/]
* = r
@committers = rw

the only change I have done to the standard apache config is to change
the Listen port to 8080.

However, when I try to check out  from
http://servername:8080/repos/repo1/trunk I get an authentication
challenge. This does not occur if I use
https://servername/repos/repo1/trunk

Does anybody have a working config which allows for anonymous checkout
but requires authentication over SSL for write operations in the
repository

Regards, Yusuf

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org