[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: Ryan Schmidt <subversion-2005_at_ryandesign.com>
Date: 2005-03-12 03:52:38 CET

On 11.03.2005, at 01:26, Patrick Burleson wrote:

> On Thu, 10 Mar 2005 19:21:36 -0500, Michael Becker <spammb@gmail.com>
> wrote:
>> 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?

> 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)

Yes, it is possible to Include a file inside a virtual host. I do this
often, especially to set up a secure and an insecure version of the
same site. Define the DocumentRoot, aliases, log directives, rewrite
rules or whatever in another file, and include it in both a port 80 and
a port 443 vhost, and in the 443 vhost include another separate file
which sets up the SSL environment.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Mar 12 03:55:03 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.