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

Re: [PATCH] gitweb: configurable home link string

From
Martin Waitz <tali@admingilde.org>
Date
Aug 15, 2006, 22:11 UTC
Message-ID
<20060815221147.GB14459@admingilde.org>
In-Reply-To
<87mza5ycfr.wl%cworth@cworth.org>
hoi :)
On Tue, Aug 15, 2006 at 01:24:40PM -0700, Carl Worth wrote:
> Currently I've got gitweb running at the root URL on its own domain
> with the following apache configuration:
> 
> 	ScriptAlias / /usr/lib/cgi-bin/gitweb
I use the following configuration:
    DocumentRoot /pub/git
    RewriteEngine on
    RewriteRule ^/(.*\.git/(.*\.html)?)?$ /cgi-bin/gitweb.cgi%{REQUEST_URI}  [L,PT]

this has the advantage that normal http: repository accesses go to the normal web server and only gitweb accesses go to the CGI.

> Finally, once I get that working, I would like gitweb to generate URLs
> of this form in the link it generates. Does it have that capability
> yet? (It would also be nice if it didn't append options that are the
> default anyway, such as ";a=summary").

I had this for an very old gitweb version and am currently reimplementing it for current gitweb versions.

-- 
Martin Waitz
Previous: Carl Worth
Message 6 of 6 in “gitweb: configurable home link string”
  1. gitweb: configurable home link stringYasushi SHOJI, Aug 14, 2006
  2. Jakub NarebskiAug 15, 2006
  3. Martin WaitzAug 15, 2006
  4. Jakub NarebskiAug 15, 2006
  5. Carl WorthAug 15, 2006
  6. Martin WaitzAug 15, 2006

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.