Re: gitweb testing with non-apache web server

From: Martin Waitz <>
Date: 2006-08-04 06:14:34
hoi :)

On Thu, Aug 03, 2006 at 12:41:20PM -0700, Junio C Hamano wrote:
> (that's two insertions of 'k').
> Now with PATH_INFO, how exactly is this easier?

well, editing is not easier, but you can do other nice things.

On I have set up apache to serve the contents
of my git repositories for all the well-known git repository
URLs (*.git/objects/*, *.git/refs/*, ...) and to call gitweb for
all other URLs.
That way I get the exact same URLs for both gitweb and http:// clone
(and even for git://, just change the protocol name).

I really think that it is very handy that you can give out a
repository URL and any user can just click on it and get the
summary page of this project.

I'm sure that it is possible to transfer the PATH_INFO into a p=
parameter through URL rewrite rules, but it is much easier
to set up if gitweb can directly grok appended paths.

I even changed the old gitweb to hand out links which used PATH_INFO
rather than the p= parameter so that the URLs looked nicer.
If there is interest in such a feature then I can do these changes

Martin Waitz

To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to
More majordomo info at

Received on Fri Aug 04 06:15:33 2006

This archive was generated by hypermail 2.1.8 : 2006-08-04 06:16:06 EST