3 <!-- [scheme:]host[:port][/databaseName] -->
4 <!-- scheme: tcp, ssl, unix, http, sru -->
5 <!-- can run all servers on tcp, but the unix socket is faster -->
7 <listen id="biblioserver" >unix:__ZEBRA_RUN_DIR__/bibliosocket</listen>
8 <listen id="authorityserver" >unix:__ZEBRA_RUN_DIR__/authoritysocket</listen>
9 <!-- uncomment these lines and comment out the above if running on MSWin32 -->
11 <listen id="biblioserver" >tcp:localhost:9998/bibliosocket</listen>
12 <listen id="authorityserver" >tcp:localhost:9999/authoritysocket</listen>
15 <!-- Uncomment the following entry if you want to run the public Z39.50 server.
16 Also uncomment the <server> and <serverinfo> sections for id 'publicserver'
17 under PUBLICSERVER'S BIBLIOGRAPHIC RECORDS title-->
19 <listen id="publicserver" >tcp:@:__ZEBRA_SRU_BIBLIOS_PORT__</listen>
22 <!-- Settings for special biblio server instance for PazPar2.
23 Because PazPar2 only connects to a Z39.50 server using TCP/IP,
24 it cannot use the Unix-domain socket that biblioserver uses.
25 Therefore, a custom server is defined. -->
26 __PAZPAR2_TOGGLE_XML_PRE__
27 <listen id="mergeserver">tcp:@:__MERGE_SERVER_PORT__</listen>
28 <server id="mergeserver" listenref="mergeserver">
29 <directory>__ZEBRA_DATA_DIR__/biblios</directory>
30 <config>__ZEBRA_CONF_DIR__/__ZEBRA_BIB_CFG__</config>
31 <cql2rpn>__ZEBRA_CONF_DIR__/pqf.properties</cql2rpn>
33 __PAZPAR2_TOGGLE_XML_POST__
35 <!-- BIBLIOGRAPHIC RECORDS -->
36 <server id="biblioserver" listenref="biblioserver">
37 <directory>__ZEBRA_DATA_DIR__/biblios</directory>
38 <config>__ZEBRA_CONF_DIR__/__ZEBRA_BIB_CFG__</config>
39 <cql2rpn>__ZEBRA_CONF_DIR__/pqf.properties</cql2rpn>
40 <!-- <docpath>xsl</docpath> -->
41 <!-- <stylesheet>xsl/default.xsl</stylesheet> -->
42 <!-- <maximumrecordsize>2000000</maximumrecordsize> -->
43 <xi:include href="__KOHA_CONF_DIR__/zebradb/__BIB_RETRIEVAL_CFG__"
44 xmlns:xi="http://www.w3.org/2001/XInclude">
47 <retrieval syntax="__ZEBRA_MARC_FORMAT__" name="F"/>
48 <retrieval syntax="__ZEBRA_MARC_FORMAT__" name="B"/>
49 <retrieval syntax="xml" name="F"/>
50 <retrieval syntax="xml" name="B"/>
51 <retrieval syntax="xml" name="marcxml"
52 identifier="info:srw/schema/1/marcxml-v1.1">
53 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
54 <marc inputformat="marc" outputformat="marcxml"
55 inputcharset="utf-8"/>
58 <retrieval syntax="xml" name="dc">
59 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
60 <marc inputformat="marc" outputformat="marcxml"
61 inputcharset="utf-8"/>
62 <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2DC.xsl"/>
65 <retrieval syntax="xml" name="mods">
66 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
67 <marc inputformat="marc" outputformat="marcxml"
68 inputcharset="utf-8"/>
69 <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2MODS.xsl"/>
72 <retrieval syntax="xml" name="rdfdc">
73 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
74 <marc inputformat="marc" outputformat="marcxml"
75 inputcharset="utf-8"/>
76 <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
79 <retrieval syntax="xml" name="rss2">
80 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
81 <marc inputformat="marc" outputformat="marcxml"
82 inputcharset="utf-8"/>
83 <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2RSS2.xsl"/>
86 <retrieval syntax="xml" name="utils">
87 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
88 <marc inputformat="marc" outputformat="marcxml"
89 inputcharset="utf-8"/>
90 <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slimUtils.xsl"/>
96 <xi:include href="__KOHA_CONF_DIR__/zebradb/explain-biblios.xml"
97 xmlns:xi="http://www.w3.org/2001/XInclude">
99 <explain xmlns="http://explain.z3950.org/dtd/2.0/">
101 <host>__ZEBRA_SRU_HOST__</host>
102 <port>__ZEBRA_SRU_BIBLIOS_PORT__</port>
103 <database>biblios</database>
109 <serverinfo id="biblioserver">
110 <ccl2rpn>__ZEBRA_CONF_DIR__/ccl.properties</ccl2rpn>
111 <user>__ZEBRA_USER__</user>
112 <password>__ZEBRA_PASS__</password>
115 <!-- AUTHORITY RECORDS -->
116 <server id="authorityserver" listenref="authorityserver" >
117 <directory>__ZEBRA_DATA_DIR__/authorities</directory>
118 <config>__ZEBRA_CONF_DIR__/__ZEBRA_AUTH_CFG__</config>
119 <cql2rpn>__ZEBRA_CONF_DIR__/pqf.properties</cql2rpn>
120 <!-- <docpath>xsl</docpath> -->
121 <!-- <stylesheet>xsl/default.xsl</stylesheet> -->
122 <!-- <maximumrecordsize>2000000</maximumrecordsize> -->
123 <xi:include href="__KOHA_CONF_DIR__/zebradb/__AUTH_RETRIEVAL_CFG__"
124 xmlns:xi="http://www.w3.org/2001/XInclude">
127 <retrieval syntax="__ZEBRA_MARC_FORMAT__" name="F"/>
128 <retrieval syntax="__ZEBRA_MARC_FORMAT__" name="B"/>
129 <retrieval syntax="xml" name="marcxml"
130 identifier="info:srw/schema/1/marcxml-v1.1">
131 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
132 <marc inputformat="marc" outputformat="marcxml"
133 inputcharset="utf-8"/>
136 <retrieval syntax="xml" name="dc">
137 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
138 <marc inputformat="marc" outputformat="marcxml"
139 inputcharset="utf-8"/>
140 <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2DC.xsl"/>
143 <retrieval syntax="xml" name="mods">
144 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
145 <marc inputformat="marc" outputformat="marcxml"
146 inputcharset="utf-8"/>
147 <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2MODS.xsl"/>
150 <retrieval syntax="xml" name="rdfdc">
151 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
152 <marc inputformat="marc" outputformat="marcxml"
153 inputcharset="utf-8"/>
154 <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
157 <retrieval syntax="xml" name="utils">
158 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
159 <marc inputformat="marc" outputformat="marcxml"
160 inputcharset="utf-8"/>
161 <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slimUtils.xsl"/>
167 <xi:include href="__KOHA_CONF_DIR__/zebradb/explain-authorities.xml"
168 xmlns:xi="http://www.w3.org/2001/XInclude">
170 <explain xmlns="http://explain.z3950.org/dtd/2.0/">
172 <host>__ZEBRA_SRU_HOST__</host>
173 <port>__ZEBRA_SRU_AUTHORITIES_PORT__</port>
174 <database>authorities</database>
180 <serverinfo id="authorityserver">
181 <ccl2rpn>__ZEBRA_CONF_DIR__/ccl.properties</ccl2rpn>
182 <user>__ZEBRA_USER__</user>
183 <password>__ZEBRA_PASS__</password>
186 <!-- PUBLICSERVER'S BIBLIOGRAPHIC RECORDS -->
188 <server id="publicserver" listenref="publicserver">
189 <directory>__ZEBRA_DATA_DIR__/biblios</directory>
190 <config>__ZEBRA_CONF_DIR__/__ZEBRA_BIB_CFG__</config>
191 <cql2rpn>__ZEBRA_CONF_DIR__/pqf.properties</cql2rpn>
192 <xi:include href="__KOHA_CONF_DIR__/zebradb/__BIB_RETRIEVAL_CFG__"
193 xmlns:xi="http://www.w3.org/2001/XInclude">
196 <retrieval syntax="__ZEBRA_MARC_FORMAT__" name="F"/>
197 <retrieval syntax="__ZEBRA_MARC_FORMAT__" name="B"/>
198 <retrieval syntax="xml" name="F"/>
199 <retrieval syntax="xml" name="B"/>
200 <retrieval syntax="xml" name="marcxml"
201 identifier="info:srw/schema/1/marcxml-v1.1">
202 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
203 <marc inputformat="marc" outputformat="marcxml"
204 inputcharset="utf-8"/>
207 <retrieval syntax="xml" name="dc">
208 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
209 <marc inputformat="marc" outputformat="marcxml"
210 inputcharset="utf-8"/>
211 <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2DC.xsl"/>
214 <retrieval syntax="xml" name="mods">
215 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
216 <marc inputformat="marc" outputformat="marcxml"
217 inputcharset="utf-8"/>
218 <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2MODS.xsl"/>
221 <retrieval syntax="xml" name="rdfdc">
222 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
223 <marc inputformat="marc" outputformat="marcxml"
224 inputcharset="utf-8"/>
225 <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
228 <retrieval syntax="xml" name="rss2">
229 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
230 <marc inputformat="marc" outputformat="marcxml"
231 inputcharset="utf-8"/>
232 <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2RSS2.xsl"/>
235 <retrieval syntax="xml" name="utils">
236 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
237 <marc inputformat="marc" outputformat="marcxml"
238 inputcharset="utf-8"/>
239 <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slimUtils.xsl"/>
245 <xi:include href="__KOHA_CONF_DIR__/zebradb/explain-biblios.xml"
246 xmlns:xi="http://www.w3.org/2001/XInclude">
248 <explain xmlns="http://explain.z3950.org/dtd/2.0/">
250 <host>__ZEBRA_SRU_HOST__</host>
251 <port>__ZEBRA_SRU_BIBLIOS_PORT__</port>
252 <database>biblios</database>
258 <serverinfo id="publicserver">
259 <ccl2rpn>__ZEBRA_CONF_DIR__/ccl.properties</ccl2rpn>
260 <user>__ZEBRA_USER__</user>
261 <password>__ZEBRA_PASS__</password>
265 <!-- ADDITIONAL KOHA CONFIGURATION DIRECTIVE -->
266 <!-- db_scheme should follow the DBD driver name -->
267 <!-- port info: mysql:3306 Pg:5432 (5433 on Debian) -->
269 <db_scheme>__DB_TYPE__</db_scheme>
270 <database>__DB_NAME__</database>
271 <hostname>__DB_HOST__</hostname>
272 <port>__DB_PORT__</port>
273 <user>__DB_USER__</user>
274 <pass>__DB_PASS__</pass>
275 <biblioserver>biblios</biblioserver>
276 <biblioservershadow>1</biblioservershadow>
277 <authorityserver>authorities</authorityserver>
278 <authorityservershadow>1</authorityservershadow>
279 <pluginsdir>__PLUGINS_DIR__</pluginsdir>
280 <enable_plugins>0</enable_plugins>
281 <intranetdir>__INTRANET_CGI_DIR__</intranetdir>
282 <opacdir>__OPAC_CGI_DIR__/opac</opacdir>
283 <opachtdocs>__OPAC_TMPL_DIR__</opachtdocs>
284 <intrahtdocs>__INTRANET_TMPL_DIR__</intrahtdocs>
285 <includes>__INTRANET_TMPL_DIR__/prog/en/includes/</includes>
286 <logdir>__LOG_DIR__</logdir>
287 <docdir>__DOC_DIR__</docdir>
288 <backupdir>__BACKUP_DIR__</backupdir>
289 <!-- Enable the two following to allow superlibrarians to download
290 database and configuration dumps (respectively) from the Export
292 <backup_db_via_tools>0</backup_db_via_tools>
293 <backup_conf_via_tools>0</backup_conf_via_tools>
294 <pazpar2url>http://__PAZPAR2_HOST__:__PAZPAR2_PORT__/search.pz2</pazpar2url>
295 <install_log>__MISC_DIR__/koha-install-log</install_log>
296 <useldapserver>0</useldapserver><!-- see C4::Auth_with_ldap for extra configs you must add if you want to turn this on -->
297 <zebra_bib_index_mode>__BIB_INDEX_MODE__</zebra_bib_index_mode>
298 <zebra_auth_index_mode>__AUTH_INDEX_MODE__</zebra_auth_index_mode>
299 <queryparser_config>__KOHA_CONF_DIR__/searchengine/queryparser.yaml</queryparser_config>