From 5c79d0d5620d74fe4e1dd589904606ae29c7ed9d Mon Sep 17 00:00:00 2001 From: Josef Moravec Date: Mon, 9 Dec 2019 08:44:47 +0100 Subject: [PATCH] Bug 15860: Add alias /plugin to apache template for debian package installs Test plan: 1) Apply the patch 2) Create new instance with koha-create 3) Enable plugins on this instance 4) Install libmarc-lint-perl package 5) Install the MARC checker plugin (https://github.com/bywatersolutions/koha-plugin-marc-checker) 6) Run the plugin 7) You should see the image at top --- debian/templates/apache-site-https.conf.in | 1 + debian/templates/apache-site.conf.in | 1 + 2 files changed, 2 insertions(+) diff --git a/debian/templates/apache-site-https.conf.in b/debian/templates/apache-site-https.conf.in index b0f68833b4..5dab324ba1 100644 --- a/debian/templates/apache-site-https.conf.in +++ b/debian/templates/apache-site-https.conf.in @@ -59,6 +59,7 @@ ServerName __INTRASERVER__ SetEnv KOHA_CONF "/etc/koha/sites/__KOHASITE__/koha-conf.xml" AssignUserID __UNIXUSER__ __UNIXGROUP__ + Alias /plugin/ "__PLUGINS_DIR__/" ErrorLog /var/log/koha/__KOHASITE__/intranet-error.log # TransferLog /var/log/koha/__KOHASITE__/intranet-access.log diff --git a/debian/templates/apache-site.conf.in b/debian/templates/apache-site.conf.in index 654674d5d7..901e1d5756 100644 --- a/debian/templates/apache-site.conf.in +++ b/debian/templates/apache-site.conf.in @@ -32,6 +32,7 @@ ServerName __INTRASERVER__ SetEnv KOHA_CONF "/etc/koha/sites/__KOHASITE__/koha-conf.xml" AssignUserID __UNIXUSER__ __UNIXGROUP__ + Alias /plugin/ "__PLUGINS_DIR__/" ErrorLog /var/log/koha/__KOHASITE__/intranet-error.log # TransferLog /var/log/koha/__KOHASITE__/intranet-access.log -- 2.11.0