Re: [PATCH] gitweb: configurable home link string

From: Martin Waitz <tali@admingilde.org>
Date: 2006-08-16 08:11:48
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

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Received on Wed Aug 16 08:13:33 2006

This archive was generated by hypermail 2.1.8 : 2006-08-16 08:15:35 EST