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

RE: Newbie to SVN- Need Help regarding Apache configuration.

From: Maninder Singh\(SDG\) <singhma_at_quark.com>
Date: 2006-01-05 16:59:12 CET

Hi,
        Thanks for the quick help. The directory /usr/local/svn is a
repository (created by running the "svnadmin create /usr/local/svn"
command). I changed SVNParentPath to read SVNPath in the httpd.conf
file, but still no luck. :(

I've imported an initial layout for the repository as follows:

 myserver# svn import . file:///path/to/repos --message 'Initial
repository layout'

Adding projectA
Adding projectA/trunk
Adding projectA/branches
Adding projectA/tags
Adding projectB
Adding projectB/trunk
Adding projectB/branches
Adding projectB/tags
...
Committed revision 1.

On checking-out projectA using the string
"http://myserver:8000/projectA" (I even tried
http://myserver:8000/svn/projectA), I got a similar message again. Am I
missing something?

Regards,
Maninder Singh

-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2006Q1@ryandesign.com]
Sent: Thursday, January 05, 2006 7:30 PM
To: Maninder Singh(SDG)
Cc: users@subversion.tigris.org
Subject: Re: Newbie to SVN- Need Help regarding Apache configuration.

On Jan 5, 2006, at 14:34, Maninder Singh(SDG) wrote:

[snip]
> I get the following error when I try to check-out the code by
> specifying: http://myserver:8000/svn
>
> ================================== ERROR
> ==============================
> "Error: PROPFIND request failed on '/svn'
> Error: PROPFIND of '/svn': 403 Forbidden (http://10.91.0.217:8000)"
> ======================================================================

> =
>
> The Apache file contains the following entry:
> <Location /svn>
> DAV svn
> SVNParentPath /usr/local/svn
> # how to authenticate a user
> AuthType Basic
> AuthName "Subversion repository"
> AuthUserFile /usr/local/apache2/svnpasswd
>
> # For any operations other than these, require an authenticated
> user.
> <LimitExcept GET PROPFIND OPTIONS REPORT>
> Require valid-user
> </LimitExcept>
> </Location>

Is /usr/local/svn a repository (that is, did you run "svnadmin
create /usr/local/svn"), or is it a directory which contains several
repositories (that is, "mkdir /usr/local/svn; svnadmin create /usr/
local/svn/repo1")?

If the former, you need to change SVNParentPath to read SVNPath.
If the latter, you need to specify in the URL the name of the
repository you want to check out, for example http://myserver:8000/
svn/repo1

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jan 5 17:58:55 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.