OpenInteract::ApacheStartup - Central module to call for initializing an OpenInteract website


OpenInteract documentation  | view source Contained in the OpenInteract distribution.

Index


NAME

Top

OpenInteract::ApacheStartup - Central module to call for initializing an OpenInteract website

SYNOPSIS

Top

 # In an website's startup.pl file:

 #!/usr/bin/perl
 use strict;
 use OpenInteract::ApacheStartup;
 my $BASE_CONFIG = '/home/httpd/demo.openinteract.org/conf/base.conf';
 OpenInteract::ApacheStartup->initialize( $BASE_CONFIG );

 1;

DESCRIPTION

Top

OpenInteract::ApacheStartup should be run from the startup.pl file of your website. (You can probably also load it directly from your apache config as well, but we will stick with simple things for now :)

Its purpose is to load as many modules as possible into the parent mod_perl process so we can share lots of memory. Sharing is good!

Most of the actual work is done in the OpenInteract::Startup module, so you might want to check the documentation for that if you are curious how this works.

METHODS

Top

initialize( $config_file )

Your startup.pl file should have a definition for a configuration file and pass it to this method, which is the only one the module contains.

TO DO

Top

None.

BUGS

Top

None known.

SEE ALSO

Top

Configuration Guide to OpenInteract, mod_perl

COPYRIGHT

Top

AUTHORS

Top

Chris Winters <chris@cwinters.com>


OpenInteract documentation  | view source Contained in the OpenInteract distribution.