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

Re: Help with Apache SVN setup

From: Ryan Schmidt <subversion-2010a_at_ryandesign.com>
Date: Sun, 28 Mar 2010 17:10:28 -0500

On Mar 28, 2010, at 16:53, Ion Jaureguialzo Sarasola wrote:

> I've setup a new repository with apache svn and everything works fine except commiting new files. Those which already exist behave well.
>
> My repositories are in a machine with Ubuntu 9.10 Server and the path for the repos is /var/subversion. All the repos are inside it.
>
> Here's the vhost for apache:
>
> <IfModule mod_ssl.c>
> <VirtualHost 82.223.117.122:443>
> ServerName svn.iosistemas.com
>
> <Location />
> DAV svn
> SVNParentPath /var/subversion/
> AuthType Basic
> AuthName "IO Sistemas SVN"
> AuthUserFile /etc/subversion/passwd
> Require valid-user
> </Location>
>
>
> SSLEngine on
> SSLCertificateFile /etc/ssl/certs/server.crt
> SSLCertificateKeyFile /etc/ssl/private/server.key
>
> </VirtualHost>
> </IfModule>

Don't forget to set a DocumentRoot. I use "DocumentRoot /var/empty" but you may want to set up a new directory to be this vhost's document root, so you can add things like a favicon.ico, xslt stylesheets, etc.

> [Sun Mar 28 23:22:56 2010] [error] [client 85.87.32.155] (20014)Internal error: Can't open file '/var/subversion/error/format': No such file or directory
> [Sun Mar 28 23:22:56 2010] [error] [client 85.87.32.155] Could not fetch resource information. [500, #0]
> [Sun Mar 28 23:22:56 2010] [error] [client 85.87.32.155] Could not open the requested SVN filesystem [500, #2]
> [Sun Mar 28 23:22:56 2010] [error] [client 85.87.32.155] Could not open the requested SVN filesystem [500, #2]

And presumably the repository's name is not "error"? I'm not sure why this is happening, but trying to put a repository at the root of a vhost is often problematic for a variety of reasons. I mean it works for me, but many others have reported problems. I have no slash at the end of my SVNParentPath definition and you do, so maybe that's part of it. If you can't resolve the problem, consider trying to place the repositories in a subdirectory of the webspace, e.g. "<Location /svn>", and see if that clears up the error.
Received on 2010-03-29 00:10:59 CEST

This is an archived mail posted to the Subversion Users mailing list.