View | Details | Raw Unified | Return to bug 7028
Collapse All | Expand All

(-)a/debian/templates/koha-conf-site.xml.in (-3 / +130 lines)
Lines 3-10 Link Here
3
<listen id="biblioserver" >unix:/var/run/koha/__KOHASITE__/bibliosocket</listen>
3
<listen id="biblioserver" >unix:/var/run/koha/__KOHASITE__/bibliosocket</listen>
4
<listen id="authorityserver" >unix:/var/run/koha/__KOHASITE__/authoritysocket</listen>
4
<listen id="authorityserver" >unix:/var/run/koha/__KOHASITE__/authoritysocket</listen>
5
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
6
<!-- BIBLIOGRAPHIC RECORDS -->
26
<!-- BIBLIOGRAPHIC RECORDS -->
7
<server id="biblioserver"  listenref="biblioserver"> 
27
<server id="biblioserver"  listenref="biblioserver">
8
    <directory>/var/lib/koha/__KOHASITE__/biblios</directory>
28
    <directory>/var/lib/koha/__KOHASITE__/biblios</directory>
9
    <config>/etc/koha/sites/__KOHASITE__/zebra-biblios.cfg</config>
29
    <config>/etc/koha/sites/__KOHASITE__/zebra-biblios.cfg</config>
10
    <cql2rpn>/etc/koha/zebradb/pqf.properties</cql2rpn>
30
    <cql2rpn>/etc/koha/zebradb/pqf.properties</cql2rpn>
Lines 56-65 Link Here
56
         </backend>
76
         </backend>
57
       </retrieval>
77
       </retrieval>
58
     </retrievalinfo>
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> -->
59
</server>
95
</server>
60
<serverinfo id="biblioserver">
96
<serverinfo id="biblioserver">
61
        <ccl2rpn>/etc/koha/zebradb/ccl.properties</ccl2rpn>
97
        <ccl2rpn>/etc/koha/zebradb/ccl.properties</ccl2rpn>
62
        <user>kohauser</user>    
98
        <user>kohauser</user>
63
        <password>__ZEBRA_PASS__</password>
99
        <password>__ZEBRA_PASS__</password>
64
</serverinfo>
100
</serverinfo>
65
101
Lines 112-117 Link Here
112
     </retrievalinfo>
148
     </retrievalinfo>
113
      </xi:fallback>
149
      </xi:fallback>
114
    </xi:include>
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> -->
115
</server>
167
</server>
116
<serverinfo id="authorityserver">
168
<serverinfo id="authorityserver">
117
    <ccl2rpn>/etc/koha/zebradb/ccl.properties</ccl2rpn>
169
    <ccl2rpn>/etc/koha/zebradb/ccl.properties</ccl2rpn>
Lines 119-124 Link Here
119
    <password>__ZEBRA_PASS__</password>
171
    <password>__ZEBRA_PASS__</password>
120
</serverinfo>
172
</serverinfo>
121
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
122
<config>
249
<config>
123
 <db_scheme>mysql</db_scheme>
250
 <db_scheme>mysql</db_scheme>
124
 <database>__DB_NAME__</database>
251
 <database>__DB_NAME__</database>
Lines 136-141 Link Here
136
 <intrahtdocs>/usr/share/koha/intranet/htdocs/intranet-tmpl</intrahtdocs>
263
 <intrahtdocs>/usr/share/koha/intranet/htdocs/intranet-tmpl</intrahtdocs>
137
 <includes>/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/includes/</includes>
264
 <includes>/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/includes/</includes>
138
 <logdir>/var/log/koha/__KOHASITE__</logdir>
265
 <logdir>/var/log/koha/__KOHASITE__</logdir>
266
 <!-- <pazpar2url>http://__PAZPAR2_HOST__:__PAZPAR2_PORT__/search.pz2</pazpar2url> -->
139
 <install_log>/usr/share/koha/misc/koha-install-log</install_log>
267
 <install_log>/usr/share/koha/misc/koha-install-log</install_log>
140
 <useldapserver>0</useldapserver><!-- see C4::Auth_with_ldap for extra configs you must add if you want to turn this on -->
268
 <useldapserver>0</useldapserver><!-- see C4::Auth_with_ldap for extra configs you must add if you want to turn this on -->
141
 <memcached_servers></memcached_servers>
269
 <memcached_servers></memcached_servers>
142
- 

Return to bug 7028