debian/gitweb: apache configuration requires mod_mime
commitfea4796b5c5e36a420008d53a5ce1c9efc08700f
authorJonathan Nieder <jrnieder@gmail.com>
Tue, 13 Jan 2015 01:11:07 +0000 (12 17:11 -0800)
committerJonathan Nieder <jrnieder@gmail.com>
Tue, 13 Jan 2015 01:11:07 +0000 (12 17:11 -0800)
treede03cc12c5c43f35728e3a723aa14bf732dcac75
parentb5cd440d3a1c051e6550b348c0d8f885999f3352
debian/gitweb: apache configuration requires mod_mime

A configuration without mod_mime enabled fails to load:

  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

Declare the dependency on mod_mime so the /gitweb site can be
automatically disabled when mod_mime is disabled.

Reported-by: Uwe Storbeck <uwe@ibr.ch>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
debian/changelog
debian/gitweb.apache2.conf