aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/share/perl/conf/mod_perl-startup.pl
diff options
context:
space:
mode:
Diffstat (limited to 'share/perl/conf/mod_perl-startup.pl')
-rw-r--r--share/perl/conf/mod_perl-startup.pl34
1 files changed, 34 insertions, 0 deletions
diff --git a/share/perl/conf/mod_perl-startup.pl b/share/perl/conf/mod_perl-startup.pl
new file mode 100644
index 0000000..e8bdb2c
--- /dev/null
+++ b/share/perl/conf/mod_perl-startup.pl
@@ -0,0 +1,34 @@
1# Taken from http://perl.apache.org/docs/2.0/user/handlers/server.html#Startup_File
2
3if ( ! $ENV{MOD_PERL}) { die "GATEWAY_INTERFACE not Perl!"; }
4
5# !!! set this to your opensim's lib
6use lib qw(/home/lulu/temp/opensim/lib);
7
8# enable if the mod_perl 1.0 compatibility is needed
9# use Apache2::compat ();
10
11# preload all mp2 modules
12# use ModPerl::MethodLookup;
13# ModPerl::MethodLookup::preload_all_modules();
14
15use ModPerl::Util (); #for CORE::GLOBAL::exit
16
17use Apache2::RequestRec ();
18use Apache2::RequestIO ();
19use Apache2::RequestUtil ();
20
21use Apache2::ServerRec ();
22use Apache2::ServerUtil ();
23use Apache2::Connection ();
24use Apache2::Log ();
25
26use APR::Table ();
27
28use ModPerl::Registry ();
29
30use Apache2::Const -compile => ':common';
31use APR::Const -compile => ':common';
32
33
341;