git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git daemon directory munging?

From
HAH. Peter Anvin <hpa@zytor.com>
Date
Jun 5, 2006, 02:59 UTC
Message-ID
<44839E19.8070007@zytor.com>
In-Reply-To
<E1Fn4Xf-0000bL-82@jdl.com>
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
Previous: Jon Loeliger
Message 2 of 2 in “Re: git daemon directory munging?”
  1. Jon LoeligerJun 5, 2006
  2. H. Peter AnvinJun 5, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.