]> git.koha-community.org Git - koha.git/commit
Bug 13791: Apache configuration files
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 13 Aug 2015 17:02:42 +0000 (14:02 -0300)
committerTomas Cohen Arazi <tomascohen@unc.edu.ar>
Mon, 24 Aug 2015 16:00:40 +0000 (13:00 -0300)
commit4182a0805219d0d1793cf3a80f63ec095aeb3716
tree2eafcc300eacfbb30a1beedde7a079f3e9427966
parent4adc4ee5f8d3e113b62094552be6c80942289c3e
Bug 13791: Apache configuration files

This patch adds an include to each VirtualHost definition (OPAC and Intranet)
and a variable definition, taking advantage of Apache 2.4.x features.

The instance name is reused inside the includes providing a simple way of
dealing with the apache <-> plack configuration.

A check for the right apache version is introduced, in the for of an IfVersion block:

<IfVersion >= 2.4>
  --- Plack configuration here ---
</IfVersion>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
debian/templates/apache-shared-intranet-plack.conf [new file with mode: 0644]
debian/templates/apache-shared-opac-plack.conf [new file with mode: 0644]
debian/templates/apache-site.conf.in