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

Problems committing with mod_dav_svn and <Location />

From: André Pang <ozone_at_algorithm.com.au>
Date: 2004-04-06 05:46:10 CEST

Hi all,

I've set up a Subversion server which uses mod_dav_svn to serve out the
repository for read/write access. The repos can be accessed via two
URLs: http://www.foo.bar/svn/repo, and http://svn.foo.bar/repo.

The problem I'm having is that a "svn commit" client command doesn't
work if we check out a repo from http://svn.foo.bar/repo, but it _does_
work if we use http://www.foo.bar/svn/repo. My Apache configuration
files contain the following:

<VirtualHost *>
         ServerName www.foo.bar
         <Location /svn>
                 DAV svn
                 SVNParentPath
/usr/local/share/subversion/repositories/foo
                 AuthType Basic
                 AuthName "Foo"
                 AuthUserFile /etc/subversion/httpd-auth-file

                 <LimitExcept GET PROPFIND OPTIONS REPORT>
                         Require valid-user
                 </LimitExcept>
         </Location>
</VirtualHost>

<VirtualHost *>
         ServerName svn.foo.bar
         <Location />
                 DAV svn
                 SVNParentPath
/usr/local/share/subversion/repositories/foo
                 AuthType Basic
                 AuthName "Foo"
                 AuthUserFile /etc/subversion/httpd-auth-file

                 <LimitExcept GET PROPFIND OPTIONS REPORT>
                         Require valid-user
                 </LimitExcept>
         </Location>
</VirtualHost>

Is there a problem using mod_dav_svn with a location of /, or have I
botched up a configuration file?

Thanks,

-- 
% Andre Pang : trust.in.love.to.save
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Apr 6 16:50:08 2004

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.