Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

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

From: Jon Loeliger <hidden>
Date: 2016-06-15 22:42:37

Possibly related (same subject, not in this thread)

On Wed, 2006-08-23 at 15:56, Pierre Habouzit wrote:
Another option would be not to support virtual hosts, but instead 
superseed the --base-path and --user-path with some --base-path-fmt 
and --user-path-fmt where the user can specify how to build the path 
with simple sprintf-like formats. One could e.g. support:
 * %% obviously ;
 * %h that will be replaced with the hostname
 * %u (only for --user-path-fmt)
 * %p (asked path)
 * ...
And this is exactly what I have implemented and
running on my system today!
I think that's more clever, and allow more flexible use of the virtual 
hosting code. It e.g. allow to use the virtual host scheme for the 
`base-path` repos and to disallow it for the users.

--*-path and --*-path-fmt are obviously mutually exclusive.

What do you think ?
I kinda like it... :-)

jdl
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help