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

Re: Webdav only works with SVNParentPath, not SVNPath

From: Olivier Sannier <obones_at_free.fr>
Date: 2005-06-21 15:34:22 CEST

Yes, that is right.

In the SVNParentPath, every subdirectory is a repository, it contains
the required files for SVN (either FSFS or BDB).

Hence, if the location is called /svn and points on c:\work, the
subdirectory called svn in c:\work will be accessible as /svn/svn.
This is perfectly normal and expected. This allows to do what we do here:

/svn/sources
/svn/docs

both are subdirectories of a network drive, and there is only one
Location section in httpd.conf. this way, if tomorrow I want to add a
"marketing" repository, I simply create a subdir in the share with the
required files and it works straight ahead, no new httpd.conf, no restart.

Frank Gruman wrote:

> Seems to me that you have the URL's turned around...
>
> SVNParentPath should be able to point to https://berwyn/svn and return
> a proper value. SVNPath has to point to an explicit repository name
> (assuming your repository name is 'svn', this would then be
> https://berwyn/svn/svn.
>
> Try that. Maybe I am misreading, but that is the first thing that
> comes to mind.
>
> Regards,
> Frank
>
> Berwyn & Veronica Hoyt wrote:
>
>> Hello,
>>
>> It seems that autoversioned webdav only works with SVNParentPath, not
>> SVNPath. We am apache-hosting svn on both my work PC and at
>> opensvn.csie.org. Same problem.
>>
>> Here is the svn section of http.conf:
>>
>> <Location /svn>
>> DAV svn
>> # SVNPath c:/Work/svn
>> SVNParentPath c:/Work
>> SVNAutoversioning on
>> AuthType Basic
>> AuthName "Berwyn's Repository"
>> AuthUserFile conf/svnusers.conf
>> Require valid-user
>> </Location>
>>
>> The above works fine with SVNParentPath. To test this, I load up
>> internet explorer, click file->Open, then enter
>> "https://berwyn/svn/svn" and check the "Open as Web Folder" box.
>>
>> But what I really want is to use SVNPath and webdav to
>> "https://berwyn/svn". That simply doesn't work. The error is
>> "Internet Explorer could not open https://berwyn/svn. Would you like
>> to see it's default [non-webdav] view instead?"
>>
>> Anyone else get this working somehow?
>>
>> Thanks,
>> Berwyn
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>> For additional commands, e-mail: users-help@subversion.tigris.org
>>
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jun 21 15:37:24 2005

This is an archived mail posted to the Subversion Users mailing list.