Bug 10860: In-House Use
[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_BIB_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_BIB_CFG__</config>
39     <cql2rpn>__ZEBRA_CONF_DIR__/pqf.properties</cql2rpn>
40     <xi:include href="__KOHA_CONF_DIR__/zebradb/__BIB_RETRIEVAL_CFG__" xmlns:xi="http://www.w3.org/2001/XInclude"/>
41     <xi:include href="__KOHA_CONF_DIR__/zebradb/explain-biblios.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
42 </server>
43 <serverinfo id="biblioserver">
44         <ccl2rpn>__ZEBRA_CONF_DIR__/ccl.properties</ccl2rpn>
45         <user>__ZEBRA_USER__</user>    
46         <password>__ZEBRA_PASS__</password>
47 </serverinfo>
48
49 <!-- AUTHORITY RECORDS -->
50 <server id="authorityserver"  listenref="authorityserver" >
51     <directory>__ZEBRA_DATA_DIR__/authorities</directory>
52     <config>__ZEBRA_CONF_DIR__/__ZEBRA_AUTH_CFG__</config>
53     <cql2rpn>__ZEBRA_CONF_DIR__/pqf.properties</cql2rpn>
54     <xi:include href="__KOHA_CONF_DIR__/zebradb/__AUTH_RETRIEVAL_CFG__" xmlns:xi="http://www.w3.org/2001/XInclude"/>
55     <xi:include href="__KOHA_CONF_DIR__/zebradb/explain-authorities.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
56 </server>
57 <serverinfo id="authorityserver">
58     <ccl2rpn>__ZEBRA_CONF_DIR__/ccl.properties</ccl2rpn>
59     <user>__ZEBRA_USER__</user>
60     <password>__ZEBRA_PASS__</password>
61 </serverinfo>
62
63 <!-- PUBLICSERVER'S BIBLIOGRAPHIC RECORDS -->
64 <!--
65 <server id="publicserver"  listenref="publicserver"> 
66     <directory>__ZEBRA_DATA_DIR__/biblios</directory>
67     <config>__ZEBRA_CONF_DIR__/__ZEBRA_BIB_CFG__</config>
68     <cql2rpn>__ZEBRA_CONF_DIR__/pqf.properties</cql2rpn>
69     <xi:include href="__KOHA_CONF_DIR__/zebradb/__BIB_RETRIEVAL_CFG__" xmlns:xi="http://www.w3.org/2001/XInclude"/>
70     <xi:include href="__KOHA_CONF_DIR__/zebradb/explain-biblios.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
71 </server>
72 <serverinfo id="publicserver">
73         <ccl2rpn>__ZEBRA_CONF_DIR__/ccl.properties</ccl2rpn>
74         <user>__ZEBRA_USER__</user>    
75         <password>__ZEBRA_PASS__</password>
76 </serverinfo>
77 -->
78
79 <!-- ADDITIONAL KOHA CONFIGURATION DIRECTIVE -->
80 <!-- db_scheme should follow the DBD driver name --> 
81 <!-- the DBD drivers supported by Koha are mysql and Pg -->
82 <!-- port info: mysql:3306 Pg:5432 (5433 on Debian) -->
83 <config>
84  <db_scheme>__DB_TYPE__</db_scheme>
85  <database>__DB_NAME__</database>
86  <hostname>__DB_HOST__</hostname>
87  <port>__DB_PORT__</port>
88  <user>__DB_USER__</user>
89  <pass>__DB_PASS__</pass>
90  <biblioserver>biblios</biblioserver>
91  <biblioservershadow>1</biblioservershadow>
92  <authorityserver>authorities</authorityserver>
93  <authorityservershadow>1</authorityservershadow>
94  <pluginsdir>__PLUGINS_DIR__</pluginsdir>
95  <enable_plugins>0</enable_plugins>
96  <intranetdir>__INTRANET_CGI_DIR__</intranetdir>
97  <opacdir>__OPAC_CGI_DIR__/opac</opacdir>
98  <opachtdocs>__OPAC_TMPL_DIR__</opachtdocs>
99  <intrahtdocs>__INTRANET_TMPL_DIR__</intrahtdocs>
100  <includes>__INTRANET_TMPL_DIR__/prog/en/includes/</includes>
101  <logdir>__LOG_DIR__</logdir>
102  <docdir>__DOC_DIR__</docdir>
103  <backupdir>__BACKUP_DIR__</backupdir>
104  <!-- Enable the two following to allow superlibrarians to download
105       database and configuration dumps (respectively) from the Export
106       tool -->
107  <backup_db_via_tools>0</backup_db_via_tools>
108  <backup_conf_via_tools>0</backup_conf_via_tools>
109  <!-- Uncomment the following line if you are not using packages and need to schedule reports through the web interface. supportdir should contain cronjobs/runreport.pl -->
110  <!--
111  <supportdir>__SCRIPT_NONDEV_DIR__</supportdir>
112  -->
113  <pazpar2url>http://__PAZPAR2_HOST__:__PAZPAR2_PORT__/search.pz2</pazpar2url>
114  <install_log>__MISC_DIR__/koha-install-log</install_log>
115  <useldapserver>0</useldapserver><!-- see C4::Auth_with_ldap for extra configs you must add if you want to turn this on -->
116  <useshibboleth>0</useshibboleth><!-- see C4::Auth_with_shibboleth for extra configs you must do to turn this on -->
117  <zebra_bib_index_mode>__BIB_INDEX_MODE__</zebra_bib_index_mode>
118  <zebra_auth_index_mode>__AUTH_INDEX_MODE__</zebra_auth_index_mode>
119  <zebra_lockdir>__ZEBRA_LOCK_DIR__</zebra_lockdir>
120  <use_zebra_facets>1</use_zebra_facets>
121  <queryparser_config>__KOHA_CONF_DIR__/searchengine/queryparser.yaml</queryparser_config>
122
123  <!-- true type font mapping accoding to type from $font_types in C4/Creators/Lib.pm -->
124  <ttf>
125     <font type="TR" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf</font>
126     <font type="TB" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Bold.ttf</font>
127     <font type="TI" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Italic.ttf</font>
128     <font type="TBI">/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-BoldItalic.ttf</font>
129     <font type="C"  >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf</font>
130     <font type="CB" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf</font>
131     <font type="CO" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Oblique.ttf</font>
132     <font type="CBO">/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-BoldOblique.ttf</font>
133     <font type="H"  >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf</font>
134     <font type="HO" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Oblique.ttf</font>
135     <font type="HB" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf</font>
136     <font type="HBO">/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-BoldOblique.ttf</font>
137  </ttf>
138
139 </config>
140 </yazgfs>