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

Re: Problems with Apache config to support SVN

From: Arthur Pesa <apesa_at_arthurpesa.com>
Date: Wed, 09 Feb 2011 20:12:18 -0800

Thanks for the help, I removed the DAV reference in <DIRECTORY> and
removed the Alias reference and added that path to the Repo in
SVNParentPath as suggested. I am, still getting the same error.

 Location Information has been specified incorrectly
 Svn: Malformed XML
 Keep Location Anyway

This is all the Apache config I have:

<Directory /home/apesa/Development/SVN>
AllowOverride All
Order allow,deny
Allow from all
<Location /SVN>
DAV svn
SVNListParentPath on
SVNParentPath "/home/apesa/Development"
AuthName "SVN"
AuthType Basic
SVNPathAuthz off
AuthBasicProvider file
AuthUserFile "/home/apesa/Development/passwords"
Require valid-user

Am I missing some corresponding configuration in the Repo?


On Wed, 2011-02-09 at 13:41 -0600, Ryan Schmidt wrote:
> On Feb 9, 2011, at 12:31, Arthur Pesa wrote:
> > Alias /SVN /home/apesa/Development/SVN
> Remove this "Alias" line.
> > <Directory /home/apesa/Development/SVN>
> > AllowOverride All
> > DAV svn
> Remove this "DAV" line.
> > <Location /SVN>
> > DAV svn
> > SVNListParentPath on
> > SVNParentPath "/SVN"
> [snip]
> > I created the svn Repo with the following syntax:
> > $svnadmin create /home/apesa/Development/SVN
> The SVNParentPath line should read "SVNParentPath /home/apesa/Development" if you are going to create other repositories (or "SVNPath /home/apesa/Development/SVN" if you only are going to have this single repository).
Received on 2011-02-10 05:13:28 CET

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.