Add Getopt::Long to fines.pl, and option to specify log output directory.
[koha.git] / etc / koha-conf.xml
blobe627fc6af5c34dbf3285cb5887de89d396b74bc0
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 -->
7 <listen id="biblioserver" >unix:__ZEBRA_RUN_DIR__/bibliosocket</listen>
8 <listen id="authorityserver" >unix:__ZEBRA_RUN_DIR__/authoritysocket</listen>
9 <!-- public server runs on tcp -->
10 <!-- <listen id="publicserver" >tcp:@:9999</listen> -->
12 <!-- Settings for special biblio server instance for PazPar2.
13      Because PazPar2 only connects to a Z39.50 server using TCP/IP,
14      it cannot use the Unix-domain socket that biblioserver uses.
15      Therefore, a custom server is defined. -->
16 __PAZPAR2_TOGGLE_XML_PRE__
17 <listen id="mergeserver">tcp:@:__MERGE_SERVER_PORT__</listen>
18 <server id="mergeserver"  listenref="mergeserver"> 
19     <directory>__ZEBRA_DATA_DIR__/biblios</directory>
20     <config>__ZEBRA_CONF_DIR__/zebra-biblios.cfg</config>
21     <cql2rpn>__ZEBRA_CONF_DIR__/pqf.properties</cql2rpn>
22 </server>
23 __PAZPAR2_TOGGLE_XML_POST__
25 <!-- BIBLIOGRAPHIC RECORDS -->
26 <server id="biblioserver"  listenref="biblioserver"> 
27     <directory>__ZEBRA_DATA_DIR__/biblios</directory>
28     <config>__ZEBRA_CONF_DIR__/zebra-biblios.cfg</config>
29     <cql2rpn>__ZEBRA_CONF_DIR__/pqf.properties</cql2rpn>
30      <!-- <docpath>xsl</docpath> -->
31      <!-- <stylesheet>xsl/default.xsl</stylesheet> -->
32      <!-- <maximumrecordsize>2000000</maximumrecordsize> -->
33      <retrievalinfo>
34        <retrieval syntax="usmarc" name="F"/>
35        <retrieval syntax="usmarc" name="B"/>
36        <retrieval syntax="xml" name="F"/>
37        <retrieval syntax="xml" name="B"/>
38        <retrieval syntax="xml" name="marcxml"
39                   identifier="info:srw/schema/1/marcxml-v1.1">
40          <backend syntax="usmarc" name="F">
41            <marc inputformat="marc" outputformat="marcxml"
42                  inputcharset="utf-8"/>
43          </backend>
44        </retrieval>
45        <retrieval syntax="xml" name="dc">
46          <backend syntax="usmarc" name="F">
47            <marc inputformat="marc" outputformat="marcxml"
48                  inputcharset="utf-8"/>
49            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2DC.xsl"/>
50          </backend>
51        </retrieval>
52        <retrieval syntax="xml" name="mods">
53          <backend syntax="usmarc" name="F">
54            <marc inputformat="marc" outputformat="marcxml"
55                  inputcharset="utf-8"/>
56            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2MODS.xsl"/>
57          </backend>
58        </retrieval>
59        <retrieval syntax="xml" name="rdfdc">
60          <backend syntax="usmarc" name="F">
61            <marc inputformat="marc" outputformat="marcxml"
62                  inputcharset="utf-8"/>
63            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
64          </backend>
65        </retrieval>
66        <retrieval syntax="xml" name="rss2">
67          <backend syntax="usmarc" name="F">
68            <marc inputformat="marc" outputformat="marcxml"
69                  inputcharset="utf-8"/>
70            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2RSS2.xsl"/>
71          </backend>
72        </retrieval>
73        <retrieval syntax="xml" name="utils">
74          <backend syntax="usmarc" name="F">
75            <marc inputformat="marc" outputformat="marcxml"
76                  inputcharset="utf-8"/>
77            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slimUtils.xsl"/>
78          </backend>
79        </retrieval>
80      </retrievalinfo>
81     <xi:include href="__KOHA_CONF_DIR__/zebradb/explain-biblios.xml"
82                 xmlns:xi="http://www.w3.org/2001/XInclude">
83       <xi:fallback>
84       <explain xmlns="http://explain.z3950.org/dtd/2.0/">
85           <serverInfo>
86             <host>__ZEBRA_SRU_HOST__</host>
87             <port>__ZEBRA_SRU_BIBLIOS_PORT__</port>
88             <database>biblios</database>
89           </serverInfo>
90         </explain>
91       </xi:fallback>
92     </xi:include>
93 </server>
94 <serverinfo id="biblioserver">
95         <ccl2rpn>__ZEBRA_CONF_DIR__/ccl.properties</ccl2rpn>
96         <user>__ZEBRA_USER__</user>    
97         <password>__ZEBRA_PASS__</password>
98 </serverinfo>
100 <!-- AUTHORITY RECORDS -->
101 <server id="authorityserver"  listenref="authorityserver" >
102     <directory>__ZEBRA_DATA_DIR__/authorities</directory>
103     <config>__ZEBRA_CONF_DIR__/__ZEBRA_AUTH_CFG__</config>
104     <cql2rpn>__ZEBRA_CONF_DIR__/pqf.properties</cql2rpn>
105      <!-- <docpath>xsl</docpath> -->
106      <!-- <stylesheet>xsl/default.xsl</stylesheet> -->
107      <!-- <maximumrecordsize>2000000</maximumrecordsize> -->
108     <xi:include href="__KOHA_CONF_DIR__/zebradb/__AUTH_RETRIEVAL_CFG__"
109                 xmlns:xi="http://www.w3.org/2001/XInclude">
110       <xi:fallback>
111      <retrievalinfo>
112        <retrieval syntax="usmarc" name="F"/>
113        <retrieval syntax="usmarc" name="B"/>
114        <retrieval syntax="xml" name="marcxml"
115                   identifier="info:srw/schema/1/marcxml-v1.1">
116          <backend syntax="usmarc" name="F">
117            <marc inputformat="marc" outputformat="marcxml"
118                  inputcharset="utf-8"/>
119          </backend>
120        </retrieval>
121        <retrieval syntax="xml" name="dc">
122          <backend syntax="usmarc" name="F">
123            <marc inputformat="marc" outputformat="marcxml"
124                  inputcharset="utf-8"/>
125            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2DC.xsl"/>
126          </backend>
127        </retrieval>
128        <retrieval syntax="xml" name="mods">
129          <backend syntax="usmarc" name="F">
130            <marc inputformat="marc" outputformat="marcxml"
131                  inputcharset="utf-8"/>
132            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2MODS.xsl"/>
133          </backend>
134        </retrieval>
135        <retrieval syntax="xml" name="rdfdc">
136          <backend syntax="usmarc" name="F">
137            <marc inputformat="marc" outputformat="marcxml"
138                  inputcharset="utf-8"/>
139            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
140          </backend>
141        </retrieval>
142        <retrieval syntax="xml" name="utils">
143          <backend syntax="usmarc" name="F">
144            <marc inputformat="marc" outputformat="marcxml"
145                  inputcharset="utf-8"/>
146            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slimUtils.xsl"/>
147          </backend>
148        </retrieval>
149      </retrievalinfo>
150       </xi:fallback>
151     </xi:include>
152     <xi:include href="__KOHA_CONF_DIR__/zebradb/explain-authorities.xml"
153                 xmlns:xi="http://www.w3.org/2001/XInclude">
154       <xi:fallback>
155       <explain xmlns="http://explain.z3950.org/dtd/2.0/">
156           <serverInfo>
157             <host>__ZEBRA_SRU_HOST__</host>
158             <port>__ZEBRA_SRU_AUTHORITIES_PORT__</port>
159             <database>authorities</database>
160           </serverInfo>
161         </explain>
162       </xi:fallback>
163     </xi:include>
164 </server>
165 <serverinfo id="authorityserver">
166     <ccl2rpn>__ZEBRA_CONF_DIR__/ccl.properties</ccl2rpn>
167     <user>__ZEBRA_USER__</user>
168     <password>__ZEBRA_PASS__</password>
169 </serverinfo>
171 <!-- ADDITIONAL KOHA CONFIGURATION DIRECTIVE -->
172 <!-- db_scheme should follow the DBD driver name --> 
173 <!-- port info: mysql:3306 Pg:5432 (5433 on Debian) -->
174 <config>
175  <db_scheme>__DB_TYPE__</db_scheme>
176  <database>__DB_NAME__</database>
177  <hostname>__DB_HOST__</hostname>
178  <port>__DB_PORT__</port>
179  <user>__DB_USER__</user>
180  <pass>__DB_PASS__</pass>
181  <biblioserver>biblios</biblioserver>
182  <biblioservershadow>1</biblioservershadow>
183  <authorityserver>authorities</authorityserver>
184  <authorityservershadow>1</authorityservershadow>
185  <intranetdir>__INTRANET_CGI_DIR__</intranetdir>
186  <opacdir>__OPAC_CGI_DIR__/opac</opacdir>
187  <opachtdocs>__OPAC_TMPL_DIR__</opachtdocs>
188  <intrahtdocs>__INTRANET_TMPL_DIR__</intrahtdocs>
189  <includes>__INTRANET_TMPL_DIR__/prog/en/includes/</includes>
190  <logdir>__LOG_DIR__</logdir>
191  <pazpar2url>http://__PAZPAR2_HOST__:__PAZPAR2_PORT__/search.pz2</pazpar2url>
192  <install_log>__MISC_DIR__/koha-install-log</install_log>
193  <useldapserver>0</useldapserver><!-- see C4::Auth_with_ldap for extra configs you must add if you want to turn this on -->
194 </config>
195 </yazgfs>