NAME

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

SYNOPSIS

# 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

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

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

None.

BUGS

None known.

SEE ALSO

Configuration Guide to OpenInteract, mod_perl

COPYRIGHT

Copyright (c) 2001-2002 intes.net, inc.. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHORS

Chris Winters <chris@cwinters.com>