]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1476049: disable serve-cgi-bin Apache config on Jessie and Xenial
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 19:34:23 +0000 (15:34 -0400)
commit4e4525c85e795a42231ffbb0e8e10c027d50a682
treef3782ff03cff653f1fd3ca272450eb3e1222ecb2
parent3d78e822af3a6337430825dcf328889ea254c6b6
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