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

Re: Cannot use "/svn/" for location of SVNParentPath

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Tue, 9 Sep 2008 19:37:22 -0500

On Sep 9, 2008, at 7:27 PM, Jonathan Coles wrote:

> SVNParentPath will not work if my Location is '/svn/'. Other names
> are OK.
> I have a some repositories under /home/svn/docrepos. My Location
> statement is:
> <Location /svn/>
> DAV svn
> SVNParentPath /home/svn/docrepos
> ....
> </Location>
> When I try to gain access using the URL "http://<server>/svn/
> myproduct", I get the "Could not open the requested SVN filesystem"
> error. The Apache error log includes "Can't open file '/home/svn/
> docrepos/svn/format'.." (Surely the correct path would be '/home/
> svn/docrepos/myproduct/format'.)
> If I change the Location to something else, '/repos/' for example,
> I have no problem accessing my repository with the URL "http://
> <server>/repos/myproduct". This is as expected and tells me my
> configuration is correct. But all I changed was a name. Is there
> something special about the name "svn"? There is no web content
> with that name to cause a conflict.
> Even more strange, I can now also access my repository using the
> URL "http://<server>/svn/myproduct". That makes no sense at all!
> There is nothing to link that location with the repository!
> Any idea what is going on here?

You're saying you can access your repository using http://<server>/
svn/myproduct even though there is no <Location /svn/> directive?

I assume someone else already set up a <Location /svn/> directive for
you and you just don't know it. Maybe another administrator, or maybe
your OS distribution provided it. Search *all* your Apache
configuration files, not just the main httpd.conf but also all extra
conf files it might include.

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-10 02:38:08 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.