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

Re: svn log fails on repository root

From: Greg Stein <gstein_at_lyra.org>
Date: 2003-10-29 03:11:15 CET

Tobias' point is the typical cause of the symptoms you are seeing. Apache
will see the 'repos' subdirectory under the docroot, note that you don't
have a trailing slash, and perform a redirect to put one there. This
behavior occurs "before" the <Location /repos> processing.

Putting a trailing slash on the URL at the command line doesn't help
because it is usually stripped off anyways. The Location block shouldn't
have a trailing slash, and I believe any trailing slashes on SVNPath might
be stripped off, too.

It is almost always a subdirectory in your docroot.

Cheers,
-g

On Tue, Oct 28, 2003 at 11:59:32PM +0100, Tobias Ringstrom wrote:
> Vlad Skvortsov wrote:
> > Unfortunately that doesn't work in my case. I've tried all 4
> > combinations.
>
> I bet you have a directory under your ServerRoot with the same name as
> the direcory in your Location. Hmmm... I'm not sure that I
> understand that sentence myself, so here's an example.
>
> Let's say that your ServerRoot is /var/www, and you have the following
> Location in the httpd.conf:
>
> <Location /repos>
> DAV svn
> ...
> </Location>
>
> For some reason you may not have an on disk directory /var/www/repos.
> If you do that, you get the error you got. There is not reason to
> have the svn repos under the ServerRoot. Put it under /var/svn or
> something instead.
>
> Please let us know if this was the problem!
>
> /Tobias
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 29 03:12:51 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.