Koha/etc/koha-conf.xml
Chris Nighswonger bc4699ca64 Changes to add dbms type and port & rename db vars for multi-dbms
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-12 17:40:20 -06:00

55 lines
2.1 KiB
XML

<yazgfs>
<!-- [scheme:]host[:port][/databaseName] -->
<!-- scheme: tcp, ssl, unix, http, sru -->
<!-- can run all servers on tcp, but the unix socket is faster -->
<listen id="biblioserver" >unix:__BASE_DIR__/tmp/bibliosocket</listen>
<listen id="authorityserver" >unix:__BASE_DIR__/tmp/authoritysocket</listen>
<!-- public server runs on tcp -->
<!-- <listen id="publicserver" >tcp:@:9999</listen> -->
<!-- BIBLIOGRAPHIC RECORDS -->
<server id="biblioserver" listenref="biblioserver">
<directory>__BASE_DIR__/zebradb/biblios</directory>
<config>__PREFIX__/share/koha/etc/zebradb/zebra-biblios.cfg</config>
<cql2rpn>__PREFIX__/share/koha/etc/zebradb/pqf.properties</cql2rpn>
</server>
<serverinfo id="biblioserver">
<ccl2rpn>__PREFIX__/share/koha/etc/zebradb/ccl.properties</ccl2rpn>
<user>__ZEBRA_USER__</user>
<password>__ZEBRA_PASS__</password>
</serverinfo>
<!-- AUTHORITY RECORDS -->
<server id="authorityserver" listenref="authorityserver" >
<directory>__BASE_DIR__/zebradb/authorities</directory>
<config>__PREFIX__/share/koha/etc/zebradb/zebra-authorities.cfg</config>
</server>
<serverinfo id="authorityserver">
<ccl2rpn>__PREFIX__/share/koha/etc/zebradb/ccl.properties</ccl2rpn>
<user>__ZEBRA_USER__</user>
<password>__ZEBRA_PASS__</password>
</serverinfo>
<!-- ADDITIONAL KOHA CONFIGURATION DIRECTIVE -->
<!-- db_scheme should follow the DBD driver name -->
<!-- port info: mysql:3306 Pg:5432 (5433 on Debian) -->
<config>
<db_scheme>__DB_TYPE__</db_scheme>
<database>__DB_NAME__</database>
<hostname>__DB_HOST__</hostname>
<port>__DB_PORT__</port>
<user>__DB_USER__</user>
<pass>__DB_PASS__</pass>
<biblioserver>biblios</biblioserver>
<biblioservershadow>1</biblioservershadow>
<authorityserver>authorities</authorityserver>
<authorityservershadow>1</authorityservershadow>
<intranetdir>__CGI_DIR__</intranetdir>
<opacdir>__CGI_DIR__/opac</opacdir>
<opachtdocs>__BASE_DIR__/templates/koha-tmpl/opac-tmpl</opachtdocs>
<intrahtdocs>__BASE_DIR__/templates/koha-tmpl/intranet-tmpl</intrahtdocs>
<includes>__BASE_DIR__/templates/koha-tmpl/intranet-tmpl/default/en/includes/</includes>
</config>
</yazgfs>