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

Re: URL of a SVN-repos

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Wed, 15 Oct 2008 16:38:27 -0500

On Oct 15, 2008, at 14:28, Kai Behncke wrote:

> On Oct 15, 2008, at 14:23, Andy Levy wrote:
>
>> On Oct 15, 2008, at 14:15, Kai Behncke wrote:
>>
>>> so far I have used my svn-system directly at the server like
>>> "svn checkout file:///var/svn/........."
>>>
>>> ...everything works well, but I think it`s not the best way to
>>> use it (obviously).
>>>
>>> I want to use it url-based like
>>> "checkout http://my_host/my_svn_project"
>>>
>>> ...but I don`t know how to find out the URL to my svn-repos???
>>
>> Let's start with the basics. Did you set up Apache to serve your
>> repository in the first place? That's a prerequisite for using HTTP
>> access.
>
> Yes, I use Apache (with the web-dav module) and I have set an alias
> "my_svn"
> ......that goes dierectly to /var/svn/my_repos

That doesn't sound like the correct way to set things up.

Did you read the book? http://svnbook.org

Specifically:

http://svnbook.red-bean.com/en/1.5/svn.serverconfig.httpd.html

You're going to want something like this:

<Location /svn/>
        DAV svn
        SVNParentPath /var/svn
        SVNListParentPath on
        AuthType Basic
        AuthName "My Repositories"
        AuthUserFile /var/svn/users
        Require valid-user
</Location>

> So if I type http://my-domain/my_svn at least I can see
> the Error 403 "Access Forbidden".

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-10-15 23:38:51 CEST

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.