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

Potential bug in gitweb 1.7.2

From
Julio Lajara <ju2wheels@gmail.com>
Date
Jul 26, 2010, 04:55 UTC
Message-ID
<4C4D152A.7050505@gmail.com>

Hi all, I recently had git/gitweb (1.7.0.4) setup on my Ubuntu 10.04 box and decided to add ppa:git-core/ppa to get up to 1.7.2. After I did so, my previously working gitweb stopped functioning and only shows a blank page. Im using apache/cgi and the following error is what I found in my apache error log:

[Sat Jul 24 23:11:41 2010] [error] [client 192.168.1.100] Can't call method "http" on an undefined value at /usr/share/gitweb/index.cgi line 3401., referer: http://192.168.1.142/gitweb/

 From the latest source:
cat -n gitweb.perl | grep 3401
   3401        if (defined $cgi->http('HTTP_ACCEPT') &&
Thanks,
Next: Jonathan Nieder
Message 1 of 15 in “Potential bug in gitweb 1.7.2”
  1. Julio LajaraJul 26, 2010
  2. Jonathan NiederJul 26, 2010
  3. Anders KaseorgJul 26, 2010
  4. Julio LajaraJul 26, 2010
  5. Jakub NarebskiJul 26, 2010
  6. Ævar Arnfjörð BjarmasonJul 26, 2010
  7. Julio LajaraJul 26, 2010
  8. Jakub NarebskiJul 26, 2010
  9. gitweb: allow configurations that change with each requestJonathan Nieder, Jul 31, 2010
  10. Jakub NarebskiAug 2, 2010
  11. Jonathan NiederAug 2, 2010
  12. Jakub NarebskiAug 2, 2010
  13. Jonathan NiederJul 26, 2010
  14. Anders KaseorgJul 26, 2010
  15. Jonathan NiederJul 27, 2010

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.