Your message dated Sun, 28 Nov 2010 15:21:55 -0600
with message-id <20101128212155.gc20...@burratino>
and subject line Re: gitweb: false base href sent when integrated via reverse 
proxy and path_info is active
has caused the Debian Bug report #605316,
regarding gitweb: $base_url configuration not respected
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 [email protected]
immediately.)


-- 
605316: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=605316
Debian Bug Tracking System
Contact [email protected] 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.2.3-2.1

Fixed by 64cdb4f1 (debian/diff: trivial fixes from 'maint',
2010-11-14).


--- End Message ---

Reply via email to