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)