I am using SVN via apache2. I have Ubuntu as OS. Below are my configurations:
<Location /svn>
DAV svn
SVNParentPath /var/lib/svn
# I have tried basic as well
AuthName "Subversion repository"
AuthType Digest
AuthUserFile /etc/dav_svn.passwd
<IfModule mod_authz_svn.c>
AuthzSVNAccessFile /etc/apache2/svn_access_control
</IfModule>
<LimitExcept GET PROPFIND OPTIONS REPORT>
Require valid-user
</LimitExcept>
</Location>
Is there a way to allow only registered users to view/checkout svn? I don't want anonymous users to access.
I can still access the SVN via browser and SVN client. I tried to remove the tag "<LimitExcept GET PROPFIND OPTIONS REPORT>
" but then Apache gives "Internal Server Error".
[Tue Oct 29 15:06:16 2013] [crit] [client [IP]] configuration error: couldn't check user. Check your authn provider!: /svn/repo1/, referer: http://[IP]
I am totally novice to Linux :(
Thanks