3 <listen id="biblioserver" >unix:/var/run/koha/__KOHASITE__/bibliosocket</listen>
4 <listen id="authorityserver" >unix:/var/run/koha/__KOHASITE__/authoritysocket</listen>
6 <!-- Uncomment the following entry if you want to run the public Z39.50 server.
7 Also uncomment the <server> and <serverinfo> sections for id 'publicserver'
8 under PUBLICSERVER'S BIBLIOGRAPHIC RECORDS title-->
9 __START_SRU_PUBLICSERVER__
10 <listen id="publicserver" >tcp:@:__SRU_BIBLIOS_PORT__</listen>
11 __END_SRU_PUBLICSERVER__
13 <!-- BIBLIOGRAPHIC RECORDS -->
14 <server id="biblioserver" listenref="biblioserver">
15 <directory>/var/lib/koha/__KOHASITE__/biblios</directory>
16 <config>/etc/koha/sites/__KOHASITE__/zebra-biblios-dom.cfg</config>
17 <cql2rpn>/etc/koha/zebradb/pqf.properties</cql2rpn>
19 <xi:include href="/etc/koha/__ZEBRA_MARC_FORMAT__-retrieval-info-bib-dom.xml"
20 xmlns:xi="http://www.w3.org/2001/XInclude">
23 <retrieval syntax="__ZEBRA_MARC_FORMAT__" name="F"/>
24 <retrieval syntax="__ZEBRA_MARC_FORMAT__" name="B"/>
25 <retrieval syntax="xml" name="F"/>
26 <retrieval syntax="xml" name="B"/>
27 <retrieval syntax="xml" name="marcxml"
28 identifier="info:srw/schema/1/marcxml-v1.1">
29 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
30 <marc inputformat="marc" outputformat="marcxml"
31 inputcharset="utf-8"/>
34 <retrieval syntax="xml" name="dc">
35 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
36 <marc inputformat="marc" outputformat="marcxml"
37 inputcharset="utf-8"/>
38 <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl"/>
41 <retrieval syntax="xml" name="mods">
42 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
43 <marc inputformat="marc" outputformat="marcxml"
44 inputcharset="utf-8"/>
45 <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl"/>
48 <retrieval syntax="xml" name="rdfdc">
49 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
50 <marc inputformat="marc" outputformat="marcxml"
51 inputcharset="utf-8"/>
52 <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
55 <retrieval syntax="xml" name="rss2">
56 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
57 <marc inputformat="marc" outputformat="marcxml"
58 inputcharset="utf-8"/>
59 <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2RSS2.xsl"/>
62 <retrieval syntax="xml" name="utils">
63 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
64 <marc inputformat="marc" outputformat="marcxml"
65 inputcharset="utf-8"/>
66 <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl"/>
73 <!-- The stuff below is used to enable SRU. It's currently disabled
74 until we come up with a good way to make it get magically set up by
75 the packaging system. If you need it, uncomment and set it up
77 <xi:include href="/etc/koha/zebradb/explain-biblios.xml"
78 xmlns:xi="http://www.w3.org/2001/XInclude">
80 <explain xmlns="http://explain.z3950.org/dtd/2.0/">
82 <host>__ZEBRA_SRU_HOST__</host>
83 <port>__ZEBRA_SRU_BIBLIOS_PORT__</port>
84 <database>biblios</database>
90 <serverinfo id="biblioserver">
91 <ccl2rpn>/etc/koha/zebradb/ccl.properties</ccl2rpn>
93 <password>__ZEBRA_PASS__</password>
96 <!-- AUTHORITY RECORDS -->
97 <server id="authorityserver" listenref="authorityserver" >
98 <directory>/var/lib/koha/__KOHASITE__/authorities</directory>
99 <config>/etc/koha/sites/__KOHASITE__/zebra-authorities-dom.cfg</config>
100 <cql2rpn>/etc/koha/zebradb/pqf.properties</cql2rpn>
102 <xi:include href="/etc/koha/__ZEBRA_MARC_FORMAT__-retrieval-info-auth-dom.xml"
103 xmlns:xi="http://www.w3.org/2001/XInclude">
106 <retrieval syntax="__ZEBRA_MARC_FORMAT__" name="F"/>
107 <retrieval syntax="__ZEBRA_MARC_FORMAT__" name="B"/>
108 <retrieval syntax="xml" name="marcxml"
109 identifier="info:srw/schema/1/marcxml-v1.1">
110 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
111 <marc inputformat="marc" outputformat="marcxml"
112 inputcharset="utf-8"/>
115 <retrieval syntax="xml" name="dc">
116 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
117 <marc inputformat="marc" outputformat="marcxml"
118 inputcharset="utf-8"/>
119 <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl"/>
122 <retrieval syntax="xml" name="mods">
123 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
124 <marc inputformat="marc" outputformat="marcxml"
125 inputcharset="utf-8"/>
126 <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl"/>
129 <retrieval syntax="xml" name="rdfdc">
130 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
131 <marc inputformat="marc" outputformat="marcxml"
132 inputcharset="utf-8"/>
133 <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
136 <retrieval syntax="xml" name="utils">
137 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
138 <marc inputformat="marc" outputformat="marcxml"
139 inputcharset="utf-8"/>
140 <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl"/>
147 <!-- The stuff below is used to enable SRU. It's currently disabled
148 until we come up with a good way to make it get magically set up by
149 the packaging system. If you need it, uncomment and set it up
151 <xi:include href="/etc/koha/zebradb/explain-authorities.xml"
152 xmlns:xi="http://www.w3.org/2001/XInclude">
154 <explain xmlns="http://explain.z3950.org/dtd/2.0/">
156 <host>__ZEBRA_SRU_HOST__</host>
157 <port>__ZEBRA_SRU_AUTHORITIES_PORT__</port>
158 <database>authorities</database>
164 <serverinfo id="authorityserver">
165 <ccl2rpn>/etc/koha/zebradb/ccl.properties</ccl2rpn>
166 <user>kohauser</user>
167 <password>__ZEBRA_PASS__</password>
170 <!-- PUBLICSERVER'S BIBLIOGRAPHIC RECORDS -->
171 <!-- This can be used to set up a public Z39.50/SRU server. -->
172 __START_SRU_PUBLICSERVER__
173 <server id="publicserver" listenref="publicserver">
174 <directory>/var/lib/koha/__KOHASITE__/biblios</directory>
175 <config>/etc/koha/sites/__KOHASITE__/zebra-biblios-dom.cfg</config>
176 <cql2rpn>/etc/koha/zebradb/pqf.properties</cql2rpn>
178 <xi:include href="/etc/koha/__ZEBRA_MARC_FORMAT__-retrieval-info-bib-dom.xml"
179 xmlns:xi="http://www.w3.org/2001/XInclude">
182 <retrieval syntax="__ZEBRA_MARC_FORMAT__" name="F"/>
183 <retrieval syntax="__ZEBRA_MARC_FORMAT__" name="B"/>
184 <retrieval syntax="xml" name="F"/>
185 <retrieval syntax="xml" name="B"/>
186 <retrieval syntax="xml" name="marcxml"
187 identifier="info:srw/schema/1/marcxml-v1.1">
188 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
189 <marc inputformat="marc" outputformat="marcxml"
190 inputcharset="utf-8"/>
193 <retrieval syntax="xml" name="dc">
194 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
195 <marc inputformat="marc" outputformat="marcxml"
196 inputcharset="utf-8"/>
197 <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl"/>
200 <retrieval syntax="xml" name="mods">
201 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
202 <marc inputformat="marc" outputformat="marcxml"
203 inputcharset="utf-8"/>
204 <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl"/>
207 <retrieval syntax="xml" name="rdfdc">
208 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
209 <marc inputformat="marc" outputformat="marcxml"
210 inputcharset="utf-8"/>
211 <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
214 <retrieval syntax="xml" name="rss2">
215 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
216 <marc inputformat="marc" outputformat="marcxml"
217 inputcharset="utf-8"/>
218 <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2RSS2.xsl"/>
221 <retrieval syntax="xml" name="utils">
222 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
223 <marc inputformat="marc" outputformat="marcxml"
224 inputcharset="utf-8"/>
225 <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl"/>
232 <xi:include href="/etc/koha/zebradb/explain-biblios.xml"
233 xmlns:xi="http://www.w3.org/2001/XInclude">
235 <explain xmlns="http://explain.z3950.org/dtd/2.0/">
237 <host>__ZEBRA_SRU_HOST__</host>
238 <port>__ZEBRA_SRU_BIBLIOS_PORT__</port>
239 <database>biblios</database>
245 <serverinfo id="publicserver">
246 <ccl2rpn>/etc/koha/zebradb/ccl.properties</ccl2rpn>
247 <user>kohauser</user>
248 <password>__ZEBRA_PASS__</password>
250 __END_SRU_PUBLICSERVER__
253 <db_scheme>mysql</db_scheme>
254 <database>__DB_NAME__</database>
255 <hostname>__DB_HOST__</hostname>
257 <user>__DB_USER__</user>
258 <pass>__DB_PASS__</pass>
259 <tls>__DB_USE_TLS__</tls>
260 <ca>__DB_TLS_CA_CERTIFICATE__</ca>
261 <cert>__DB_TLS_CLIENT_CERTIFICATE__</cert>
262 <key>__DB_TLS_CLIENT_KEY__</key>
263 <biblioserver>biblios</biblioserver>
264 <biblioservershadow>1</biblioservershadow>
265 <authorityserver>authorities</authorityserver>
266 <authorityservershadow>1</authorityservershadow>
267 <pluginsdir>__PLUGINS_DIR__</pluginsdir> <!-- This entry can be repeated to use multiple directories -->
268 <enable_plugins>0</enable_plugins>
269 <upload_path>__UPLOAD_PATH__</upload_path>
270 <tmp_path>__TMP_PATH__</tmp_path>
271 <intranetdir>/usr/share/koha/intranet/cgi-bin</intranetdir>
272 <opacdir>/usr/share/koha/opac/cgi-bin/opac</opacdir>
273 <opachtdocs>/usr/share/koha/opac/htdocs/opac-tmpl</opachtdocs>
274 <intrahtdocs>/usr/share/koha/intranet/htdocs/intranet-tmpl</intrahtdocs>
275 <includes>/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/includes/</includes>
276 <logdir>__LOG_DIR__</logdir>
277 <docdir>/usr/share/doc/koha-common</docdir>
278 <backupdir>/var/spool/koha/__KOHASITE__</backupdir>
279 <!-- URL of the mana KB server -->
280 <!-- alternative value http://mana-test.koha-community.org to query the test server -->
281 <mana_config>https://mana-kb.koha-community.org</mana_config>
282 <!-- Enable the two following to allow superlibrarians to download
283 database and configuration dumps (respectively) from the Export
285 <backup_db_via_tools>0</backup_db_via_tools>
286 <backup_conf_via_tools>0</backup_conf_via_tools>
287 <install_log>/usr/share/koha/misc/koha-install-log</install_log>
288 <useldapserver>0</useldapserver><!-- see C4::Auth_with_ldap for extra configs you must add if you want to turn this on -->
289 <useshibboleth>0</useshibboleth><!-- see C4::Auth_with_shibboleth for extra configs you must do to turn this on -->
290 <zebra_lockdir>/var/lock/koha/__KOHASITE__</zebra_lockdir>
291 <lockdir>/var/lock/koha/__KOHASITE__</lockdir>
292 <use_zebra_facets>1</use_zebra_facets>
293 <zebra_max_record_size>1024</zebra_max_record_size>
294 <log4perl_conf>__KOHA_CONF_DIR__/log4perl.conf</log4perl_conf>
295 <!-- Uncomment/edit next setting if you want to adjust zebra log levels.
296 Default is: none,fatal,warn.
297 You can also include: debug,log,malloc,all,request.
298 Use a comma-separated list of levels to include. -->
299 <!-- <zebra_loglevels>none,fatal,warn</zebra_loglevels> -->
300 <memcached_servers>__MEMCACHED_SERVERS__</memcached_servers>
301 <memcached_namespace>__MEMCACHED_NAMESPACE__</memcached_namespace>
302 <template_cache_dir>__TEMPLATE_CACHE_DIR__</template_cache_dir>
304 <!-- Secret passphrase used by Mojolicious for signed cookies -->
305 <api_secret_passphrase>__API_SECRET__</api_secret_passphrase>
307 <!-- Accessible directory from the staff interface, uncomment the following line and define a valid path to let the intranet user access it-->
310 <access_dir></access_dir>
311 <access_dir></access_dir>
315 <!-- true type font mapping according to type from $font_types in C4/Creators/Lib.pm -->
317 <font type="TR" >/usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf</font>
318 <font type="TB" >/usr/share/fonts/truetype/dejavu/DejaVuSerif-Bold.ttf</font>
319 <font type="TI" >/usr/share/fonts/truetype/dejavu/DejaVuSerif-Italic.ttf</font>
320 <font type="TBI">/usr/share/fonts/truetype/dejavu/DejaVuSerif-BoldItalic.ttf</font>
321 <font type="C" >/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf</font>
322 <font type="CB" >/usr/share/fonts/truetype/dejavu/DejaVuSansMono-Bold.ttf</font>
323 <font type="CO" >/usr/share/fonts/truetype/dejavu/DejaVuSansMono-Oblique.ttf</font>
324 <font type="CBO">/usr/share/fonts/truetype/dejavu/DejaVuSansMono-BoldOblique.ttf</font>
325 <font type="H" >/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf</font>
326 <font type="HO" >/usr/share/fonts/truetype/dejavu/DejaVuSans-Oblique.ttf</font>
327 <font type="HB" >/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf</font>
328 <font type="HBO">/usr/share/fonts/truetype/dejavu/DejaVuSans-BoldOblique.ttf</font>
331 <!-- Path to the config file for SMS::Send -->
332 <sms_send_config>__KOHA_CONF_DIR__/sms_send/</sms_send_config>
334 <!-- Configuration for Plack -->
335 <plack_max_requests>50</plack_max_requests>
336 <plack_workers>2</plack_workers>
338 <!-- Configuration for X-Forwarded-For -->
340 <koha_trusted_proxies>1.2.3.4 2.3.4.5 3.4.5.6</koha_trusted_proxies>
343 <!-- Elasticsearch Configuration -->
345 <server>__ELASTICSEARCH_SERVER__</server> <!-- may be repeated to include all servers on your cluster -->
346 <index_name>koha___KOHASITE__</index_name> <!-- should be unique amongst all the indices on your cluster. _biblios and _authorities will be appended. -->
348 <!-- See https://metacpan.org/pod/Search::Elasticsearch#cxn_pool -->
349 <cxn_pool>Static</cxn_pool>
350 <!-- See https://metacpan.org/pod/Search::Elasticsearch#trace_to -->
351 <!-- <trace_to>Stderr</trace_to> -->
353 <!-- Uncomment the following line if you want to override the Elasticsearch default index settings -->
354 <!-- <elasticsearch_index_config>__KOHA_CONF_DIR__/searchengine/elasticsearch/index_config.yaml</elasticsearch_index_config> -->
355 <!-- Uncomment the following line if you want to override the Elasticsearch default field settings -->
356 <!-- <elasticsearch_field_config>__KOHA_CONF_DIR__/searchengine/elasticsearch/field_config.yaml</elasticsearch_field_config> -->
357 <!-- Uncomment the following line if you want to override the Elasticsearch index default settings.
358 Note that any changes made to the mappings file only take effect if you reset the mappings in
359 by visiting /cgi-bin/koha/admin/searchengine/elasticsearch/mappings.pl?op=reset&i_know_what_i_am_doing=1&reset_fields=1.
360 Resetting mappings will override any changes made in the Search engine configuration UI.
362 <!-- <elasticsearch_index_mappings>__KOHA_CONF_DIR__/searchengine/elasticsearch/mappings.yaml</elasticsearch_index_mappings> -->
365 <!-- Path to where Illbackends are located on the system
366 - This setting should normally not be touched -->
367 <backend_directory>/usr/share/koha/lib/Koha/Illbackends</backend_directory>
368 <!-- At least one <branch> block is required. -->
370 <!-- The code of this branch -->
372 <!-- An optional prefix for all ILL request IDs for this branch -->
375 <!-- How should we treat staff comments?
376 - hide: don't show in OPAC
377 - show: show in OPAC -->
378 <staff_request_comments>hide</staff_request_comments>
379 <!-- How should we treat the reply_date field?
380 - hide: don't show this field in the UI
381 - any other string: show, with this label -->
382 <reply_date>hide</reply_date>
383 <!-- Where should digital ILLs be sent?
384 - borrower: send it straight to the borrower email
385 - branch: send the ILL to the branch email -->
386 <digital_recipient>branch</digital_recipient>
387 <!-- What patron category should we use for p2p ILL requests?
388 - By default this is set to 'ILLLIBS' -->
389 <partner_code>ILLLIBS</partner_code>
390 </interlibrary_loans>
392 <!-- The timezone setting can let you force the timezone for this
393 instance to be something other then the local timezone of the
394 server. e.g. Antarctica/South_Pole -->
395 <timezone>__TIMEZONE__</timezone>
397 <!-- This is the bcrypt settings used to generated anonymized content -->
398 <bcrypt_settings>__BCRYPT_SETTINGS__</bcrypt_settings>
400 <!-- flag for development purposes
401 dev_install is used to adjust some paths specific to dev installations
402 strict_sql_modes should not be used in a production environment
403 developers use it to catch bugs related to strict SQL modes -->
404 <dev_install>0</dev_install>
405 <strict_sql_modes>0</strict_sql_modes>
409 <name>ByWater Solutions</name>
410 <org_name>bywatersolutions</org_name>
411 <service>github</service>
414 <name>Theke Solutions</name>
415 <org_name>thekesolutions</org_name>
416 <service>gitlab</service>
419 <name>PTFS Europe</name>
420 <org_name>ptfs-europe</org_name>
421 <service>github</service>
427 <!-- Uncomment the following entry ONLY when you explicitly want the XSLT
428 parser to expand entities like <!ENTITY secret SYSTEM "/etc/secrets">.
429 This is unsafe and therefore NOT recommended!
430 <expand_entities_unsafe>1</expand_entities_unsafe>
432 </koha_xslt_security>
435 <host>__SMTP_HOST__</host>
436 <port>__SMTP_PORT__</port>
437 <timeout>__SMTP_TIMEOUT__</timeout>
438 <ssl_mode>__SMTP_SSL_MODE__</ssl_mode>
439 <user_name>__SMTP_USER_NAME__</user_name>
440 <password>__SMTP_PASSWORD__</password>
441 <debug>__SMTP_DEBUG__</debug>
445 <hostname>__MESSAGE_BROKER_HOST__</hostname>
446 <port>__MESSAGE_BROKER_PORT__</port>
447 <username>__MESSAGE_BROKER_USER__</username>
448 <password>__MESSAGE_BROKER_PASS__</password>
449 <vhost>__MESSAGE_BROKER_VHOST__</vhost>
452 <!-- Uncomment lines like hereunder to not clear cookies at logout:
453 The cookie name is case sensitive.
454 <do_not_remove_cookie>KohaOpacLanguage</do_not_remove_cookie>