Advertisement
Guest User

Untitled

a guest
May 30th, 2012
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.27 KB | None | 0 0
  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:/var/run/koha/zebradb/bibliosocket</listen>
  8. <listen id="authorityserver" >unix:/var/run/koha/zebradb/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:@:9998</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. <!--
  27. <listen id="mergeserver">tcp:@:11001</listen>
  28. <server id="mergeserver" listenref="mergeserver">
  29. <directory>/var/lib/koha/zebradb/biblios</directory>
  30. <config>/etc/koha/zebradb/zebra-biblios.cfg</config>
  31. <cql2rpn>/etc/koha/zebradb/pqf.properties</cql2rpn>
  32. </server>
  33. -->
  34.  
  35. <!-- BIBLIOGRAPHIC RECORDS -->
  36. <server id="biblioserver" listenref="biblioserver">
  37. <directory>/var/lib/koha/zebradb/biblios</directory>
  38. <config>/etc/koha/zebradb/zebra-biblios.cfg</config>
  39. <cql2rpn>/etc/koha/zebradb/pqf.properties</cql2rpn>
  40. <!-- <docpath>xsl</docpath> -->
  41. <!-- <stylesheet>xsl/default.xsl</stylesheet> -->
  42. <!-- <maximumrecordsize>2000000</maximumrecordsize> -->
  43. <retrievalinfo>
  44. <retrieval syntax="usmarc" name="F"/>
  45. <retrieval syntax="usmarc" name="B"/>
  46. <retrieval syntax="xml" name="F"/>
  47. <retrieval syntax="xml" name="B"/>
  48. <retrieval syntax="xml" name="marcxml"
  49. identifier="info:srw/schema/1/marcxml-v1.1">
  50. <backend syntax="usmarc" name="F">
  51. <marc inputformat="marc" outputformat="marcxml"
  52. inputcharset="utf-8"/>
  53. </backend>
  54. </retrieval>
  55. <retrieval syntax="xml" name="dc">
  56. <backend syntax="usmarc" name="F">
  57. <marc inputformat="marc" outputformat="marcxml"
  58. inputcharset="utf-8"/>
  59. <xslt stylesheet="/var/www/vhosts/koyauniversity.org/library/htdocs/intranet/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl"/>
  60. </backend>
  61. </retrieval>
  62. <retrieval syntax="xml" name="mods">
  63. <backend syntax="usmarc" name="F">
  64. <marc inputformat="marc" outputformat="marcxml"
  65. inputcharset="utf-8"/>
  66. <xslt stylesheet="/var/www/vhosts/koyauniversity.org/library/htdocs/intranet/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl"/>
  67. </backend>
  68. </retrieval>
  69. <retrieval syntax="xml" name="rdfdc">
  70. <backend syntax="usmarc" name="F">
  71. <marc inputformat="marc" outputformat="marcxml"
  72. inputcharset="utf-8"/>
  73. <xslt stylesheet="/var/www/vhosts/koyauniversity.org/library/htdocs/intranet/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
  74. </backend>
  75. </retrieval>
  76. <retrieval syntax="xml" name="rss2">
  77. <backend syntax="usmarc" name="F">
  78. <marc inputformat="marc" outputformat="marcxml"
  79. inputcharset="utf-8"/>
  80. <xslt stylesheet="/var/www/vhosts/koyauniversity.org/library/htdocs/intranet/intranet-tmpl/prog/en/xslt/MARC21slim2RSS2.xsl"/>
  81. </backend>
  82. </retrieval>
  83. <retrieval syntax="xml" name="utils">
  84. <backend syntax="usmarc" name="F">
  85. <marc inputformat="marc" outputformat="marcxml"
  86. inputcharset="utf-8"/>
  87. <xslt stylesheet="/var/www/vhosts/koyauniversity.org/library/htdocs/intranet/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl"/>
  88. </backend>
  89. </retrieval>
  90. </retrievalinfo>
  91. <xi:include href="/etc/koha/zebradb/explain-biblios.xml"
  92. xmlns:xi="http://www.w3.org/2001/XInclude">
  93. <xi:fallback>
  94. <explain xmlns="http://explain.z3950.org/dtd/2.0/">
  95. <serverInfo>
  96. <host>localhost</host>
  97. <port>9998</port>
  98. <database>biblios</database>
  99. </serverInfo>
  100. </explain>
  101. </xi:fallback>
  102. </xi:include>
  103. </server>
  104. <serverinfo id="biblioserver">
  105. <ccl2rpn>/etc/koha/zebradb/ccl.properties</ccl2rpn>
  106. <user>kohauser</user>
  107. <password>zebrastripes</password>
  108. </serverinfo>
  109.  
  110. <!-- AUTHORITY RECORDS -->
  111. <server id="authorityserver" listenref="authorityserver" >
  112. <directory>/var/lib/koha/zebradb/authorities</directory>
  113. <config>/etc/koha/zebradb/zebra-authorities-dom.cfg</config>
  114. <cql2rpn>/etc/koha/zebradb/pqf.properties</cql2rpn>
  115. <!-- <docpath>xsl</docpath> -->
  116. <!-- <stylesheet>xsl/default.xsl</stylesheet> -->
  117. <!-- <maximumrecordsize>2000000</maximumrecordsize> -->
  118. <xi:include href="/etc/koha/zebradb/retrieval-info-auth-dom.xml"
  119. xmlns:xi="http://www.w3.org/2001/XInclude">
  120. <xi:fallback>
  121. <retrievalinfo>
  122. <retrieval syntax="usmarc" name="F"/>
  123. <retrieval syntax="usmarc" name="B"/>
  124. <retrieval syntax="xml" name="marcxml"
  125. identifier="info:srw/schema/1/marcxml-v1.1">
  126. <backend syntax="usmarc" name="F">
  127. <marc inputformat="marc" outputformat="marcxml"
  128. inputcharset="utf-8"/>
  129. </backend>
  130. </retrieval>
  131. <retrieval syntax="xml" name="dc">
  132. <backend syntax="usmarc" name="F">
  133. <marc inputformat="marc" outputformat="marcxml"
  134. inputcharset="utf-8"/>
  135. <xslt stylesheet="/var/www/vhosts/koyauniversity.org/library/htdocs/intranet/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl"/>
  136. </backend>
  137. </retrieval>
  138. <retrieval syntax="xml" name="mods">
  139. <backend syntax="usmarc" name="F">
  140. <marc inputformat="marc" outputformat="marcxml"
  141. inputcharset="utf-8"/>
  142. <xslt stylesheet="/var/www/vhosts/koyauniversity.org/library/htdocs/intranet/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl"/>
  143. </backend>
  144. </retrieval>
  145. <retrieval syntax="xml" name="rdfdc">
  146. <backend syntax="usmarc" name="F">
  147. <marc inputformat="marc" outputformat="marcxml"
  148. inputcharset="utf-8"/>
  149. <xslt stylesheet="/var/www/vhosts/koyauniversity.org/library/htdocs/intranet/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
  150. </backend>
  151. </retrieval>
  152. <retrieval syntax="xml" name="utils">
  153. <backend syntax="usmarc" name="F">
  154. <marc inputformat="marc" outputformat="marcxml"
  155. inputcharset="utf-8"/>
  156. <xslt stylesheet="/var/www/vhosts/koyauniversity.org/library/htdocs/intranet/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl"/>
  157. </backend>
  158. </retrieval>
  159. </retrievalinfo>
  160. </xi:fallback>
  161. </xi:include>
  162. <xi:include href="/etc/koha/zebradb/explain-authorities.xml"
  163. xmlns:xi="http://www.w3.org/2001/XInclude">
  164. <xi:fallback>
  165. <explain xmlns="http://explain.z3950.org/dtd/2.0/">
  166. <serverInfo>
  167. <host>localhost</host>
  168. <port>9999</port>
  169. <database>authorities</database>
  170. </serverInfo>
  171. </explain>
  172. </xi:fallback>
  173. </xi:include>
  174. </server>
  175. <serverinfo id="authorityserver">
  176. <ccl2rpn>/etc/koha/zebradb/ccl.properties</ccl2rpn>
  177. <user>kohauser</user>
  178. <password>zebrastripes</password>
  179. </serverinfo>
  180.  
  181. <!-- PUBLICSERVER'S BIBLIOGRAPHIC RECORDS -->
  182. <!--
  183. <server id="publicserver" listenref="publicserver">
  184. <directory>/var/lib/koha/zebradb/biblios</directory>
  185. <config>/etc/koha/zebradb/zebra-biblios.cfg</config>
  186. <cql2rpn>/etc/koha/zebradb/pqf.properties</cql2rpn>
  187. <retrievalinfo>
  188. <retrieval syntax="usmarc" name="F"/>
  189. <retrieval syntax="usmarc" name="B"/>
  190. <retrieval syntax="xml" name="F"/>
  191. <retrieval syntax="xml" name="B"/>
  192. <retrieval syntax="xml" name="marcxml"
  193. identifier="info:srw/schema/1/marcxml-v1.1">
  194. <backend syntax="usmarc" name="F">
  195. <marc inputformat="marc" outputformat="marcxml"
  196. inputcharset="utf-8"/>
  197. </backend>
  198. </retrieval>
  199. <retrieval syntax="xml" name="dc">
  200. <backend syntax="usmarc" name="F">
  201. <marc inputformat="marc" outputformat="marcxml"
  202. inputcharset="utf-8"/>
  203. <xslt stylesheet="/var/www/vhosts/koyauniversity.org/library/htdocs/intranet/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl"/>
  204. </backend>
  205. </retrieval>
  206. <retrieval syntax="xml" name="mods">
  207. <backend syntax="usmarc" name="F">
  208. <marc inputformat="marc" outputformat="marcxml"
  209. inputcharset="utf-8"/>
  210. <xslt stylesheet="/var/www/vhosts/koyauniversity.org/library/htdocs/intranet/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl"/>
  211. </backend>
  212. </retrieval>
  213. <retrieval syntax="xml" name="rdfdc">
  214. <backend syntax="usmarc" name="F">
  215. <marc inputformat="marc" outputformat="marcxml"
  216. inputcharset="utf-8"/>
  217. <xslt stylesheet="/var/www/vhosts/koyauniversity.org/library/htdocs/intranet/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
  218. </backend>
  219. </retrieval>
  220. <retrieval syntax="xml" name="rss2">
  221. <backend syntax="usmarc" name="F">
  222. <marc inputformat="marc" outputformat="marcxml"
  223. inputcharset="utf-8"/>
  224. <xslt stylesheet="/var/www/vhosts/koyauniversity.org/library/htdocs/intranet/intranet-tmpl/prog/en/xslt/MARC21slim2RSS2.xsl"/>
  225. </backend>
  226. </retrieval>
  227. <retrieval syntax="xml" name="utils">
  228. <backend syntax="usmarc" name="F">
  229. <marc inputformat="marc" outputformat="marcxml"
  230. inputcharset="utf-8"/>
  231. <xslt stylesheet="/var/www/vhosts/koyauniversity.org/library/htdocs/intranet/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl"/>
  232. </backend>
  233. </retrieval>
  234. </retrievalinfo>
  235. <xi:include href="/etc/koha/zebradb/explain-biblios.xml"
  236. xmlns:xi="http://www.w3.org/2001/XInclude">
  237. <xi:fallback>
  238. <explain xmlns="http://explain.z3950.org/dtd/2.0/">
  239. <serverInfo>
  240. <host>localhost</host>
  241. <port>9998</port>
  242. <database>biblios</database>
  243. </serverInfo>
  244. </explain>
  245. </xi:fallback>
  246. </xi:include>
  247. </server>
  248. <serverinfo id="publicserver">
  249. <ccl2rpn>/etc/koha/zebradb/ccl.properties</ccl2rpn>
  250. <user>kohauser</user>
  251. <password>zebrastripes</password>
  252. </serverinfo>
  253. -->
  254.  
  255. <!-- ADDITIONAL KOHA CONFIGURATION DIRECTIVE -->
  256. <!-- db_scheme should follow the DBD driver name -->
  257. <!-- port info: mysql:3306 Pg:5432 (5433 on Debian) -->
  258. <config>
  259. <db_scheme>mysql</db_scheme>
  260. <database>koha</database>
  261. <hostname>localhost</hostname>
  262. <port>3306</port>
  263. <user>koha_admin</user>
  264. <pass>PASS</pass>
  265. <biblioserver>biblios</biblioserver>
  266. <biblioservershadow>1</biblioservershadow>
  267. <authorityserver>authorities</authorityserver>
  268. <authorityservershadow>1</authorityservershadow>
  269. <intranetdir>/var/www/vhosts/koyauniversity.org/library/cgi-bin/intranet</intranetdir>
  270. <opacdir>/var/www/vhosts/koyauniversity.org/library/cgi-bin/opac/opac</opacdir>
  271. <opachtdocs>/var/www/vhosts/koyauniversity.org/library/htdocs/opac/opac-tmpl</opachtdocs>
  272. <intrahtdocs>/var/www/vhosts/koyauniversity.org/library/htdocs/intranet/intranet-tmpl</intrahtdocs>
  273. <includes>/var/www/vhosts/koyauniversity.org/library/htdocs/intranet/intranet-tmpl/prog/en/includes/</includes>
  274. <logdir>/var/log/koha</logdir>
  275. <pazpar2url>http://mail.mhe-krg.org:11002/search.pz2</pazpar2url>
  276. <install_log>/usr/share/koha/misc/koha-install-log</install_log>
  277. <useldapserver>0</useldapserver><!-- see C4::Auth_with_ldap for extra configs you must add if you want to turn this on -->
  278. </config>
  279. </yazgfs>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement