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

Problems with Apache config to support SVN

From: Arthur Pesa <apesa_at_arthurpesa.com>
Date: Wed, 09 Feb 2011 10:31:02 -0800

Hello, I have posted this on a couple boards over the last weekend and
can't seem to get an answer. I have the following Dev environment in
which I am trying to connect to an SVN repo on the local machine.

Ubuntu 10.04
Eclipse w/subversive plugins
Apache (LAMP)
Subversion installed

I have installed everything using synaptic or apt from existing
supported packages. I have created an SVN repo and can see it in the
filesystem. I have configured the Apache server as found below in
httpd.conf:

##
## httpd.conf
##
DocumentRoot "/var/www"
#
##Subversion Configuration
##
Servername "superglts"
#
Alias /SVN /home/apesa/Development/SVN
#
<Directory /home/apesa/Development/SVN>
AllowOverride All
DAV svn
Order allow,deny
Allow from all
</Directory>
#
<Location /SVN>
DAV svn
SVNListParentPath on
SVNParentPath "/SVN"
AuthName "SVN"
AuthType Basic
SVNPathAuthz off
AuthBasicProvider file
AuthUserFile "/home/apesa/Development/passwords"
Require valid-user
</Location>

Right now the error I am getting from Eclipse is:

"Location Information is specified incorrectly"
svn: Malformed XML
Keep Location Anyway

I am using a password file created with htpasswd that is working. It
will recognize invalid users and will bump them while it passes me so I
believe that is working as expected.

I created the svn Repo with the following syntax:
$svnadmin create /home/apesa/Development/SVN

I can see this in the filesystem and it appears to be ok. I am hoping
that someone will recognize my mistakes.

Thanks,
Pat
Received on 2011-02-09 19:32:01 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.