Re: Make Gitweb behave like Apache mod_userdir
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 18, 2009, 00:14 UTC
- Message-ID
- <7vr5rw8zap.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <4B0338F9.9000608@eaglescrag.net>
"J.H." <warthog19@eaglescrag.net> writes:
Show 17 quoted lines
> Junio C Hamano wrote: > >> I am not objecting but showing my ignorance, but why is it a bad idea to >> allow >> >> http://git.kernel.org/~junio/git.git >> >> to map to /home/junio/pubilic_git/git.git when >> >> http://www.kernel.org/~junio/index.html >> >> maps to /home/junio/public_html/index.html already? > > I'm not objecting to the mapping, I'm objecting to the use of the ~ > specifically, since that's the default for mod_userdir - it's more or > less a race condition waiting to happen with respect to does > mod_rewrite get to and process it first or does mod_userdir.
Yeah, thanks for explaining it to me. I realized the overlap between them immediately after I sent the message out X-<.
http://site.xz/users/gitster/git.git
(or anything that does not override "~name") sounds good to me.