# this is an example configuration file for refdbsru, the SRU
# CGI script of RefDB
# RefDB is a reference database and bibliography tool, see
# http://refdb.sourceforge.net for further information

# Syntax rules of this file:
# 1. Each line contains a pair of variable name and variable value, 
#    separated by whitespace.
# 2. The hash (#) denotes the start of a comment, the rest of the line
#    will be ignored
# 3. The line ending must be Unix-style (LF) regardless of the operating
#    system

# Either the IP address or the hostname of the computer that runs the
# application server refdbd. Use 127.0.0.1 if refdbc and refdbd run
# on the same computer
serverip	127.0.0.1

# The port on which the application server refdbd listens
port	9734

# The username for the database access authentication. It is recommended
# to use a special read-only database account for this purpose
username	anonymous

# The password for the database access authentication. It is recommended
# to use a special read-only database account without a password
passwd

# The default database
#defaultdb	foo

# The full path of the base directory of your PDF or PostScript offprint
# repository. This path should not rely on shell expansion (don't use ~)
#pdfroot /home/foo/literature/


# The database engine that refdbd connects to. Currently mysql, pgsql,
# sqlite, and sqlite3 are supported
# NB If you do not set this value here, it will be determined at runtime.
# However it is far more efficient to set the value here
#dbserver	mysql

# The time in seconds which has to elapse before a stalled connection
# to the application server is taken down
# timeout 180

# The destination of the log information. Uncomment *one* of the
# following definitions. "file" uses the file specified with the
# logfile variable
#logdest stderr
#logdest syslog
logdest file

# The priority up to which messages are logged. Uncomment *one* of the
# following definitions. "emerg" will result in the fewest, "debug" in
# the most log messages
#loglevel emerg
#loglevel alert
#loglevel crit
#loglevel err
#loglevel warning
#loglevel notice
loglevel info
#loglevel debug

# The full path of a custom log file. This will be used if logdest is
# set accordingly
logfile /var/log/refdbsru.log

# The URL of a stylesheet to format the resulting XML documents in a browser.
xsl_url /styles/refdbsru.xsl


############################################################################
# the following parameters provide the site-specific information for the
# 'explain' SRU command

zeerex_host	www.changeme.org
zeerex_port	80
zeerex_database	cgi-bin/refdbsru
zeerex_databaseInfo_title	Reference Database
zeerex_databaseInfo_description	A reference database
zeerex_databaseInfo_author	Your Name
zeerex_databaseInfo_contact	your@email


# end of refdbsrurc
