[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: Larry Shatzer <fugazi_at_zyx.net>
Date: Mon, 2 Nov 2009 15:48:21 -0700

On Mon, Nov 2, 2009 at 3:39 PM, Christine Ross <cross_at_hccs.com> wrote:
> Hello,
>
> I compiled the subversion software on my solaris 10 server.  I need to set
> up the server portion of it.  I read on
> http://svnbook.red-bean.com/en/1.0/ch06s04.html when setting up as httpd,
> the Apache HTTP server,
>
> I have one site with a DocumentRoot of /usr/local/apache2/htdocs/docsite.  I
> was going to make docsite the subversion repository but then I saw this?
>
> “Be sure that when you define your new Location, it doesn't overlap with
> other exported Locations. For example, if your main DocumentRoot is /www, do
> not export a Subversion repository in <Location /www/repos>. If a request
> comes in for the URI /www/repos/foo.c, 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.”
>
> My users just want to edit a document and have it immediately reflected on
> the web site without having to move it to another location.  Do you have any
> suggestions?   Can I use another directory for the repository and just
> create a symbolic link from docsite to the repository?
>

You can create a hook to keep an up to date copy. See
http://subversion.tigris.org/faq.html#website-auto-update

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2413965

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-11-02 23:49:16 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.