SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE




YUM REPOSITORY

 
 

MAN page from Mandriva 2010 perl-RefDB-SRU-0.7-2mdv2010.0.noarch.rpm

SRUserver

Section: User Contributed Perl Documentation (3)
Updated: 2007-08-11
Index 

NAME

RefDB::SRUserver - Lightweight SRU server for RefDB 

SYNOPSIS

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(); 

DESCRIPTION

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. 

FEEDBACK

Send bug reports, questions, and comments to the refdb-users mailing list at:

refdb-usersAATTlists.sourceforge.net

For list information and archives, please visit:

http://lists.sourceforge.net/lists/listinfo/refdb-users 

AUTHOR

Markus Hoenicka, markusAATTmhoenicka.de 

SEE ALSO

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. 

print_banner

This routine prints a banner before the server request-handling loopstarts. 

handle_request CGI

This routine is called whenever your server gets a request it canhandle.

It's called with a CGI object that's been pre-initialized.


 

Index

NAME
SYNOPSIS
DESCRIPTION
FEEDBACK
AUTHOR
SEE ALSO
print_banner
handle_request CGI

This document was created byman2html,using the manual pages.