aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/share/perl/conf/mod_perl-startup.pl
blob: e8bdb2c404b6ec378316de7bf6738d86cf41d244 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Taken from http://perl.apache.org/docs/2.0/user/handlers/server.html#Startup_File

if ( ! $ENV{MOD_PERL}) { die "GATEWAY_INTERFACE not Perl!"; }

# !!! set this to your opensim's lib
use lib qw(/home/lulu/temp/opensim/lib);

# enable if the mod_perl 1.0 compatibility is needed
# use Apache2::compat ();

# preload all mp2 modules
# use ModPerl::MethodLookup;
# ModPerl::MethodLookup::preload_all_modules();

use ModPerl::Util (); #for CORE::GLOBAL::exit

use Apache2::RequestRec ();
use Apache2::RequestIO ();
use Apache2::RequestUtil ();

use Apache2::ServerRec ();
use Apache2::ServerUtil ();
use Apache2::Connection ();
use Apache2::Log ();

use APR::Table ();

use ModPerl::Registry ();

use Apache2::Const -compile => ':common';
use APR::Const -compile => ':common';


1;