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

Re: "OPTIONS request failed" on commit

From: Nico Kadel-Garcia <nkadel_at_comcast.net>
Date: 2006-05-16 00:08:13 CEST

Jeff Jensen wrote:
> Hi,
> We temporarily setup svnserve for our new Subversion server (and it
> works :-), and now are trying to setup use through Apache. We have
> it partially working from remote (e.g. authentication, authorization,
> svn co, browser traversing), but cannot commit.
> Using:
> svn, version 1.1.4 (r13838)
> compiled Apr 5 2005, 05:18:28
> Apache/2.0.53
> We've been pulling our hair out Googling and searching this list's
> archives etc. (every thread starts to answer something, but then ends
> :-( I know there is some config error on our part. So far we have
> not determined what it is!
> Our best guess so far is there is/are another thing to config in
> httpd.conf, or something with our firewall/forwarding. For starters,
> we understand that the web-dav OPTIONS command is not working, but
> not sure how to get further/troubleshoot and diagnose why.
> The core issue to solve is this error:
> $ svn commit -m "the msg"
> svn: Commit failed (details follow):
> svn: OPTIONS request failed on '/svn/mndoc'
> svn: The OPTIONS request returned invalid XML in the response: XML
> parse error at line 1: no element found (/svn/mndoc)
> This is the section added to http.conf
> <IfModule mod_dav_svn.c>
> <Location /svn>
> DAV svn
> SVNParentPath /home/subversion/repos
> #access control policy
> AuthzSVNAccessFile /home/subversion/conf/authorization-apache

I suggest that this is a big part of your problem. The SVNAccess format
is.... odd. Take a look at the svnperms.py and svnperms.conf files for using
a pre-commit hook script to control access.

> #how to authenticate
> AuthType Basic
> AuthName "Subversion Repository"
> AuthUserFile /home/subversion/conf/authentication-apache
> #only authenticated users can access
> Require valid-user
> </Location>
> </IfModule>
> Anyone have advice for us please?!

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 16 00:09:17 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.