history.txt removing a useless tab
[koha.git] / etc / koha-conf.xml
1
2 <yazgfs>
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 -->
6
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 -->
10 <!--
11 <listen id="biblioserver" >tcp:localhost:9998/bibliosocket</listen>
12 <listen id="authorityserver" >tcp:localhost:9999/authoritysocket</listen>
13 -->
14
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-->
18 <!--
19 <listen id="publicserver" >tcp:@:__ZEBRA_SRU_BIBLIOS_PORT__</listen>
20 -->
21
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-biblios.cfg</config>
31     <cql2rpn>__ZEBRA_CONF_DIR__/pqf.properties</cql2rpn>
32 </server>
33 __PAZPAR2_TOGGLE_XML_POST__
34
35 <!-- BIBLIOGRAPHIC RECORDS -->
36 <server id="biblioserver"  listenref="biblioserver"> 
37     <directory>__ZEBRA_DATA_DIR__/biblios</directory>
38     <config>__ZEBRA_CONF_DIR__/zebra-biblios.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      <retrievalinfo>
44        <retrieval syntax="usmarc" name="F"/>
45        <retrieval syntax="usmarc" name="B"/>
46        <retrieval syntax="xml" name="F"/>
47        <retrieval syntax="xml" name="B"/>
48        <retrieval syntax="xml" name="marcxml"
49                   identifier="info:srw/schema/1/marcxml-v1.1">
50          <backend syntax="usmarc" name="F">
51            <marc inputformat="marc" outputformat="marcxml"
52                  inputcharset="utf-8"/>
53          </backend>
54        </retrieval>
55        <retrieval syntax="xml" name="dc">
56          <backend syntax="usmarc" name="F">
57            <marc inputformat="marc" outputformat="marcxml"
58                  inputcharset="utf-8"/>
59            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2DC.xsl"/>
60          </backend>
61        </retrieval>
62        <retrieval syntax="xml" name="mods">
63          <backend syntax="usmarc" name="F">
64            <marc inputformat="marc" outputformat="marcxml"
65                  inputcharset="utf-8"/>
66            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2MODS.xsl"/>
67          </backend>
68        </retrieval>
69        <retrieval syntax="xml" name="rdfdc">
70          <backend syntax="usmarc" name="F">
71            <marc inputformat="marc" outputformat="marcxml"
72                  inputcharset="utf-8"/>
73            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
74          </backend>
75        </retrieval>
76        <retrieval syntax="xml" name="rss2">
77          <backend syntax="usmarc" name="F">
78            <marc inputformat="marc" outputformat="marcxml"
79                  inputcharset="utf-8"/>
80            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2RSS2.xsl"/>
81          </backend>
82        </retrieval>
83        <retrieval syntax="xml" name="utils">
84          <backend syntax="usmarc" name="F">
85            <marc inputformat="marc" outputformat="marcxml"
86                  inputcharset="utf-8"/>
87            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slimUtils.xsl"/>
88          </backend>
89        </retrieval>
90      </retrievalinfo>
91     <xi:include href="__KOHA_CONF_DIR__/zebradb/explain-biblios.xml"
92                 xmlns:xi="http://www.w3.org/2001/XInclude">
93       <xi:fallback>
94       <explain xmlns="http://explain.z3950.org/dtd/2.0/">
95           <serverInfo>
96             <host>__ZEBRA_SRU_HOST__</host>
97             <port>__ZEBRA_SRU_BIBLIOS_PORT__</port>
98             <database>biblios</database>
99           </serverInfo>
100         </explain>
101       </xi:fallback>
102     </xi:include>
103 </server>
104 <serverinfo id="biblioserver">
105         <ccl2rpn>__ZEBRA_CONF_DIR__/ccl.properties</ccl2rpn>
106         <user>__ZEBRA_USER__</user>    
107         <password>__ZEBRA_PASS__</password>
108 </serverinfo>
109
110 <!-- AUTHORITY RECORDS -->
111 <server id="authorityserver"  listenref="authorityserver" >
112     <directory>__ZEBRA_DATA_DIR__/authorities</directory>
113     <config>__ZEBRA_CONF_DIR__/__ZEBRA_AUTH_CFG__</config>
114     <cql2rpn>__ZEBRA_CONF_DIR__/pqf.properties</cql2rpn>
115      <!-- <docpath>xsl</docpath> -->
116      <!-- <stylesheet>xsl/default.xsl</stylesheet> -->
117      <!-- <maximumrecordsize>2000000</maximumrecordsize> -->
118     <xi:include href="__KOHA_CONF_DIR__/zebradb/__AUTH_RETRIEVAL_CFG__"
119                 xmlns:xi="http://www.w3.org/2001/XInclude">
120       <xi:fallback>
121      <retrievalinfo>
122        <retrieval syntax="usmarc" name="F"/>
123        <retrieval syntax="usmarc" name="B"/>
124        <retrieval syntax="xml" name="marcxml"
125                   identifier="info:srw/schema/1/marcxml-v1.1">
126          <backend syntax="usmarc" name="F">
127            <marc inputformat="marc" outputformat="marcxml"
128                  inputcharset="utf-8"/>
129          </backend>
130        </retrieval>
131        <retrieval syntax="xml" name="dc">
132          <backend syntax="usmarc" name="F">
133            <marc inputformat="marc" outputformat="marcxml"
134                  inputcharset="utf-8"/>
135            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2DC.xsl"/>
136          </backend>
137        </retrieval>
138        <retrieval syntax="xml" name="mods">
139          <backend syntax="usmarc" name="F">
140            <marc inputformat="marc" outputformat="marcxml"
141                  inputcharset="utf-8"/>
142            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2MODS.xsl"/>
143          </backend>
144        </retrieval>
145        <retrieval syntax="xml" name="rdfdc">
146          <backend syntax="usmarc" name="F">
147            <marc inputformat="marc" outputformat="marcxml"
148                  inputcharset="utf-8"/>
149            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
150          </backend>
151        </retrieval>
152        <retrieval syntax="xml" name="utils">
153          <backend syntax="usmarc" name="F">
154            <marc inputformat="marc" outputformat="marcxml"
155                  inputcharset="utf-8"/>
156            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slimUtils.xsl"/>
157          </backend>
158        </retrieval>
159      </retrievalinfo>
160       </xi:fallback>
161     </xi:include>
162     <xi:include href="__KOHA_CONF_DIR__/zebradb/explain-authorities.xml"
163                 xmlns:xi="http://www.w3.org/2001/XInclude">
164       <xi:fallback>
165       <explain xmlns="http://explain.z3950.org/dtd/2.0/">
166           <serverInfo>
167             <host>__ZEBRA_SRU_HOST__</host>
168             <port>__ZEBRA_SRU_AUTHORITIES_PORT__</port>
169             <database>authorities</database>
170           </serverInfo>
171         </explain>
172       </xi:fallback>
173     </xi:include>
174 </server>
175 <serverinfo id="authorityserver">
176     <ccl2rpn>__ZEBRA_CONF_DIR__/ccl.properties</ccl2rpn>
177     <user>__ZEBRA_USER__</user>
178     <password>__ZEBRA_PASS__</password>
179 </serverinfo>
180
181 <!-- PUBLICSERVER'S BIBLIOGRAPHIC RECORDS -->
182 <!--
183 <server id="publicserver"  listenref="publicserver"> 
184     <directory>__ZEBRA_DATA_DIR__/biblios</directory>
185     <config>__ZEBRA_CONF_DIR__/zebra-biblios.cfg</config>
186     <cql2rpn>__ZEBRA_CONF_DIR__/pqf.properties</cql2rpn>
187      <retrievalinfo>
188        <retrieval syntax="usmarc" name="F"/>
189        <retrieval syntax="usmarc" name="B"/>
190        <retrieval syntax="xml" name="F"/>
191        <retrieval syntax="xml" name="B"/>
192        <retrieval syntax="xml" name="marcxml"
193                   identifier="info:srw/schema/1/marcxml-v1.1">
194          <backend syntax="usmarc" name="F">
195            <marc inputformat="marc" outputformat="marcxml"
196                  inputcharset="utf-8"/>
197          </backend>
198        </retrieval>
199        <retrieval syntax="xml" name="dc">
200          <backend syntax="usmarc" name="F">
201            <marc inputformat="marc" outputformat="marcxml"
202                  inputcharset="utf-8"/>
203            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2DC.xsl"/>
204          </backend>
205        </retrieval>
206        <retrieval syntax="xml" name="mods">
207          <backend syntax="usmarc" name="F">
208            <marc inputformat="marc" outputformat="marcxml"
209                  inputcharset="utf-8"/>
210            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2MODS.xsl"/>
211          </backend>
212        </retrieval>
213        <retrieval syntax="xml" name="rdfdc">
214          <backend syntax="usmarc" name="F">
215            <marc inputformat="marc" outputformat="marcxml"
216                  inputcharset="utf-8"/>
217            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
218          </backend>
219        </retrieval>
220        <retrieval syntax="xml" name="rss2">
221          <backend syntax="usmarc" name="F">
222            <marc inputformat="marc" outputformat="marcxml"
223                  inputcharset="utf-8"/>
224            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2RSS2.xsl"/>
225          </backend>
226        </retrieval>
227        <retrieval syntax="xml" name="utils">
228          <backend syntax="usmarc" name="F">
229            <marc inputformat="marc" outputformat="marcxml"
230                  inputcharset="utf-8"/>
231            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slimUtils.xsl"/>
232          </backend>
233        </retrieval>
234      </retrievalinfo>
235     <xi:include href="__KOHA_CONF_DIR__/zebradb/explain-biblios.xml"
236                 xmlns:xi="http://www.w3.org/2001/XInclude">
237       <xi:fallback>
238       <explain xmlns="http://explain.z3950.org/dtd/2.0/">
239           <serverInfo>
240             <host>__ZEBRA_SRU_HOST__</host>
241             <port>__ZEBRA_SRU_BIBLIOS_PORT__</port>
242             <database>biblios</database>
243           </serverInfo>
244         </explain>
245       </xi:fallback>
246     </xi:include>
247 </server>
248 <serverinfo id="publicserver">
249         <ccl2rpn>__ZEBRA_CONF_DIR__/ccl.properties</ccl2rpn>
250         <user>__ZEBRA_USER__</user>    
251         <password>__ZEBRA_PASS__</password>
252 </serverinfo>
253 -->
254
255 <!-- ADDITIONAL KOHA CONFIGURATION DIRECTIVE -->
256 <!-- db_scheme should follow the DBD driver name --> 
257 <!-- port info: mysql:3306 Pg:5432 (5433 on Debian) -->
258 <config>
259  <db_scheme>__DB_TYPE__</db_scheme>
260  <database>__DB_NAME__</database>
261  <hostname>__DB_HOST__</hostname>
262  <port>__DB_PORT__</port>
263  <user>__DB_USER__</user>
264  <pass>__DB_PASS__</pass>
265  <biblioserver>biblios</biblioserver>
266  <biblioservershadow>1</biblioservershadow>
267  <authorityserver>authorities</authorityserver>
268  <authorityservershadow>1</authorityservershadow>
269  <intranetdir>__INTRANET_CGI_DIR__</intranetdir>
270  <opacdir>__OPAC_CGI_DIR__/opac</opacdir>
271  <opachtdocs>__OPAC_TMPL_DIR__</opachtdocs>
272  <intrahtdocs>__INTRANET_TMPL_DIR__</intrahtdocs>
273  <includes>__INTRANET_TMPL_DIR__/prog/en/includes/</includes>
274  <logdir>__LOG_DIR__</logdir>
275  <pazpar2url>http://__PAZPAR2_HOST__:__PAZPAR2_PORT__/search.pz2</pazpar2url>
276  <install_log>__MISC_DIR__/koha-install-log</install_log>
277  <useldapserver>0</useldapserver><!-- see C4::Auth_with_ldap for extra configs you must add if you want to turn this on -->
278  <memcached_servers>__MEMCACHED_SERVERS__</memcached_servers>
279  <memcached_namespace>__MEMCACHED_NAMESPACE__</memcached_namespace>
280 </config>
281 </yazgfs>