Re: [PATCH] git-daemon virtual hosting implementation.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Junio C Hamano
Date: Wednesday, August 23, 2006 - 1:11 pm

Pierre Habouzit <madcoder@debian.org> writes:



This part is objectionable -- older clients do not give "host=".
I think the plan, when virtual hosting was proposed and we added
this to the client side first, was to treat older clients as if
they specified the "primary" host.  So we would need some
mechanism to say where the repositories of the "primary" host
lives.


I am not sure if the interaction between user-path and vhost
should go like this, but I do not think of a good alternative to
suggest right now.  Your code allows ~user/host1 and ~user/host2
to host different set of repositories, but I suspect if somebody
is setting up a virtual hosting of two hosts, he might want to
have two distinct set of users (iow to pretend that ~user exist
only on host1 but not on host2).  I dunno.


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] git-daemon virtual hosting implementation., Pierre Habouzit, (Wed Aug 23, 11:52 am)
Re: [PATCH] git-daemon virtual hosting implementation., Junio C Hamano, (Wed Aug 23, 1:11 pm)
Re: [PATCH] git-daemon virtual hosting implementation., Pierre Habouzit, (Wed Aug 23, 1:56 pm)
Re: [PATCH] git-daemon: more powerful base-path/user-path ..., Pierre Habouzit, (Thu Aug 24, 12:50 am)
Re: [PATCH] git-daemon virtual hosting implementation., Jon Loeliger, (Thu Aug 24, 1:15 pm)
Re: [PATCH] git-daemon virtual hosting implementation., Jon Loeliger, (Thu Aug 24, 1:34 pm)
Re: [PATCH] git-daemon virtual hosting implementation., Junio C Hamano, (Thu Aug 24, 1:35 pm)
Re: [PATCH] git-daemon: more powerful base-path/user-path ..., Randal L. Schwartz, (Sun Aug 27, 9:06 am)