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

Re: Subversion Access using "http" method

From: Konrad Rosenbaum <konrad_at_silmor.de>
Date: 2006-05-07 11:42:22 CEST

On Sunday 07 May 2006 10:34, Muthaiah Ramanathan wrote:
> # Subverion settings, added by Ramanathan
> <Location /repos>
> DAV svn
> SVNPath /lnx_data/svnrepos/ITPL_5star_hotel
> </Location>
>
> <Location /svn>
> DAV svn
> SVNParentPath /usr/local/bin/svn
> AuthType Basic
> AuthName "Subversion repository"
> AuthUserFile /etc/svn-auth-file
> Require Valid-user
> </Location>

Let me correct myself: your config is completely broken.

It should look like this:
<Location /svn>
      DAV svn
      SVNParentPath /lnx_data/svnrepos
      AuthType Basic
      AuthName "Subversion repository"
      AuthUserFile /etc/svn-auth-file
      Satisfy Any
      Require Valid-user
</Location>

This assumes that you created the repository like this:
cd /lnx_data/svnrepos
svnadmin create ITPL_5star_hotel

you can access the repository via:
svn ls http://localhost/svn/ITPL_5star_hotel

        Konrad

  • application/pgp-signature attachment: stored
Received on Sun May 7 11:43:27 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.