I happen to be reading "man git-daemon", where it says this:

       --interpolated-path=<pathtemplate>
           To support virtual hosting, an interpolated path template can be 
used to dynamically construct alternate paths. The template
           supports %H for the target hostname as supplied by the client but 
converted to all lowercase, %CH for the canonical
           hostname, %IP for the server’s IP address, %P for the port number, 
and %D for the absolute path of the named repository.
           After interpolation, the path is validated against the directory 
whitelist.

I have not tried this, but this sounds like virtual hosts should actually be 
possible? "supplied by the client" sounds like the Host: header in HTTP? 


On Mar 20, 2013, at 2:41, Marius Mårnes Mathiesen <marius.mathie...@gmail.com> 
wrote:

> 
> Johannes Ernst writes:
>> But he might want to publish "his" code at "his" domain, with his own
>> color scheme, branding etc. just like he might have a blog at that own
>> domain, etc. This is not unlikely as many employers, for example, now
>> Google their prospective hires and try to look at code they wrote.
> 
> One thing to consider here is to use Christian's amazingly awesome dolt
> gem to serve the repositories. Dolt is the code browser that will be
> shipping with Gitorious 3, but it's a standalone tool and doesn't
> include things like merge requests, push/pull etc.
> 
> The readme for dolt (unfortunately not served by dolt, and thus not
> properly syntax-highlighted) is at 
> https://gitorious.org/gitorious/dolt/blobs/master/Readme.md
> 
> Cheers,
> - Marius
> 
> -- 
> -- 
> To post to this group, send email to gitorious@googlegroups.com
> To unsubscribe from this group, send email to
> gitorious+unsubscr...@googlegroups.com
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Gitorious" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to gitorious+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 

-- 
-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com

--- 
You received this message because you are subscribed to the Google Groups 
"Gitorious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitorious+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to