/etc/refdb/refdbsrurc.example is in refdb-clients 1.0.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | # 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
|