Re: [RFC PATCH v3 00/17] Return of smart HTTP
Mark Lodato <lodatom@gmail.com> wrote:
Show 6 quoted lines
> The gitweb part is just bonus. (The only thing for gitweb is the one
> ScriptAlias line.) The real challenge is getting git-http-backend to
> serve repositories out of something other than DocumentRoot - say
> DocumentRoot is /var/www/htdocs but your git repositories are in
> /pub/git - which is why I posted the configuration. If you'd like, I
> can send you a patch to add this to the documentation.
Yes, a patch would be wonderful.
Show 8 quoted lines
> One idea to improve the situation is to first try
> $GIT_PROJECT_ROOT$PATH_INFO, falling back to $PATH_TRANSLATED if
> $GIT_PROJECT_ROOT is empty. This would make the configuration simple:
>
> -- 8< --
> SetEnv GIT_PROJECT_ROOT /pub/git
> ScriptAlias /git /usr/libexec/git-core/git-http-backend
> -- >8 --
Oooh. Perhaps a good idea. :-)
--
Shawn.