Bug#775236: gitweb breaks apache2 configuration - Invalid command 'AddHandler'

2015-01-12 Thread Jonathan Nieder
Hi Uwe,

Uwe Storbeck wrote:

 the upgrade of gitweb from version 1:2.1.3-1 to 1:2.1.4-2 broke
 the apache2 configuration on my system:

   apache2_invoke: Enable configuration gitweb
   apache2_reload: Your configuration is broken. Not reloading Apache 2
   apache2_reload: AH00526: Syntax error on line 15 of 
 /etc/apache2/conf-enabled/gitweb.conf:
   apache2_reload: Invalid command 'AddHandler', perhaps misspelled or defined 
 by a module not included in the server configuration

 It looks like gitweb requires mod_mime to be enabled on the web
 server. At least my apache server starts again after enabling
 mod_mime.

I'll make the configuration conditional on mod_mime with the next
upload.

Sorry for the trouble,
Jonathan


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#775236: gitweb breaks apache2 configuration - Invalid command 'AddHandler'

2015-01-12 Thread Uwe Storbeck
Package: gitweb
Version: 1:2.1.4-2
Severity: normal

Dear Maintainer,

the upgrade of gitweb from version 1:2.1.3-1 to 1:2.1.4-2 broke
the apache2 configuration on my system:

  apache2_invoke: Enable configuration gitweb
  apache2_reload: Your configuration is broken. Not reloading Apache 2
  apache2_reload: AH00526: Syntax error on line 15 of 
/etc/apache2/conf-enabled/gitweb.conf:
  apache2_reload: Invalid command 'AddHandler', perhaps misspelled or defined 
by a module not included in the server configuration

It looks like gitweb requires mod_mime to be enabled on the web
server. At least my apache server starts again after enabling
mod_mime.

I had installed gitweb a while ago but hadn't set up the
repositories yet. So I don't know if gitweb was working before.
But at least it did not break the apache configuration.

I don't know what severity is appropriate for this kind of bug.
If you notice the error message on upgrade it's easy to fix by
enabling mod_mime, but if the error slips unnoticed it'll break
your web server on the next restart. So adjust the severity as
you like.

Regards

Uwe


-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (750, 'testing'), (650, 'unstable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.14-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gitweb depends on:
ii  apache2 [httpd] 2.4.10-9
ii  dpkg1.17.23
ii  git 1:2.1.4-2
ii  lynx-cur2.8.9dev1-2+b1
ii  mini-httpd [httpd]  1.19-9.3
ii  perl5.20.1-4

Versions of packages gitweb recommends:
ii  libhttp-date-perl  6.02-1

Versions of packages gitweb suggests:
ii  apache2 [httpd-cgi] 2.4.10-9
pn  git-doc none
ii  libcgi-fast-perl1:2.04-1
ii  mini-httpd [httpd-cgi]  1.19-9.3

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org