MAN page from Mandriva 2010 perl-RefDB-SRU-0.7-2mdv2010.0.noarch.rpm
Section: User Contributed Perl Documentation (3)
RefDB::SRUserver - Lightweight SRU server for RefDB
use warnings;use strict;
# 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();
This is a simple standalone SRU
server for RefDB. By default, itdoesn't thread, fork, scale well, run fast, or do anything else you'd needto serve out datasets to the world. It is intended to set up a no-frillsSRU
server without having to configure a web server like Apache. If you needperformance, or want to allow remote access to your RefDB data, by all meansuse the RefDB SRU CGI
module with a decent web server instead. The CGI
moduleis available in the same package as this standalone server.
To add some level of security, an application using this module must run fromor change to the subdirectory which contains the stylesheets. All path infois stripped, and the stylesheets are then served from the current workingdirectory. This should keep most users from sharing their /etc/passwd witheveryone else.
Send bug reports, questions, and comments to the refdb-users mailing list at:
For list information and archives, please visit:
Markus Hoenicka, markusAATTmhoenicka.de
This module is part of the RefDB package, a reference manager and bibliography tool for markup languages. Please visit http://refdb.sourceforge.net
for further information.
This routine prints a banner before the server request-handling loopstarts.
This routine is called whenever your server gets a request it canhandle.
It's called with a CGI object that's been pre-initialized.
- SEE ALSO
- handle_request CGI
This document was created byman2html,using the manual pages.