Bug 28278: Uncomment and test access_dirs
[koha.git] / t / data / koha-conf.xml
1 <yazgfs>
2 <!-- [scheme:]host[:port][/databaseName] -->
3 <!-- scheme: tcp, ssl, unix, http, sru -->
4 <!-- can run all servers on tcp, but the unix socket is faster -->
5
6 <listen id="biblioserver" >unix:/home/koha/var/run/zebradb/bibliosocket</listen>
7 <listen id="authorityserver" >unix:/home/koha/var/run/zebradb/authoritysocket</listen>
8
9 <!-- Uncomment the following entry if you want to run the public Z39.50 server.
10     Also uncomment the <server> and <serverinfo> sections for id 'publicserver'
11     under PUBLICSERVER'S BIBLIOGRAPHIC RECORDS title-->
12 <!--
13 <listen id="publicserver" >tcp:@:9998</listen>
14 -->
15
16 <!-- BIBLIOGRAPHIC RECORDS -->
17 <server id="biblioserver"  listenref="biblioserver">
18     <directory>/home/koha/var/lib/zebradb/biblios</directory>
19     <config>/home/koha/etc/zebradb/zebra-biblios-dom.cfg</config>
20     <cql2rpn>/home/koha/etc/zebradb/pqf.properties</cql2rpn>
21     <xi:include href="/home/koha/etc/zebradb/retrieval-info-bib-dom.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
22     <xi:include href="/home/koha/etc/zebradb/explain-biblios.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
23 </server>
24 <serverinfo id="biblioserver">
25         <ccl2rpn>/home/koha/etc/zebradb/ccl.properties</ccl2rpn>
26         <user>kohauser</user>
27         <password>zebrastripes</password>
28 </serverinfo>
29
30 <!-- AUTHORITY RECORDS -->
31 <server id="authorityserver"  listenref="authorityserver" >
32     <directory>/home/koha/var/lib/zebradb/authorities</directory>
33     <config>/home/koha/etc/zebradb/zebra-authorities-dom.cfg</config>
34     <cql2rpn>/home/koha/etc/zebradb/pqf.properties</cql2rpn>
35     <xi:include href="/home/koha/etc/zebradb/retrieval-info-auth-dom.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
36     <xi:include href="/home/koha/etc/zebradb/explain-authorities.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
37 </server>
38 <serverinfo id="authorityserver">
39     <ccl2rpn>/home/koha/etc/zebradb/ccl.properties</ccl2rpn>
40     <user>kohauser</user>
41     <password>zebrastripes</password>
42 </serverinfo>
43
44 <!-- PUBLICSERVER'S BIBLIOGRAPHIC RECORDS -->
45 <!--
46 <server id="publicserver"  listenref="publicserver">
47     <directory>/home/koha/var/lib/zebradb/biblios</directory>
48     <config>/home/koha/etc/zebradb/zebra-biblios-dom.cfg</config>
49     <cql2rpn>/home/koha/etc/zebradb/pqf.properties</cql2rpn>
50     <xi:include href="/home/koha/etc/zebradb/retrieval-info-bib-dom.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
51     <xi:include href="/home/koha/etc/zebradb/explain-biblios.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
52 </server>
53 <serverinfo id="publicserver">
54         <ccl2rpn>/home/koha/etc/zebradb/ccl.properties</ccl2rpn>
55         <user>kohauser</user>
56         <password>zebrastripes</password>
57 </serverinfo>
58 -->
59
60 <!-- ADDITIONAL KOHA CONFIGURATION DIRECTIVE -->
61 <!-- db_scheme should follow the DBD driver name -->
62 <!-- the DBD drivers supported by Koha are mysql and Pg -->
63 <!-- port info: mysql:3306 Pg:5432 (5433 on Debian) -->
64 <config>
65  <db_scheme>mysql</db_scheme>
66  <database>koha</database>
67  <hostname>localhost</hostname>
68  <port>3306</port>
69  <user>kohaadmin</user>
70  <pass>katikoan</pass>
71  <tls>no</tls>
72  <ca></ca>
73  <cert></cert>
74  <key></key>
75  <biblioserver>biblios</biblioserver>
76  <biblioservershadow>1</biblioservershadow>
77  <authorityserver>authorities</authorityserver>
78  <authorityservershadow>1</authorityservershadow>
79  <pluginsdir>/home/koha/var/lib/plugins</pluginsdir> <!-- This entry can be repeated to use multiple directories -->
80  <enable_plugins>0</enable_plugins>
81  <upload_path></upload_path>
82  <tmp_path></tmp_path>
83  <intranetdir>/home/koha/src</intranetdir>
84  <opacdir>/home/koha/src/opac</opacdir>
85  <opachtdocs>/home/koha/src/koha-tmpl/opac-tmpl</opachtdocs>
86  <intrahtdocs>/home/koha/src/koha-tmpl/intranet-tmpl</intrahtdocs>
87  <includes>/home/koha/src/koha-tmpl/intranet-tmpl/prog/en/includes/</includes>
88  <logdir>/home/koha/var/log</logdir>
89  <docdir>/home/koha/doc</docdir>
90  <backupdir>/home/koha/var/spool</backupdir>
91  <!-- URL of the mana KB server -->
92  <!-- alternative value http://mana-test.koha-community.org to query the test server -->
93  <mana_config>https://mana-kb.koha-community.org</mana_config>
94  <!-- Enable the two following to allow superlibrarians to download
95       database and configuration dumps (respectively) from the Export
96       tool -->
97  <backup_db_via_tools>0</backup_db_via_tools>
98  <backup_conf_via_tools>0</backup_conf_via_tools>
99  <!-- 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 -->
100  <!--
101  <supportdir>/home/koha/src/misc</supportdir>
102  -->
103  <install_log>/home/koha/misc/koha-install-log</install_log>
104  <useldapserver>0</useldapserver><!-- see C4::Auth_with_ldap for extra configs you must add if you want to turn this on -->
105  <useshibboleth>0</useshibboleth><!-- see C4::Auth_with_shibboleth for extra configs you must do to turn this on -->
106  <zebra_lockdir>/home/koha/var/lock/zebradb</zebra_lockdir>
107  <lockdir>__LOCK_DIR__</lockdir>
108  <use_zebra_facets>1</use_zebra_facets>
109  <zebra_max_record_size>1024</zebra_max_record_size>
110  <log4perl_conf>/home/koha/etc/log4perl.conf</log4perl_conf>
111  <!-- Uncomment/edit next setting if you want to adjust zebra log levels.
112       Default is: none,fatal,warn.
113       You can also include: debug,log,malloc,all,request.
114       Use a comma-separated list of levels to include. -->
115  <!-- <zebra_loglevels>none,fatal,warn</zebra_loglevels> -->
116  <memcached_servers>127.0.0.1:11211</memcached_servers>
117  <memcached_namespace>KOHA</memcached_namespace>
118  <template_cache_dir>/tmp/koha</template_cache_dir>
119
120  <!-- Secret passphrase used by Mojolicious for signed cookies -->
121  <api_secret_passphrase>CHANGEME</api_secret_passphrase>
122
123  <!-- Accessible directory from the staff client, uncomment the following line and define a valid path to let the intranet user access it-->
124  <access_dirs>
125      <access_dir>/dir_1</access_dir>
126      <access_dir>/dir_2</access_dir>
127  </access_dirs>
128
129  <!-- true type font mapping accoding to type from $font_types in C4/Creators/Lib.pm -->
130  <ttf>
131     <font type="TR" >/usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf</font>
132     <font type="TB" >/usr/share/fonts/truetype/dejavu/DejaVuSerif-Bold.ttf</font>
133     <font type="TI" >/usr/share/fonts/truetype/dejavu/DejaVuSerif-Italic.ttf</font>
134     <font type="TBI">/usr/share/fonts/truetype/dejavu/DejaVuSerif-BoldItalic.ttf</font>
135     <font type="C"  >/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf</font>
136     <font type="CB" >/usr/share/fonts/truetype/dejavu/DejaVuSansMono-Bold.ttf</font>
137     <font type="CO" >/usr/share/fonts/truetype/dejavu/DejaVuSansMono-Oblique.ttf</font>
138     <font type="CBO">/usr/share/fonts/truetype/dejavu/DejaVuSansMono-BoldOblique.ttf</font>
139     <font type="H"  >/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf</font>
140     <font type="HO" >/usr/share/fonts/truetype/dejavu/DejaVuSans-Oblique.ttf</font>
141     <font type="HB" >/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf</font>
142     <font type="HBO">/usr/share/fonts/truetype/dejavu/DejaVuSans-BoldOblique.ttf</font>
143  </ttf>
144
145  <!-- Path to the config file for SMS::Send -->
146  <sms_send_config>/home/koha/etc/sms_send/</sms_send_config>
147
148  <!-- Configuration for Plack -->
149  <plack_max_requests>50</plack_max_requests>
150  <plack_workers>2</plack_workers>
151
152  <!-- Configuration for X-Forwarded-For -->
153  <!--
154  <koha_trusted_proxies>1.2.3.4 2.3.4.5 3.4.5.6</koha_trusted_proxies>
155  -->
156
157  <!-- Elasticsearch Configuration -->
158  <elasticsearch>
159      <server>localhost:9200</server>
160      <index_name>koha_master</index_name>
161
162      <!-- See https://metacpan.org/pod/Search::Elasticsearch#cxn_pool -->
163      <cxn_pool>Static</cxn_pool>
164      <!-- See https://metacpan.org/pod/Search::Elasticsearch#trace_to -->
165      <!-- <trace_to>Stderr</trace_to> -->
166  </elasticsearch>
167  <!-- Uncomment the following line if you want to override the Elasticsearch default index settings -->
168  <!-- <elasticsearch_index_config>/home/koha/etc/searchengine/elasticsearch/index_config.yaml</elasticsearch_index_config> -->
169  <!-- Uncomment the following line if you want to override the Elasticsearch default field settings -->
170  <!-- <elasticsearch_field_config>/home/koha/etc/searchengine/elasticsearch/field_config.yaml</elasticsearch_field_config> -->
171  <!-- Uncomment the following line if you want to override the Elasticsearch index default settings.
172       Note that any changes made to the mappings file only take effect if you reset the mappings in
173       by visiting /cgi-bin/koha/admin/searchengine/elasticsearch/mappings.pl?op=reset&i_know_what_i_am_doing=1&reset_fields=1.
174       Resetting mappings will override any changes made in the Search engine configuration UI.
175  -->
176  <!-- <elasticsearch_index_mappings>/home/koha/etc/searchengine/elasticsearch/mappings.yaml</elasticsearch_index_mappings> -->
177
178  <interlibrary_loans>
179      <!-- Path to where Illbackends are located on the system
180           - This setting should normally not be touched -->
181      <backend_directory>/home/koha/src/Koha/Illbackends</backend_directory>
182      <!-- At least one <branch> block is required. -->
183      <branch>
184          <!-- The code of this branch -->
185          <code>CPL</code>
186          <!-- An optional prefix for all ILL request IDs for this branch -->
187          <prefix>ILL</prefix>
188      </branch>
189      <!-- How should we treat staff comments?
190           - hide: don't show in OPAC
191           - show: show in OPAC -->
192      <staff_request_comments>hide</staff_request_comments>
193      <!-- How should we treat the reply_date field?
194           - hide: don't show this field in the UI
195           - any other string: show, with this label -->
196      <reply_date>hide</reply_date>
197      <!-- Where should digital ILLs be sent?
198           - borrower: send it straight to the borrower email
199           - branch: send the ILL to the branch email -->
200      <digital_recipient>branch</digital_recipient>
201      <!-- What patron category should we use for p2p ILL requests?
202           - By default this is set to 'ILLLIBS' -->
203      <partner_code>ILLLIBS</partner_code>
204  </interlibrary_loans>
205
206  <!-- The timezone setting can let you force the timezone for this
207       instance to be something other then the local timezone of the
208       server. e.g. Antarctica/South_Pole -->
209  <timezone></timezone>
210
211  <!-- This is the bcryt settings used to generated anonymized content -->
212  <bcrypt_settings>__BCRYPT_SETTINGS__</bcrypt_settings>
213
214  <!-- flag for development purposes
215       dev_install is used to adjust some paths specific to dev installations
216       strict_sql_modes should not be used in a production environment
217       developers use it to catch bugs related to strict SQL modes -->
218  <dev_install>0</dev_install>
219  <strict_sql_modes>0</strict_sql_modes>
220  <plugin_repos>
221     <!--
222     <repo>
223         <name>ByWater Solutions</name>
224         <org_name>bywatersolutions</org_name>
225         <service>github</service>
226     </repo>
227     <repo>
228         <name>Theke Solutions</name>
229         <org_name>thekesolutions</org_name>
230         <service>gitlab</service>
231     </repo>
232     <repo>
233         <name>PTFS Europe</name>
234         <org_name>ptfs-europe</org_name>
235         <service>github</service>
236     </repo>
237     -->
238  </plugin_repos>
239
240  <koha_xslt_security>
241  <!-- Uncomment the following entry ONLY when you explicitly want the XSLT
242       parser to expand entities like <!ENTITY secret SYSTEM "/etc/secrets">.
243       This is unsafe and therefore NOT recommended!
244      <expand_entities_unsafe>1</expand_entities_unsafe>
245  -->
246  </koha_xslt_security>
247
248  <smtp_server>
249     <host>localhost</host>
250     <port>25</port>
251     <timeout>120</timeout>
252     <ssl_mode>disabled</ssl_mode>
253     <user_name></user_name>
254     <password></password>
255     <debug>0</debug>
256  </smtp_server>
257
258  <message_broker>
259    <hostname>localhost</hostname>
260    <port>61613</port>
261    <username>guest</username>
262    <password>guest</password>
263    <vhost></vhost>
264  </message_broker>
265
266 </config>
267 </yazgfs>