You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Berwyn & Veronica Hoyt <ho...@contact.net.nz> on 2005/06/21 09:02:29 UTC

Webdav only works with SVNParentPath, not SVNPath

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

Re: Webdav only works with SVNParentPath, not SVNPath

Posted by Berwyn & Veronica Hoyt <ho...@contact.net.nz>.
Hi,

Thanks for the feedback, but I think you've misunderstood my problem.  Yes, I know how Path vs ParentPath works.  
Subversion works fine and is accessable with either SVNPath or SVNParentPath.  This tests out fine when browsing to 
the proper location.  No, the problem is just with webdav & autoversioning!

My repository is indeed c:\work\svn:
	So, if I use "SVNPath c:/Work/svn", I can access the repository just fine at https://berwyn/svn.
	Likewise, if I use "SVNParentPath c:\Work" then I can access the repository fine at https://berwyn/svn/svn.
This is as expected.  Problem is when I try to access it with webdav.  Then why doesn't it work with SVNPath?

See original description of problem below.

Thanks,
Berwyn


On 21 Jun 2005 at 15:34, Olivier Sannier wrote:

> 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
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Webdav only works with SVNParentPath, not SVNPath

Posted by Olivier Sannier <ob...@free.fr>.
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

Re: Webdav only works with SVNParentPath, not SVNPath

Posted by Frank Gruman <fg...@verizon.net>.
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