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

Re: Restricting svn to one VirtualHost

From: Patrick Burleson <pburleson_at_gmail.com>
Date: 2005-03-11 01:26:23 CET

On Thu, 10 Mar 2005 19:21:36 -0500, Michael Becker <spammb@gmail.com> wrote:
> I have svn up and running using apache for access. I have one minor
> bug in my setup that is a little annoying though.
> I installed subversion using yum so my subversion apache directives
> are in a separate file called subversion.conf in conf.d
> I have 3 domains running off of my internet connection using the
> VirtualHost directive in my httpd.conf file
> Here's the issue, I only want svn to show up when someone browses to a
> particular domain, but at the moment, it shows up when browsing my
> subversion path on all domains.
> Is there a way to restrict the access to one single virtualhost domain
> outside of moving what is in my subversion.conf file into the
> virtualhost directive of that domain in my httpd.conf file?
> Thanks for you help!
> Michael Becker
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

My guess is somewhere in httpd.conf there's a line like

include subversion.conf

move that line into the appropriate VirtualHost and I think that will
fix your problem. (I'm not exactly sure if includes are allowed in
VirtualHosts, but I am pretty sure they are)

Patrick

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 11 01:28:53 2005

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.