+.git
.cvsignore
CVS
archive
--- /dev/null
+# This is the configuration that I (Mike) use on the development
+# machine cartney, which is a MacBook Pro
+#
+# See comments in mk2-config-cmc/apache/cmc-dev-mac.conf for details
+# on running HTML::Mason-based sites under the apache2 port for Macs.
+
+PerlSwitches -I/usr/local/src/git/irspy/lib
+
+# Empirally, it seems that including this next line prevents the bug
+# in which some but not all requests result in the error:
+# Undefined subroutine &ZOOM::IRSpy::connect_to_registry
+# (This ought not to make any difference, as the Apache2::Request
+# module should of course get loaded from within IRSpy anyway, but you
+# never know with Apache.)
+PerlModule Apache2::Request
+
+<VirtualHost *:80>
+ ServerName x.irspy.indexdata.com
+ <Directory />
+ Allow from all
+ </Directory>
+
+ ErrorLog /opt/local/apache2/logs/irspy-error.log
+ CustomLog /opt/local/apache2/logs/irspy-access.log combined
+ DocumentRoot /usr/local/src/git/irspy/web/htdocs
+ <FilesMatch "\.(html|css)$">
+ SetHandler perl-script
+ PerlHandler HTML::Mason::ApacheHandler
+ </FilesMatch>
+
+ PerlSetVar MasonArgsMethod mod_perl
+
+ PerlAddVar MasonCompRoot "private => /usr/local/src/git/irspy/web/htdocs"
+ PerlSetVar MasonDataDir /tmp/irspy-mason
+ # IRSpyLibDir is used only to find source for online documentation
+ PerlSetVar IRSpyLibDir /usr/local/src/git/irspy/lib
+ PerlSetEnv PERL5LIB /usr/local/src/git/irspy/lib
+
+ <Location /admin>
+ AuthType Basic
+ AuthName "IRSpy Administration"
+ AuthUserFile /usr/local/src/git/irspy/web/conf/htpasswd
+ Require user admin
+ </Location>
+</VirtualHost>
+
PerlAddVar MasonCompRoot "private => /usr/local/src/git/irspy-test/web/htdocs"
PerlSetVar MasonDataDir /usr/local/src/git/irspy-test/web/data
PerlSetVar IRSpyLibDir /usr/local/src/git/irspy-test/lib
- PerlSetEnv IRSpyDbName localhost:8019/IR-Explain---2
+ PerlSetEnv IRSpyDbName localhost:8019/IR-Explain---1
PerlSetEnv PERL5LIB /usr/local/src/git/irspy/lib
-# This is the configuration that I use on the development machine xeno
+# This is the configuration that I (Mike) use on the development
+# machine xeno, which is a Ubuntu 9.10 box.
<VirtualHost *:80>
ServerName x.irspy.indexdata.com
${ZEBRAIDX_TEST} update ${IRSPY_ARCHIVE}
${ZEBRAIDX_TEST} commit
-# note: the test database use localhost:8019/IR-Explain---2
+# note: the test database use localhost:8019/IR-Explain---1
dump:
rm -rf records-${DATE}.old
-test -e records-${DATE} && mv records-${DATE} records-${DATE}.old
tar xzf records-2007-04-18.tar.gz
zebraidx-2.0 init
zebraidx-2.0 update zeerex.xml
-zebraidx-2.0 update record-2010-04-06
+zebraidx-2.0 update records-2010-04-06
zebraidx-2.0 commit
zebrasrv-2.0 -f yazserver.xml
--- /dev/null
+admin:fruitbat
pidfile=/var/run/irspy-test-zebra.pid
case "`hostname`" in
- nigiri | xeno | rafa | test) IRSPYDIR=/usr/local/src/git/irspy-test/;;
+ nigiri | donut | xeno | rafa | test) IRSPYDIR=/usr/local/src/git/irspy-test/;;
shawarma|kafta) IRSPYDIR=/home/mike/cvs/irspy/;;
your-development-machine )
IRSPYDIR=/home/foobar/indexdata/irspy/
<serverInfo>
<host>localhost</host>
<port>8019</port>
- <database>IR-Explain---2</database>
+ <database>IR-Explain---1</database>
</serverInfo>
</explain>
</xi:fallback>
# Use the "alvis" filter with config file "filterconf.xml"
recordtype: alvis.filterconf.xml
-database: IR-Explain---2
+database: IR-Explain---1
#database: Default
# where to put registers, and other var content, and how large they may be
# Where to look for config files
#profilePath: .:/usr/local/share/idzebra-2.0/tab:/usr/share/idzebra-2.0/tab
-profilePath: .:/usr/share/idzebra-2.0/tab
+profilePath: .:/usr/share/idzebra-2.0/tab:/opt/local/share/idzebra-2.0/tab
# Where to look for loadable zebra modules. Both these path components
-# are necessary, since the former is used when installing from a Debian
-# package and the latter when installing from a CVS build.
-modulePath: /usr/lib/idzebra-2.0/modules
+# are necessary, since the former is used when installed from a Debian
+# package and the latter when installed from a Mac port.
+modulePath: /usr/lib/idzebra-2.0/modules:/opt/local/lib/idzebra-2.0/modules
#modulePath: /usr/local/lib/idzebra-2.0/modules
# store records and record keys internally
# Permissions for update
perm.anonymous: ra
perm.admin: rw
-passwd.c: htpasswd
+#passwd.c: htpasswd
+passwd: htpasswd.unencrypted
<serverInfo protocol="SRW/SRU/Z39.50" version="1.1" method="GET/POST">
<host>localhost</host>
<port>8019</port>
- <database>IR-Explain---2</database>
+ <database>IR-Explain---1</database>
</serverInfo>
<databaseInfo>