LP#1476049: disable serve-cgi-bin Apache config on Jessie and Xenial user/gmcharlt/lp1476049_do_not_serve-cgi-bin
authorGalen Charlton <gmc@esilibrary.com>
Wed, 17 Aug 2016 14:53:19 +0000 (10:53 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 17 Aug 2016 14:53:19 +0000 (10:53 -0400)
commit6c15b287a65fd91b0cd7a31bfab1b728a58bcabc
tree66b093e6ebcc3f6d5ec02fcec6e68cbb1b3bbdbc
parent9575feec7189a9193b561de789206df32c92f996
LP#1476049: disable serve-cgi-bin Apache config on Jessie and Xenial

This patch ensures that the stock Apache configuration
"serve-cgi-bin" is disabled when installing on Debian Jessie
and Ubuntu Xenial, as otherwise the default cgi-bin location
can override what Evergreen specifies for offline.pl.

To test:

[1] Run the Makefile.install step on Jessie or Xenial; verify
    that there is no /etc/apache2/conf-enabled/serve-cgi-bin.conf
    symlink.
[2] Proceed with the rest of the Evergreen installation; verify
    that the Apache error log doesn't contain a warning like this:

    "The Alias directive in /etc/apache2/sites-enabled/eg.conf ...
     will probably never match because it overlaps an earlier
     ScriptAlias."

[3] For extra credit, verify that one can access offline circulation
    sessions.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/extras/install/Makefile.debian-jessie
Open-ILS/src/extras/install/Makefile.ubuntu-xenial