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

Re: Make Gitweb behave like Apache mod_userdir

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 17, 2009, 23:46 UTC
Message-ID
<7vskccaf4q.fsf@alter.siamese.dyndns.org>
In-Reply-To
<4B032AC8.4@eaglescrag.net>
"J.H." <warthog19@eaglescrag.net> writes:
Show 8 quoted lines
> For starters I think overriding the /~<user> (specifically the ~ here)
> is going to be a bad idea no matter what you do and gives the wrong
> impression about what / how the request is being responded to.  You
> might want to try and pick a different delimiter or re-work the rule
> so that you could have something like:
>
> 	http://git.kernel.org/<gitweb urls>
> 	http://git.kernel.org/user/<gitweb urls>

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?
Previous: J.H.Next: J.H.
Message 14 of 18 in “Make Gitweb behave like Apache mod_userdir”
  1. Sylvain RabotNov 15, 2009
  2. Junio C HamanoNov 15, 2009
  3. Jakub NarebskiNov 17, 2009
  4. Sylvain RabotNov 17, 2009
  5. Jakub NarebskiNov 17, 2009
  6. Sylvain RabotNov 17, 2009
  7. Junio C HamanoNov 17, 2009
  8. Sylvain RabotNov 17, 2009
  9. Junio C HamanoNov 17, 2009
  10. Sylvain RabotNov 17, 2009
  11. Junio C HamanoNov 17, 2009
  12. J.H.Nov 17, 2009
  13. J.H.Nov 17, 2009
  14. Junio C HamanoNov 17, 2009
  15. J.H.Nov 17, 2009
  16. Junio C HamanoNov 18, 2009
  17. J.H.Nov 18, 2009
  18. Sylvain RabotNov 18, 2009

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.