LP#1476049: disable serve-cgi-bin Apache config on Jessie and Xenial collab/gmcharlt/webstaff-sprint3
authorGalen Charlton <gmc@esilibrary.com>
Wed, 17 Aug 2016 14:53:19 +0000 (10:53 -0400)
committerMike Rylander <mrylander@gmail.com>
Thu, 18 Aug 2016 12:10:13 +0000 (08:10 -0400)
commitbbbe5d14b594407b17430075dc228be5a1c5f0c6
tree222d34acc66bca6d5b875ff7a00c7cec4266f368
parent3b9af4b7195c755d2e2de739c3b7ee054ad16615
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>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/extras/install/Makefile.debian-jessie
Open-ILS/src/extras/install/Makefile.ubuntu-xenial