if ( ! {MOD_PERL}) { die "GATEWAY_INTERFACE not Perl!"; } # see also: http://perl.apache.org/docs/2.0/user/porting/compat.html use Apache2 (); use lib qw(/srv/www/perl-lib); # enable if the mod_perl 1.0 compatibility is needed use Apache::compat (); use ModPerl::Util (); #for CORE::GLOBAL::exit use Apache::RequestRec (); use Apache::RequestIO (); use Apache::RequestUtil (); use Apache::ServerRec (); use Apache::ServerUtil (); use Apache::Connection (); use Apache::Log (); use APR::Table (); use ModPerl::Registry (); use Apache::Const -compile => ':common'; use APR::Const -compile => ':common'; 1;