Thread (1 message) 1 message, 1 author, 2016-06-15

Re: Make Gitweb behave like Apache mod_userdir

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:47:44

"J.H." [off-list ref] writes:
Junio C Hamano wrote:
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help