Your message dated Tue, 8 Nov 2011 21:51:22 -0600
with message-id <20111109035122.ga28...@elie.hsd1.il.comcast.net>
and subject line Re: gitweb.conf has no manual page
has caused the Debian Bug report #605217,
regarding gitweb.conf has no manual page
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
605217: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=605217
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: gitweb
Version: 1:1.7.2.3-2
Severity: normal

Hi,

I just noticed that integrating gitweb via reverse proxy is impossible when 
path_info is enabled in gitweb.conf. The base href sent on gitweb.cgi:3427 
contains the "internal" URL called by the reverse proxy mechanism, not the 
original one called by the user agent which makes it impossible for the client 
to display CSS, images, etc...

I suggest an additional config variable, e.g. 
$feature{'pathinfo'}{'basehrefoverride'} which could override the base href tag 
determinted by the cgi script (or disable sending a base href tag at all - at 
least I was able to achieve my desired setup by adjusting the URLs for CSS etc 
in gitweb.conf to fitting absolute URLs).

Thanks,

Daniel

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35.7-1-amd64-dhr (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF8, LC_CTYPE=en_US.UTF8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gitweb depends on:
ii  apache2-mpm-itk [httpd-cgi]  2.2.16-4    multiuser MPM for Apache 2.2
ii  git                          1:1.7.2.3-2 fast, scalable, distributed revisi
ii  perl                         5.10.1-16   Larry Wall's Practical Extraction 

gitweb recommends no packages.

Versions of packages gitweb suggests:
pn  git-doc                       <none>     (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 1:1.7.8~rc0-1

Jonathan Nieder wrote:

> I'm hijacking this bug to request a better manual page. :)

Fixed by v1.7.8-rc0~10^2~5 (gitweb: Add gitweb.conf(5) manpage for
gitweb configuration files, 2011-10-16).  Thanks to Drew Northup and
Jakub Narebski for their tireless efforts.

If you get a chance to look it over, I'd be happy to hear your
thoughts (especially ideas for improvement).


--- End Message ---

Reply via email to