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

Re: apache configuration questions

From: Andrey Repin <anrdaemon_at_freemail.ru>
Date: Tue, 3 Nov 2009 04:03:20 +0300

Greetings, Christine Ross!

> One question though. How does that eliminate the problems of "Apache won't
> know whether to look for a file repos/foo.c in the DocumentRoot, or whether
> to delegate mod_dav_svn to return foo.c from the Subversion repository."

It's irrelevant for Apache 2.2 as I know.
It always look for DAV first.

But to be on safe side, don't put any real files that would happen on the same
URL, as the location of SVN repository.

> DirectoryRoot /usr/local/apache2/htdocs/docsite and

> <Location /docsite>
> DAV svn
> SVNParentPath /usr/local/apache2/htdocs/docsite
> </Location>

Real bad idea, i'd say.
Try

DirectoryRoot /home/svn/htdocs and

<Location /docsite>
  DAV svn
  SVNParentPath /home/svn/repos
</Location>

(However, create appropriate user (svn) first, and assign him to the same
primary group, as your Apache server running.)

Also, it would be good if you don't top-post.

--
WBR,
 Andrey Repin (anrdaemon_at_freemail.ru) 03.11.2009, <3:58>
Sorry for my terrible english...
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2413987
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-11-03 02:07:09 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.