You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Andy Levy <an...@gmail.com> on 2006/07/13 15:55:08 UTC

Help with autoversioning/WebDAV on XP?

System setup:

svn 1.3.1
Apache 2.0.55
WinXP SP2

I am trying to set myself up with a few autoversioned folders using
the repository I'm serving off my local machine.  Regular HTTP access
to the SVN repository works fine.  I've been through
http://svnbook.red-bean.com/nightly/en/svn.webdav.autoversioning.html
and can't connect via a WebDAV client, whether it be Windows' "Web
Folders" or MS Word 2003 (I even installed the update suggested in the
above documentation).

I am always given the error "cannot find folder" from Word and "the
folder you entered appears to be invalid" from Add Network Place, yet
I can check out the exact same URL via svn.exe and TSVN.  In the
failed attempts, I am not prompted for authentication, although I do
have it set up with this repository.

Getting this working would really help me keep good backups of files
that have been getting corrupted by the application creating them.
Any suggestions?

Apache config:

<Location /Repos>
    DAV svn
    SVNParentPath C:\Repositories
    AuthType Digest
    AuthName "Home Properties Subversion Realm"
    AuthDigestFile c:\Repositories\_config\svn-auth-file
    AuthzSVNAccessFile C:\Repositories\_config\svn-access-file
    Require valid-users
SVNAutoversioning on
SVNIndexXSLT "/svn/svnindex.xsl"
</Location>

Loaded modules:
LoadModule access_module modules/mod_access.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_module modules/mod_auth.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule dav_module modules/mod_dav.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule dir_module modules/mod_dir.so
LoadModule env_module modules/mod_env.so
LoadModule imap_module modules/mod_imap.so
LoadModule include_module modules/mod_include.so
LoadModule isapi_module modules/mod_isapi.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule mime_module modules/mod_mime.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule dav_svn_module "C:/Program Files/Subversion/bin/mod_dav_svn.so"
LoadModule authz_svn_module "C:/Program Files/Subversion/bin/mod_authz_svn.so"
LoadModule dav_svn_module "C:/Program Files/Subversion/bin/mod_dav_svn.so"
LoadModule authz_svn_module "C:/Program Files/Subversion/bin/mod_authz_svn.so"

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

Re: Help with autoversioning/WebDAV on XP?

Posted by Andy Levy <an...@gmail.com>.
On 7/13/06, Erik Huelsmann <eh...@gmail.com> wrote:
> > 127.0.0.1 - - [13/Jul/2006:12:13:58 -0400] "OPTIONS / HTTP/1.1" 200 -
> > 127.0.0.1 - - [13/Jul/2006:12:13:58 -0400] "OPTIONS
> > /Repos/Test/Playgrounds/Andy/Documents HTTP/1.1" 401 493
>
> 401 means "Unauthorised": you've set up your repository to require
> authorization which Office isn't supplying.

Right, but I'm not even getting prompted to authorize, which the book
implies should be happening when I use "Add Network Place" (which is
actually what those log entries are from).

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

Re: Help with autoversioning/WebDAV on XP?

Posted by Erik Huelsmann <eh...@gmail.com>.
> 127.0.0.1 - - [13/Jul/2006:12:13:58 -0400] "OPTIONS / HTTP/1.1" 200 -
> 127.0.0.1 - - [13/Jul/2006:12:13:58 -0400] "OPTIONS
> /Repos/Test/Playgrounds/Andy/Documents HTTP/1.1" 401 493

401 means "Unauthorised": you've set up your repository to require
authorization which Office isn't supplying.

HTH,

Erik.

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

Re: Help with autoversioning/WebDAV on XP?

Posted by Andy Levy <an...@gmail.com>.
On 7/13/06, Ryan Schmidt <su...@ryandesign.com> wrote:
> On Jul 13, 2006, at 18:22, Andy Levy wrote:
>
> >> Is there anything interesting in the Apache error log at this point?
> >
> > Results of 2 attempts:
> > [Thu Jul 13 12:13:58 2006] [error] [client 127.0.0.1] File does not
> > exist: C:/Program Files/Apache Group/Apache2/htdocs/_vti_inf.html
> > [Thu Jul 13 12:13:58 2006] [error] [client 127.0.0.1] File does not
> > exist: C:/Program Files/Apache Group/Apache2/htdocs/_vti_bin
> > [Thu Jul 13 12:14:06 2006] [error] [client 127.0.0.1] File does not
> > exist: C:/Program Files/Apache Group/Apache2/htdocs/_vti_inf.html
> > [Thu Jul 13 12:14:06 2006] [error] [client 127.0.0.1] File does not
> > exist: C:/Program Files/Apache Group/Apache2/htdocs/_vti_bin
> >
> > Where do I go about getting the right versions of those files?  I
> > don't seem to have them anywhere on my system (but still searching).
>
> I wouldn't think those are important. I understand that some silly
> component of Microsoft Office requests such files and directories,
> which are only available if your server has some kind of Office
> integration thing installed. Our servers' logs used to get filled
> with that crap until I added this to my conf to make it go away:
>
> RedirectMatch 404 ^/(MSOffice/|_vti_bin/|_vti_inf\.html$)
>
> I'm surprised there aren't any Subversion errors in the log though,
> or any errors listing the directory you're trying to access.

Here's my access.log for the same attempts:

127.0.0.1 - - [13/Jul/2006:12:13:58 -0400] "OPTIONS / HTTP/1.1" 200 -
127.0.0.1 - - [13/Jul/2006:12:13:58 -0400] "OPTIONS
/Repos/Test/Playgrounds/Andy/Documents HTTP/1.1" 401 493
127.0.0.1 - - [13/Jul/2006:12:13:58 -0400] "OPTIONS / HTTP/1.1" 200 -
127.0.0.1 - - [13/Jul/2006:12:13:58 -0400] "OPTIONS
/Repos/Test/Playgrounds/Andy/Documents HTTP/1.1" 401 493
127.0.0.1 - - [13/Jul/2006:12:13:58 -0400] "OPTIONS / HTTP/1.1" 200 -
127.0.0.1 - - [13/Jul/2006:12:13:58 -0400] "OPTIONS
/Repos/Test/Playgrounds/Andy/Documents HTTP/1.1" 401 493
127.0.0.1 - - [13/Jul/2006:12:13:58 -0400] "GET /_vti_inf.html HTTP/1.1" 404 303
127.0.0.1 - - [13/Jul/2006:12:13:58 -0400] "POST
/_vti_bin/shtml.exe/_vti_rpc HTTP/1.1" 404 317
127.0.0.1 - - [13/Jul/2006:12:13:58 -0400] "OPTIONS / HTTP/1.1" 200 -
127.0.0.1 - - [13/Jul/2006:12:13:58 -0400] "OPTIONS
/Repos/Test/Playgrounds/Andy/Documents HTTP/1.1" 401 493
127.0.0.1 - - [13/Jul/2006:12:14:06 -0400] "OPTIONS / HTTP/1.1" 200 -
127.0.0.1 - - [13/Jul/2006:12:14:06 -0400] "OPTIONS
/Repos/Test/Playgrounds/Andy/Documents HTTP/1.1" 401 493
127.0.0.1 - - [13/Jul/2006:12:14:06 -0400] "OPTIONS / HTTP/1.1" 200 -
127.0.0.1 - - [13/Jul/2006:12:14:06 -0400] "OPTIONS
/Repos/Test/Playgrounds/Andy/Documents HTTP/1.1" 401 493
127.0.0.1 - - [13/Jul/2006:12:14:06 -0400] "OPTIONS / HTTP/1.1" 200 -
127.0.0.1 - - [13/Jul/2006:12:14:06 -0400] "OPTIONS
/Repos/Test/Playgrounds/Andy/Documents HTTP/1.1" 401 493
127.0.0.1 - - [13/Jul/2006:12:14:06 -0400] "GET /_vti_inf.html HTTP/1.1" 404 303
127.0.0.1 - - [13/Jul/2006:12:14:06 -0400] "POST
/_vti_bin/shtml.exe/_vti_rpc HTTP/1.1" 404 317
127.0.0.1 - - [13/Jul/2006:12:14:06 -0400] "OPTIONS / HTTP/1.1" 200 -
127.0.0.1 - - [13/Jul/2006:12:14:06 -0400] "OPTIONS
/Repos/Test/Playgrounds/Andy/Documents HTTP/1.1" 401 493

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

Re: Help with autoversioning/WebDAV on XP?

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jul 13, 2006, at 18:22, Andy Levy wrote:

>> Is there anything interesting in the Apache error log at this point?
>
> Results of 2 attempts:
> [Thu Jul 13 12:13:58 2006] [error] [client 127.0.0.1] File does not
> exist: C:/Program Files/Apache Group/Apache2/htdocs/_vti_inf.html
> [Thu Jul 13 12:13:58 2006] [error] [client 127.0.0.1] File does not
> exist: C:/Program Files/Apache Group/Apache2/htdocs/_vti_bin
> [Thu Jul 13 12:14:06 2006] [error] [client 127.0.0.1] File does not
> exist: C:/Program Files/Apache Group/Apache2/htdocs/_vti_inf.html
> [Thu Jul 13 12:14:06 2006] [error] [client 127.0.0.1] File does not
> exist: C:/Program Files/Apache Group/Apache2/htdocs/_vti_bin
>
> Where do I go about getting the right versions of those files?  I
> don't seem to have them anywhere on my system (but still searching).

I wouldn't think those are important. I understand that some silly  
component of Microsoft Office requests such files and directories,  
which are only available if your server has some kind of Office  
integration thing installed. Our servers' logs used to get filled  
with that crap until I added this to my conf to make it go away:

RedirectMatch 404 ^/(MSOffice/|_vti_bin/|_vti_inf\.html$)

I'm surprised there aren't any Subversion errors in the log though,  
or any errors listing the directory you're trying to access.

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

Re: Help with autoversioning/WebDAV on XP?

Posted by Andy Levy <an...@gmail.com>.
On 7/13/06, Ryan Schmidt <su...@ryandesign.com> wrote:
>
> On Jul 13, 2006, at 17:55, Andy Levy wrote:
>
> > I am trying to set myself up with a few autoversioned folders using
> > the repository I'm serving off my local machine.  Regular HTTP access
> > to the SVN repository works fine.  I've been through
> > http://svnbook.red-bean.com/nightly/en/svn.webdav.autoversioning.html
> > and can't connect via a WebDAV client, whether it be Windows' "Web
> > Folders" or MS Word 2003 (I even installed the update suggested in the
> > above documentation).
> >
> > I am always given the error "cannot find folder" from Word and "the
> > folder you entered appears to be invalid" from Add Network Place, yet
> > I can check out the exact same URL via svn.exe and TSVN.  In the
> > failed attempts, I am not prompted for authentication, although I do
> > have it set up with this repository.
>
> Is there anything interesting in the Apache error log at this point?

Results of 2 attempts:
[Thu Jul 13 12:13:58 2006] [error] [client 127.0.0.1] File does not
exist: C:/Program Files/Apache Group/Apache2/htdocs/_vti_inf.html
[Thu Jul 13 12:13:58 2006] [error] [client 127.0.0.1] File does not
exist: C:/Program Files/Apache Group/Apache2/htdocs/_vti_bin
[Thu Jul 13 12:14:06 2006] [error] [client 127.0.0.1] File does not
exist: C:/Program Files/Apache Group/Apache2/htdocs/_vti_inf.html
[Thu Jul 13 12:14:06 2006] [error] [client 127.0.0.1] File does not
exist: C:/Program Files/Apache Group/Apache2/htdocs/_vti_bin

Where do I go about getting the right versions of those files?  I
don't seem to have them anywhere on my system (but still searching).

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

Re: Help with autoversioning/WebDAV on XP?

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jul 13, 2006, at 17:55, Andy Levy wrote:

> I am trying to set myself up with a few autoversioned folders using
> the repository I'm serving off my local machine.  Regular HTTP access
> to the SVN repository works fine.  I've been through
> http://svnbook.red-bean.com/nightly/en/svn.webdav.autoversioning.html
> and can't connect via a WebDAV client, whether it be Windows' "Web
> Folders" or MS Word 2003 (I even installed the update suggested in the
> above documentation).
>
> I am always given the error "cannot find folder" from Word and "the
> folder you entered appears to be invalid" from Add Network Place, yet
> I can check out the exact same URL via svn.exe and TSVN.  In the
> failed attempts, I am not prompted for authentication, although I do
> have it set up with this repository.

Is there anything interesting in the Apache error log at this point?



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