Hello,

Bob Archer <bob.arc...@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
this
> info.
> 
> http://svnbook.red-bean.com/nightly/en/svn.serverconfig.httpd.html

Doh..
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
SVN..

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
</Location>

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
C:\svn_repository\$repo\conf\passwd.
I think I'll just shutdown svn: for external usage and make it available
via HTTPS only like before.

Christian
-- 
For private mail please use my GPG-Key.
ID: 0xB7849C76

Reply via email to