User Tools

Site Tools


startup.pl

This is an old revision of the document!


The Apache config should contain a line similar to the following:

PerlRequire /opt/conf/startup.pl

The startup.pl file allows Apache to do some up front work. Our startup.pl file:

#!/usr/bin/perl
use strict; use warnings;

# Supercat handler
use OpenILS::WWW::SuperCat qw( /openils/conf/opensrf_core.xml );

# Added content handler
use OpenILS::WWW::AddedContent qw( /openils/conf/opensrf_core.xml );

# Reports viewer 
use OpenILS::Reporter::Proxy ('/openils/conf/opensrf_core.xml');

# Script must return true
1;
startup.pl.1183431055.txt.gz · Last modified: 2022/02/10 13:33 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.