[Koha] Apache configuration warning
Beda Szukics
beda at kollegium-sarnen.ch
Fri Jan 13 04:55:11 NZDT 2017
Am 11.01.2017 um 20:50 schrieb Chris Cormack:
> * Beda Szukics (beda at kollegium-sarnen.ch) wrote:
>> Hi all
>>
>> I just updated to Koha 16.11.01
>>
>> apache2ctl configtest gives me:
>>
>> [Tue Jan 10 09:42:37.044816 2017] [core:warn] [pid 1986] AH00111: Config
>> variable ${instance} is not defined
>> [Tue Jan 10 09:42:37.044877 2017] [core:warn] [pid 1986] AH00111: Config
>> variable ${instance} is not defined
>> Syntax OK
>>
>> I hadn't that bevore. Is this a problem?
>
> Only if you are using plack, then it would be a problem. Without it
> it is just an annoying warning.
>
> Check your apache config for your instance.
>
> you should have something like
> <IfVersion >= 2.4>
> Define instance "instancename"
> </IfVersion>
>
I do have this line in my /etc/apache2/sites-available/kb.conf
====
# Koha instance kb Apache config.
# OPAC
<VirtualHost *:80>
Include /etc/koha/apache-shared.conf
Include /etc/koha/apache-shared-opac.conf
ServerName <myserver>
SetEnv KOHA_CONF "/etc/koha/sites/kb/koha-conf.xml"
SetEnv MEMCACHED_NAMESPACE kb
AssignUserID kb-koha kb-koha
Define instance kb
Include /etc/koha/apache-shared-opac-plack.conf
ErrorLog /var/log/koha/kb/opac-error.log
</VirtualHost>
and the same for Intranet configuration
Greetings
Beda
More information about the Koha
mailing list