git-instaweb: support Fedora/Red Hat apache module path
authorSebastian Kisela <skisela@redhat.com>
Wed, 8 Aug 2018 08:49:18 +0000 (10:49 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 8 Aug 2018 15:29:45 +0000 (08:29 -0700)
commit1976311aa285549599e5a451d7ad72b55a2b60e2
tree9e58cce9e676d89f123c84eb5674683671d56eff
parent1d89318c48d233d52f1db230cf622935ac3c69fa
git-instaweb: support Fedora/Red Hat apache module path

On Fedora-derived systems, the apache httpd package installs modules
under /usr/lib{,64}/httpd/modules, depending on whether the system is
32- or 64-bit.  A symlink from /etc/httpd/modules is created which
points to the proper module path.  Use it to support apache on Fedora,
CentOS, and Red Hat systems.

Written with assistance of Todd Zullinger <tmz@pobox.com> and
Junio C Hamano <gitster@pobox.com>.

Signed-off-by: Sebastian Kisela <skisela@redhat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-instaweb.sh