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 <zebra_connection_timeout>30</zebra_connection_timeout>
295 <log4perl_conf>__KOHA_CONF_DIR__/log4perl.conf</log4perl_conf>
296 <!-- Uncomment/edit next setting if you want to adjust zebra log levels.
297 Default is: none,fatal,warn.
298 You can also include: debug,log,malloc,all,request.
299 Use a comma-separated list of levels to include. -->
300 <!-- <zebra_loglevels>none,fatal,warn</zebra_loglevels> -->
301 <memcached_servers>__MEMCACHED_SERVERS__</memcached_servers>
302 <memcached_namespace>__MEMCACHED_NAMESPACE__</memcached_namespace>
303 <template_cache_dir>__TEMPLATE_CACHE_DIR__</template_cache_dir>
305 <!-- Secret passphrase used by Mojolicious for signed cookies -->
306 <api_secret_passphrase>__API_SECRET__</api_secret_passphrase>
308 <!-- default report results limit is 999,999. uncomment this and set a different number to override that limit.
309 <report_results_limit>999999</report_results_limit>
312 <!-- Accessible directory from the staff interface, uncomment the following line and define a valid path to let the intranet user access it-->
315 <access_dir></access_dir>
316 <access_dir></access_dir>
320 <!-- true type font mapping according to type from $font_types in C4/Creators/Lib.pm -->
322 <font type="TR" >/usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf</font>
323 <font type="TB" >/usr/share/fonts/truetype/dejavu/DejaVuSerif-Bold.ttf</font>
324 <font type="TI" >/usr/share/fonts/truetype/dejavu/DejaVuSerif-Italic.ttf</font>
325 <font type="TBI">/usr/share/fonts/truetype/dejavu/DejaVuSerif-BoldItalic.ttf</font>
326 <font type="C" >/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf</font>
327 <font type="CB" >/usr/share/fonts/truetype/dejavu/DejaVuSansMono-Bold.ttf</font>
328 <font type="CO" >/usr/share/fonts/truetype/dejavu/DejaVuSansMono-Oblique.ttf</font>
329 <font type="CBO">/usr/share/fonts/truetype/dejavu/DejaVuSansMono-BoldOblique.ttf</font>
330 <font type="H" >/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf</font>
331 <font type="HO" >/usr/share/fonts/truetype/dejavu/DejaVuSans-Oblique.ttf</font>
332 <font type="HB" >/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf</font>
333 <font type="HBO">/usr/share/fonts/truetype/dejavu/DejaVuSans-BoldOblique.ttf</font>
336 <!-- Path to the config file for SMS::Send -->
337 <sms_send_config>__KOHA_CONF_DIR__/sms_send/</sms_send_config>
339 <!-- Configuration for Plack -->
340 <plack_max_requests>50</plack_max_requests>
341 <plack_workers>2</plack_workers>
343 <!-- Configuration for X-Forwarded-For -->
345 <koha_trusted_proxies>1.2.3.4 2.3.4.5 3.4.5.6</koha_trusted_proxies>
348 <!-- Elasticsearch Configuration -->
350 <server>__ELASTICSEARCH_SERVER__</server> <!-- may be repeated to include all servers on your cluster -->
351 <index_name>koha___KOHASITE__</index_name> <!-- should be unique amongst all the indices on your cluster. _biblios and _authorities will be appended. -->
353 <!-- See https://metacpan.org/pod/Search::Elasticsearch#cxn_pool -->
354 <cxn_pool>Static</cxn_pool>
355 <!-- See https://metacpan.org/pod/Search::Elasticsearch#trace_to -->
356 <!-- <trace_to>Stderr</trace_to> -->
358 <!-- Uncomment the following line if you want to override the Elasticsearch default index settings -->
359 <!-- <elasticsearch_index_config>__KOHA_CONF_DIR__/searchengine/elasticsearch/index_config.yaml</elasticsearch_index_config> -->
360 <!-- Uncomment the following line if you want to override the Elasticsearch default field settings -->
361 <!-- <elasticsearch_field_config>__KOHA_CONF_DIR__/searchengine/elasticsearch/field_config.yaml</elasticsearch_field_config> -->
362 <!-- Uncomment the following line if you want to override the Elasticsearch index default settings.
363 Note that any changes made to the mappings file only take effect if you reset the mappings in
364 by visiting /cgi-bin/koha/admin/searchengine/elasticsearch/mappings.pl?op=reset&i_know_what_i_am_doing=1&reset_fields=1.
365 Resetting mappings will override any changes made in the Search engine configuration UI.
367 <!-- <elasticsearch_index_mappings>__KOHA_CONF_DIR__/searchengine/elasticsearch/mappings.yaml</elasticsearch_index_mappings> -->
370 <!-- Path to where Illbackends are located on the system
371 - This setting should normally not be touched -->
372 <backend_directory>/usr/share/koha/lib/Koha/Illbackends</backend_directory>
373 <!-- At least one <branch> block is required. -->
375 <!-- The code of this branch -->
377 <!-- An optional prefix for all ILL request IDs for this branch -->
380 <!-- How should we treat staff comments?
381 - hide: don't show in OPAC
382 - show: show in OPAC -->
383 <staff_request_comments>hide</staff_request_comments>
384 <!-- How should we treat the reply_date field?
385 - hide: don't show this field in the UI
386 - any other string: show, with this label -->
387 <reply_date>hide</reply_date>
388 <!-- Where should digital ILLs be sent?
389 - borrower: send it straight to the borrower email
390 - branch: send the ILL to the branch email -->
391 <digital_recipient>branch</digital_recipient>
392 <!-- What patron category should we use for p2p ILL requests?
393 - By default this is set to 'ILLLIBS' -->
394 <partner_code>ILLLIBS</partner_code>
395 </interlibrary_loans>
397 <!-- The timezone setting can let you force the timezone for this
398 instance to be something other then the local timezone of the
399 server. e.g. Antarctica/South_Pole -->
400 <timezone>__TIMEZONE__</timezone>
402 <!-- This is the bcrypt settings used to generated anonymized content -->
403 <bcrypt_settings>__BCRYPT_SETTINGS__</bcrypt_settings>
405 <!-- Encryption key for crypted password or sensitive data -->
406 <encryption_key>__ENCRYPTION_KEY__</encryption_key>
408 <!-- flag for development purposes
409 dev_install is used to adjust some paths specific to dev installations
410 strict_sql_modes should not be used in a production environment
411 developers use it to catch bugs related to strict SQL modes -->
412 <dev_install>0</dev_install>
413 <strict_sql_modes>0</strict_sql_modes>
417 <name>ByWater Solutions</name>
418 <org_name>bywatersolutions</org_name>
419 <service>github</service>
422 <name>Theke Solutions</name>
423 <org_name>thekesolutions</org_name>
424 <service>gitlab</service>
427 <name>PTFS Europe</name>
428 <org_name>ptfs-europe</org_name>
429 <service>github</service>
435 <!-- Uncomment the following entry ONLY when you explicitly want the XSLT
436 parser to expand entities like <!ENTITY secret SYSTEM "/etc/secrets">.
437 This is unsafe and therefore NOT recommended!
438 <expand_entities_unsafe>1</expand_entities_unsafe>
440 </koha_xslt_security>
443 <host>__SMTP_HOST__</host>
444 <port>__SMTP_PORT__</port>
445 <timeout>__SMTP_TIMEOUT__</timeout>
446 <ssl_mode>__SMTP_SSL_MODE__</ssl_mode>
447 <user_name>__SMTP_USER_NAME__</user_name>
448 <password>__SMTP_PASSWORD__</password>
449 <debug>__SMTP_DEBUG__</debug>
453 <hostname>__MESSAGE_BROKER_HOST__</hostname>
454 <port>__MESSAGE_BROKER_PORT__</port>
455 <username>__MESSAGE_BROKER_USER__</username>
456 <password>__MESSAGE_BROKER_PASS__</password>
457 <vhost>__MESSAGE_BROKER_VHOST__</vhost>
460 <background_jobs_worker>
461 <!-- Max simultaneous processes per worker -->
462 <max_processes>1</max_processes>
463 </background_jobs_worker>
465 <do_not_remove_cookie>__KEEP_COOKIE__</do_not_remove_cookie>
466 <do_not_remove_cookie>catalogue_editor_\d+</do_not_remove_cookie>
467 <!-- Uncomment lines like hereunder to not clear cookies at logout:
468 The cookie name is case sensitive.
469 NOTE: You may use regex constructions like the example above.
470 <do_not_remove_cookie>KohaOpacLanguage</do_not_remove_cookie>