Bug 9239 follow-up: update koha-conf.xml
[koha.git] / debian / templates / koha-conf-site.xml.in
1 <yazgfs>
2
3 <listen id="biblioserver" >unix:/var/run/koha/__KOHASITE__/bibliosocket</listen>
4 <listen id="authorityserver" >unix:/var/run/koha/__KOHASITE__/authoritysocket</listen>
5
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 <!--
10 <listen id="publicserver" >tcp:@:__ZEBRA_SRU_BIBLIOS_PORT__</listen>
11 -->
12
13 <!-- Settings for special biblio server instance for PazPar2.
14      Because PazPar2 only connects to a Z39.50 server using TCP/IP,
15      it cannot use the Unix-domain socket that biblioserver uses.
16      Therefore, a custom server is defined. -->
17 <!--
18 <listen id="mergeserver">tcp:@:__MERGE_SERVER_PORT__</listen>
19 <server id="mergeserver"  listenref="mergeserver">
20     <directory>/var/lib/koha/__KOHASITE__/biblios</directory>
21     <config>/var/lib/koha/__KOHASITE__/zebra-biblios.cfg</config>
22     <cql2rpn>/var/lib/koha/__KOHASITE__/pqf.properties</cql2rpn>
23 </server>
24 -->
25
26 <!-- BIBLIOGRAPHIC RECORDS -->
27 <server id="biblioserver"  listenref="biblioserver">
28     <directory>/var/lib/koha/__KOHASITE__/biblios</directory>
29     <config>/etc/koha/sites/__KOHASITE__/zebra-biblios.cfg</config>
30     <cql2rpn>/etc/koha/zebradb/pqf.properties</cql2rpn>
31      <retrievalinfo>
32        <retrieval syntax="usmarc" name="F"/>
33        <retrieval syntax="usmarc" name="B"/>
34        <retrieval syntax="xml" name="F"/>
35        <retrieval syntax="xml" name="B"/>
36        <retrieval syntax="xml" name="marcxml"
37                   identifier="info:srw/schema/1/marcxml-v1.1">
38          <backend syntax="usmarc" name="F">
39            <marc inputformat="marc" outputformat="marcxml"
40                  inputcharset="utf-8"/>
41          </backend>
42        </retrieval>
43        <retrieval syntax="xml" name="dc">
44          <backend syntax="usmarc" name="F">
45            <marc inputformat="marc" outputformat="marcxml"
46                  inputcharset="utf-8"/>
47            <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl"/>
48          </backend>
49        </retrieval>
50        <retrieval syntax="xml" name="mods">
51          <backend syntax="usmarc" name="F">
52            <marc inputformat="marc" outputformat="marcxml"
53                  inputcharset="utf-8"/>
54            <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl"/>
55          </backend>
56        </retrieval>
57        <retrieval syntax="xml" name="rdfdc">
58          <backend syntax="usmarc" name="F">
59            <marc inputformat="marc" outputformat="marcxml"
60                  inputcharset="utf-8"/>
61            <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
62          </backend>
63        </retrieval>
64        <retrieval syntax="xml" name="rss2">
65          <backend syntax="usmarc" name="F">
66            <marc inputformat="marc" outputformat="marcxml"
67                  inputcharset="utf-8"/>
68            <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2RSS2.xsl"/>
69          </backend>
70        </retrieval>
71        <retrieval syntax="xml" name="utils">
72          <backend syntax="usmarc" name="F">
73            <marc inputformat="marc" outputformat="marcxml"
74                  inputcharset="utf-8"/>
75            <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl"/>
76          </backend>
77        </retrieval>
78      </retrievalinfo>
79     <!-- The stuff below is used to enable SRU. It's currently disabled
80          until we come up with a good way to make it get magically set up by
81          the packaging system. If you need it, uncomment and set it up
82          manually.
83     <xi:include href="__KOHA_CONF_DIR__/zebradb/explain-biblios.xml"
84                 xmlns:xi="http://www.w3.org/2001/XInclude">
85       <xi:fallback>
86       <explain xmlns="http://explain.z3950.org/dtd/2.0/">
87           <serverInfo>
88             <host>__ZEBRA_SRU_HOST__</host>
89             <port>__ZEBRA_SRU_BIBLIOS_PORT__</port>
90             <database>biblios</database>
91           </serverInfo>
92         </explain>
93       </xi:fallback>
94     </xi:include> -->
95 </server>
96 <serverinfo id="biblioserver">
97         <ccl2rpn>/etc/koha/zebradb/ccl.properties</ccl2rpn>
98         <user>kohauser</user>
99         <password>__ZEBRA_PASS__</password>
100 </serverinfo>
101
102 <!-- AUTHORITY RECORDS -->
103 <server id="authorityserver"  listenref="authorityserver" >
104     <directory>/var/lib/koha/__KOHASITE__/authorities</directory>
105     <config>/etc/koha/sites/__KOHASITE__/zebra-authorities-dom.cfg</config>
106     <cql2rpn>/etc/koha/zebradb/pqf.properties</cql2rpn>
107     <xi:include href="/etc/koha/zebradb/retrieval-info-auth-dom.xml"
108                 xmlns:xi="http://www.w3.org/2001/XInclude">
109       <xi:fallback>
110      <retrievalinfo>
111        <retrieval syntax="usmarc" name="F"/>
112        <retrieval syntax="usmarc" name="B"/>
113        <retrieval syntax="xml" name="marcxml"
114                   identifier="info:srw/schema/1/marcxml-v1.1">
115          <backend syntax="usmarc" name="F">
116            <marc inputformat="marc" outputformat="marcxml"
117                  inputcharset="utf-8"/>
118          </backend>
119        </retrieval>
120        <retrieval syntax="xml" name="dc">
121          <backend syntax="usmarc" name="F">
122            <marc inputformat="marc" outputformat="marcxml"
123                  inputcharset="utf-8"/>
124            <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl"/>
125          </backend>
126        </retrieval>
127        <retrieval syntax="xml" name="mods">
128          <backend syntax="usmarc" name="F">
129            <marc inputformat="marc" outputformat="marcxml"
130                  inputcharset="utf-8"/>
131            <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl"/>
132          </backend>
133        </retrieval>
134        <retrieval syntax="xml" name="rdfdc">
135          <backend syntax="usmarc" name="F">
136            <marc inputformat="marc" outputformat="marcxml"
137                  inputcharset="utf-8"/>
138            <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
139          </backend>
140        </retrieval>
141        <retrieval syntax="xml" name="utils">
142          <backend syntax="usmarc" name="F">
143            <marc inputformat="marc" outputformat="marcxml"
144                  inputcharset="utf-8"/>
145            <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl"/>
146          </backend>
147        </retrieval>
148      </retrievalinfo>
149       </xi:fallback>
150     </xi:include>
151     <!-- The stuff below is used to enable SRU. It's currently disabled
152          until we come up with a good way to make it get magically set up by
153          the packaging system. If you need it, uncomment and set it up
154          manually.
155     <xi:include href="__KOHA_CONF_DIR__/zebradb/explain-authorities.xml"
156                 xmlns:xi="http://www.w3.org/2001/XInclude">
157     <xi:fallback>
158       <explain xmlns="http://explain.z3950.org/dtd/2.0/">
159           <serverInfo>
160             <host>__ZEBRA_SRU_HOST__</host>
161             <port>__ZEBRA_SRU_AUTHORITIES_PORT__</port>
162             <database>authorities</database>
163           </serverInfo>
164         </explain>
165       </xi:fallback>
166   </xi:include> -->
167 </server>
168 <serverinfo id="authorityserver">
169     <ccl2rpn>/etc/koha/zebradb/ccl.properties</ccl2rpn>
170     <user>kohauser</user>
171     <password>__ZEBRA_PASS__</password>
172 </serverinfo>
173
174 <!-- PUBLICSERVER'S BIBLIOGRAPHIC RECORDS -->
175 <!-- This can be used to set up a public Z39.50/SRU server.
176
177 <server id="publicserver"  listenref="publicserver">
178     <directory>/var/lib/koha/__KOHASITE__/biblios</directory>
179     <config>/etc/koha/sites/__KOHASITE__/zebra-biblios.cfg</config>
180     <cql2rpn>/etc/koha/zebradb/pqf.properties</cql2rpn>
181      <retrievalinfo>
182        <retrieval syntax="usmarc" name="F"/>
183        <retrieval syntax="usmarc" 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="usmarc" name="F">
189            <marc inputformat="marc" outputformat="marcxml"
190                  inputcharset="utf-8"/>
191          </backend>
192        </retrieval>
193        <retrieval syntax="xml" name="dc">
194          <backend syntax="usmarc" 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"/>
198          </backend>
199        </retrieval>
200        <retrieval syntax="xml" name="mods">
201          <backend syntax="usmarc" 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"/>
205          </backend>
206        </retrieval>
207        <retrieval syntax="xml" name="rdfdc">
208          <backend syntax="usmarc" 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"/>
212          </backend>
213        </retrieval>
214        <retrieval syntax="xml" name="rss2">
215          <backend syntax="usmarc" 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"/>
219          </backend>
220        </retrieval>
221        <retrieval syntax="xml" name="utils">
222          <backend syntax="usmarc" 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"/>
226          </backend>
227        </retrieval>
228      </retrievalinfo>
229     <xi:include href="__KOHA_CONF_DIR__/zebradb/explain-biblios.xml"
230                 xmlns:xi="http://www.w3.org/2001/XInclude">
231       <xi:fallback>
232       <explain xmlns="http://explain.z3950.org/dtd/2.0/">
233           <serverInfo>
234             <host>__ZEBRA_SRU_HOST__</host>
235             <port>__ZEBRA_SRU_BIBLIOS_PORT__</port>
236             <database>biblios</database>
237           </serverInfo>
238         </explain>
239       </xi:fallback>
240     </xi:include>
241 </server>
242 <serverinfo id="publicserver">
243         <ccl2rpn>/etc/koha/zebradb/ccl.properties</ccl2rpn>
244         <user>kohauser</user>
245         <password>__ZEBRA_PASS__</password>
246 </serverinfo>
247 -->
248
249 <config>
250  <db_scheme>mysql</db_scheme>
251  <database>__DB_NAME__</database>
252  <hostname>__DB_HOST__</hostname>
253  <port>3306</port>
254  <user>__DB_USER__</user>
255  <pass>__DB_PASS__</pass>
256  <biblioserver>biblios</biblioserver>
257  <biblioservershadow>1</biblioservershadow>
258  <authorityserver>authorities</authorityserver>
259  <authorityservershadow>1</authorityservershadow>
260  <intranetdir>/usr/share/koha/intranet/cgi-bin</intranetdir>
261  <opacdir>/usr/share/koha/opac/cgi-bin/opac</opacdir>
262  <opachtdocs>/usr/share/koha/opac/htdocs/opac-tmpl</opachtdocs>
263  <intrahtdocs>/usr/share/koha/intranet/htdocs/intranet-tmpl</intrahtdocs>
264  <includes>/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/includes/</includes>
265  <logdir>/var/log/koha/__KOHASITE__</logdir>
266  <backupdir>/var/spool/koha/__KOHASITE__</backupdir>
267  <!-- Enable the two following to allow superlibrarians to download
268       database and configuration dumps (respectively) from the Export
269       tool -->
270  <backup_db_via_tools>0</backup_db_via_tools>
271  <backup_conf_via_tools>0</backup_conf_via_tools>
272  <!-- <pazpar2url>http://__PAZPAR2_HOST__:__PAZPAR2_PORT__/search.pz2</pazpar2url> -->
273  <install_log>/usr/share/koha/misc/koha-install-log</install_log>
274  <useldapserver>0</useldapserver><!-- see C4::Auth_with_ldap for extra configs you must add if you want to turn this on -->
275  <memcached_servers></memcached_servers>
276  <memcached_namespace></memcached_namespace>
277  <queryparser_config>/etc/koha/searchengine/queryparser.yaml</queryparser_config>
278 </config>
279
280 </yazgfs>