RefDB::SRUserver3pm
Lightweight sru server for refdb
Usage
use warnings; use strict;
use RefDB::SRUserver;
# change into the directory that contains the sru stylesheets
chdir '<refdblib>/sru' or die "Can't cd to stylesheet directory: $!\n";
# create and start the web server
my $server = RefDB::SRUserver->new();
$server->run();
Overview
This is a simple standalone SRU server for RefDB. By default, it doesn't thread, fork, scale well, run fast, or do anything else you'd need to serve out datasets to the world. It is intended to set up a no-frills SRU server without having to configure a web server like Apache. If you need performance, or want to allow remote access to your RefDB data, by all means use the RefDB SRU CGI module with a decent web server instead. The CGI module is available in the same package as this standalone server.
To add some level of security, an application using this module must run from or change to the subdirectory which contains the stylesheets. All path info is stripped, and the stylesheets are then served from the current working directory. This should keep most users from sharing their /etc/passwd with everyone else.
Feedback
Send bug reports, questions, and comments to the refdb-users mailing list at:
For list information and archives, please visit:
http://lists.sourceforge.net/lists/listinfo/refdb-users