Apache configuration warning
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? Beda
* Beda Szukics (beda@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> If not, or instancename is empty, adding/fixing that will make your warn go away Chris
Beda
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
-- Chris Cormack Catalyst IT Ltd. +64 4 803 2238 PO Box 11-053, Manners St, Wellington 6142, New Zealand
Am 11.01.2017 um 20:50 schrieb Chris Cormack:
* Beda Szukics (beda@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
participants (2)
-
Beda Szukics -
Chris Cormack