threads / discuss / 4397

Re: git daemon directory munging?

Subject: Re: git daemon directory munging?

## tl;dr

2 messages between Jun 5, 2006 and Jun 5, 2006.

replies: 1people: 2as markdown or json

Jon Loeliger· Jun 5, 2006, 02:10 UTC · lore
> Well, you can bind different git daemons to different IP addresses 
> (IP-based vhosting) or different ports (with SRV records in DNS.)

Is there existing support for telling the git-daemon what specific IP to bind to out of an inetd setup and I just missed it?

I could set that up realatively easily and gain the functionality I wanted that way too.

I've also hacked in a host interpolation too.

But like you said, canonicalizing it and checking it is likely a bit of a pain. I've side-stepped one angle of that by symlinking in my /pub directory for multiple different hostnames too. :-)

jdl
H. Peter Anvin· Jun 5, 2006, 02:59 UTC · re: Jon Loeliger · lore
Jon Loeliger wrote:
Show 7 quoted lines
>> Well, you can bind different git daemons to different IP addresses 
>> (IP-based vhosting) or different ports (with SRV records in DNS.)
> 
> Is there existing support for telling the git-daemon what
> specific IP to bind to out of an inetd setup and I just
> missed it?
> 
No, but that really should be added.  It's a pretty trivial hack.
Show 10 quoted lines
> I could set that up realatively easily and gain the 
> functionality I wanted that way too.
> 
> I've also hacked in a host interpolation too.
> 
> But like you said, canonicalizing it and checking it is likely
> a bit of a pain.  I've side-stepped one angle of that by
> symlinking in my /pub directory for multiple different
> hostnames too.  :-)
> 

Doesn't work very well. DNS is case-insensitive, and worse, there are the PunyCode aliases or whatever they're called.

	-hpa

← back to recent threads