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

anonymouse checkout but require auth over SSL for commit/branching

From: Yusuf Goolamabbas <yusufg_at_gmail.com>
Date: 2006-03-05 13:58:10 CET

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
Received on Sun Mar 5 14:14:32 2006

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

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