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

RE: Svnserve completely ignores settings in svnserve.conf

From: Christian Lauf <mailinglisten_at_brennt.net>
Date: Tue, 16 Feb 2010 10:24:44 +0100


Bob Archer <Bob.Archer_at_amsi.com> wrote:

> that config is for when you are using svnserve (the svn://) protocol.
> Since you are using http you need to configure Apache (httpd.conf)with
> info.
> http://svnbook.red-bean.com/nightly/en/svn.serverconfig.httpd.html

Yeah you're right. I had a false assumption because my previous SVN-Server
ran on Linux with Apache and mod_dav_svn and was only reachable via HTTPS.
I thought that SVNServer will take care on authentication for HTTP and

That was false.
Thanks for that correction :-)

I solved it by modifing the Location-Container in the httpd.conf:

<Location /svn>
   DAV svn
   SVNParentPath C:\svn_repository
   Options Indexes FollowSymLinks
   Order allow,deny
   Allow from all

   AuthType Basic
   Authname Subversion
   AuthUserFile "C:/svn_repository/passwd"
   Require valid-user

But now is the problem that I have to maintain authentication information
at two locations.
For http:// in the C:/svn_repository/passwd and for svn:// in
I think I'll just shutdown svn: for external usage and make it available
via HTTPS only like before.


For private mail please use my GPG-Key.
ID: 0xB7849C76
Received on 2010-02-16 10:36:52 CET

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.