Markus Wichitill wrote:

Carl Brewer wrote:

Before I take the plunge and write my own, has anyone
here written, or know of, any web forum s/w that runs
under mp2 without using compat?


http://www.mwforum.org/

I've played with installing this today, I'm seeing the following in my error logs :

[Thu Sep 02 13:52:41 2004] [error] Can't locate object method "cleanup_register" via package "APR::Pool" at /data/www/aboc/perl/mwf/MwfMain.pm line 250.\n


I've the following in my apache2 config :

<VirtualHost 203.6.241.141:80 [3ffe:8001:5:2::5]:80>
  ServerName www.aboc.com.au
  ServerAdmin [EMAIL PROTECTED]
  ServerAlias coach.bl.echidna.id.au aboc.com.au
  DocumentRoot /data/www/aboc/htdocs
  CustomLog /data/www/aboc/logs/access-log combined
  ErrorLog /data/www/aboc/logs/error-log
  # CustomLog /data/www/aboc/logs/mod_deflate deflate

  Alias /perl/ "/data/www/aboc/perl/"
  Alias /images/ "/data/www/aboc/htdocs/images/"
  Alias /admin/ "/data/www/aboc/admin/"
  Alias /mwf/ "/data/www/aboc/perl/mwf/"

  PerlModule Apache2
  PerlSwitches -T
  #PerlOptions +Parent
  PerlRequire "/data/www/aboc/etc/startup.pl"

  # CB.pm needs to be monitored!
  PerlModule Apache::Reload
  PerlInitHandler Apache::Reload
  PerlSetVar ReloadAll Off

  DeflateFilterNote Input instream
  DeflateFilterNote Output outstream
  DeflateFilterNote Ratio ratio
  <Location />
    SetOutputFilter DEFLATE
  </Location>
  <Location /perl/>
    SetOutputFilter DEFLATE
    SetHandler perl-script
    PerlResponseHandler ModPerl::Registry
    PerlOptions +ParseHeaders
    Options +ExecCGI
  </Location>

  <Location /mwf/>
    SetOutputFilter DEFLATE
    Options +ExecCGI
    SetHandler modperl
    PerlResponseHandler ModPerl::RegistryBB
    PerlOptions -GlobalRequest -SetupEnv -ParseHeaders
  </Location>
</VirtualHost>


and my startup.pl is : # http://perl.apache.org/docs/2.0/user/config/config.html

use Apache2 ();

  use lib qw(/data/www/aboc/lib /data/www/aboc/perl/mwf);

  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;



Any suggestions?  apache says :
Server: Apache/2.0.50 (Unix) mod_perl/1.99_16 Perl/v5.8.5
which should satisfy all mwf's requirements?

Carl





--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to