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

Re: Make Gitweb behave like Apache mod_userdir

From
Sylvain Rabot <sylvain@abstraction.fr>
Date
Nov 17, 2009, 19:56 UTC
Message-ID
<7fce93be0911171156h3af4c7e6i93407db5bcab7059@mail.gmail.com>
In-Reply-To
<200911171912.40658.jnareb@gmail.com>
On Tue, Nov 17, 2009 at 19:12, Jakub Narebski <jnareb@gmail.com> wrote:
Show 18 quoted lines
> On Tue, 17 Nov 2009, Sylvain Rabot wrote:
>> On Tue, Nov 17, 2009 at 14:58, Jakub Narebski <jnareb@gmail.com> wrote:
>
>> > The description is a bit lacking.  Where user should put theirs git
>> > repositories, or symbolic links to git repositories?
>>
>> As I said It's only configuration so It depends of your server
>> architecture. If admin of the server decides he allows users to browse
>> via gitweb their private/public repos which are linked in
>> /home/*/.gitweb or anything else he has to modify the environmental
>> variable in the rewrite rule according to his wish.
>
> So in described configuration, to make repository visible user would have
> to put repository, or symbolic link to repository (or .git/ directory of
> the repository) in ~/gitweb/ directory (just like one would need to put
> HTML files in ~/public_html/ or ~/WWW/ to have them visible as web site),
> isn't it?
>
That's right.
Show 5 quoted lines
>> > How it would look like in gitweb?
>>
>> What do you mean ?
>
> How would example gitweb URL to repository look like?

http://repo.or.cz/ -> list the main GITWEB_PROJECTROOT (e.g.: /pub/scm) http://repo.or.cz/~user -> list /home/user/gitweb http://repo.or.cz/~user2 -> list /home/user2/gitweb ...

Show 5 quoted lines
>
> --
> Jakub Narebski
> Poland
>
Previous: Jakub NarebskiNext: Junio C Hamano
Message 6 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.