From: Andreas N. <an...@kl...> - 2005-03-20 19:31:07
|
> but well it starts through startup_mp2.pl and I tried to add that one in there, > just reports that an undefined subroutine has been called. > > I've included httpd_mp2_solo.conf in apache2. > > - Teemu > > hm - maybe I do not remember right. Here is my startup_mp2.pl -------------- #!/usr/bin/perl use strict; use Apache2 (); # 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'; use Apache2::OpenInteract2; use CGI; use Log::Log4perl; use OpenInteract2::Config::Base; use OpenInteract2::Constants qw( :log ); use OpenInteract2::Context; CGI->compile( ':all' ); my $BASE_CONFIG_FILE = '/web/kloeterbregen/conf/base.conf'; { Log::Log4perl::init( '/web/kloeterbregen/conf/log4perl.conf' ); my $base_config = OpenInteract2::Config::Base->new( { filename => $BASE_CONFIG_FILE } ); my $ctx = OpenInteract2::Context->create( $base_config, { temp_lib_create => 'create' } ); $ctx->assign_request_type( 'apache2' ); $ctx->assign_response_type( 'apache2' ); } 1; -------------- I did not add anything intersting to the httpd.conf - I think... hope this helps Andreas > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > openinteract-dev mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/openinteract-dev -- Andreas Nolte <an...@kl...> |