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

Re: Cannot commit using Apache Virtual Hosts

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-01-11 06:23:31 CET

On Jan 10, 2007, at 22:51, Jon Dawes wrote:

> I've tried updating and doing a clean-up to no avail. No one else
> is even using the repository yet as I haven't put the server into
> production. There aren't even any other valid user accounts to enable
> anyone to do a commit.

The fact that you're the only user of the repository doesn't mean you
can't run into the "out-of-date" message. Read about mixed-revision
working copies:

http://svnbook.red-bean.com/en/1.2/svn.basic.in-
action.html#svn.basic.in-action.mixedrevs

However, looking at your config again, I see something you should
change:

> <VirtualHost *>
> ServerAdmin jon.dawes@gmo.com
> ServerName svn
> DocumentRoot /var/svn-repos/research
>
> <Location />
> # Uncomment this to enable the repository,
> DAV svn
>
> # Set this to the path to your repository
> SVNPath /var/svn-repos/research

If /var/svn-repos/research is where your repository is, then your
DocumentRoot should point to anywhere *except* that location. /var/
empty for example would be a good choice (assuming your system has an
empty directory /var/empty), since the entire URL space is taken by
your repository anyway.

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jan 11 06:24:02 2007

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.