You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Kate F <ka...@elide.org> on 2012/10/10 01:39:08 UTC

svnserve, virtual hosts, and an open ticket from 2008

Hi,

I have several repositories which I'm currently serving over http.
Some have their own domain name (http://svn.project.org/), some are
multiple projects belonging to one company (http://svn.company.com/xyz
and http://svn.company.com/abc), and others are shared under the same
domain.

I'd like to stop using Apache, and serve these over svn:// instead,
using svnserve. But I don't want to lump them all together in the same
URL space. And I don't want to run svnserve lots of times on different
IPs or ports.

There's an open ticket with a patch which implements exactly what I'd like:
http://subversion.tigris.org/issues/show_bug.cgi?id=3283

That ticket provides "virtual hosts" for svnserve (in the spirit of
HTTP's Host: header). The patch looks pretty straightforward; it seems
that all the information is conveniently present:

http://svn.haxx.se/dev/archive-2008-07/0705.shtml

Would somebody be so kind as to commit this, please?

Thank you,

-- 
Kate

Re: svnserve, virtual hosts, and an open ticket from 2008

Posted by Stefan Fuhrmann <st...@wandisco.com>.
On Wed, Oct 10, 2012 at 6:30 PM, C. Michael Pilato <cm...@collab.net>wrote:

> On 10/10/2012 11:44 AM, Stefan Fuhrmann wrote:
> >     That ticket provides "virtual hosts" for svnserve (in the spirit of
> >     HTTP's Host: header). The patch looks pretty straightforward; it
> seems
> >     that all the information is conveniently present:
> >
> >     http://svn.haxx.se/dev/archive-2008-07/0705.shtml
> >
> >     Would somebody be so kind as to commit this, please?
> >
> >
> > If no-one is opposed to that, I will simply apply
> > and commit this next weekend.
>
> +1.  I've implemented similar for other tools in the past.  Seems like a
> pretty common request for URL-serviced daemons.
>

Committed in r1401296.

-- Stefan^2.

-- 
*

Join us this October at Subversion Live
2012<http://www.wandisco.com/svn-live-2012>
 for two days of best practice SVN training, networking, live demos,
committer meet and greet, and more! Space is limited, so get signed up
today<http://www.wandisco.com/svn-live-2012>
!
*

Re: svnserve, virtual hosts, and an open ticket from 2008

Posted by "C. Michael Pilato" <cm...@collab.net>.
On 10/10/2012 11:44 AM, Stefan Fuhrmann wrote:
>     That ticket provides "virtual hosts" for svnserve (in the spirit of
>     HTTP's Host: header). The patch looks pretty straightforward; it seems
>     that all the information is conveniently present:
> 
>     http://svn.haxx.se/dev/archive-2008-07/0705.shtml
> 
>     Would somebody be so kind as to commit this, please?
> 
> 
> If no-one is opposed to that, I will simply apply
> and commit this next weekend.

+1.  I've implemented similar for other tools in the past.  Seems like a
pretty common request for URL-serviced daemons.

-- 
C. Michael Pilato <cm...@collab.net>
CollabNet   <>   www.collab.net   <>   Enterprise Cloud Development


Re: svnserve, virtual hosts, and an open ticket from 2008

Posted by Stefan Fuhrmann <st...@wandisco.com>.
On Wed, Oct 10, 2012 at 1:39 AM, Kate F <ka...@elide.org> wrote:

> Hi,
>
> I have several repositories which I'm currently serving over http.
> Some have their own domain name (http://svn.project.org/), some are
> multiple projects belonging to one company (http://svn.company.com/xyz
> and http://svn.company.com/abc), and others are shared under the same
> domain.
>
> I'd like to stop using Apache, and serve these over svn:// instead,
> using svnserve. But I don't want to lump them all together in the same
> URL space. And I don't want to run svnserve lots of times on different
> IPs or ports.
>
> There's an open ticket with a patch which implements exactly what I'd like:
> http://subversion.tigris.org/issues/show_bug.cgi?id=3283
>

Yes, that looks good. I just checked the /trunk
code for changes during the last 4 years that
would render the patch incomplete. But it seems
to be still valid (except for the option ID).


> That ticket provides "virtual hosts" for svnserve (in the spirit of
> HTTP's Host: header). The patch looks pretty straightforward; it seems
> that all the information is conveniently present:
>
> http://svn.haxx.se/dev/archive-2008-07/0705.shtml
>
> Would somebody be so kind as to commit this, please?
>

If no-one is opposed to that, I will simply apply
and commit this next weekend.

-- Stefan^2.

-- 
*

Join us this October at Subversion Live
2012<http://www.wandisco.com/svn-live-2012>
 for two days of best practice SVN training, networking, live demos,
committer meet and greet, and more! Space is limited, so get signed up
today<http://www.wandisco.com/svn-live-2012>
!
*