Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Does the forum support Mod_perl-2 ?

Quote Reply
Does the forum support Mod_perl-2 ?
I try Apache 2 & Mod_perl 2, But when I start Apache, It show this :

[Thu Jun 20 12:16:05 2002] [error] Can't locate object method "boot" via package
"mod_perl" at D:/Perl/site/lib/Apache/Constants.pm line 8.
Compilation failed in require at D:/Perl/site/lib/Apache.pm line 6.
BEGIN failed--compilation aborted at D:/Perl/site/lib/Apache.pm line 6.
Compilation failed in require at D:/Perl/site/lib/Apache/Registry.pm line 2.
BEGIN failed--compilation aborted at D:/Perl/site/lib/Apache/Registry.pm line 2.

Compilation failed in require at /Apache/conf/startup.pl line 9.
BEGIN failed--compilation aborted at /Apache/conf/startup.pl line 9.
Compilation failed in require at (eval 1) line 1.

[Thu Jun 20 12:16:05 2002] [error] Can't load Perl file: /Apache/conf/startup.pl
for server 86.0.191.9:88, exiting...

startup.pl :

use Apache2 ();
use ModPerl::Util ();
use Apache::RequestRec ();
use Apache::RequestIO ();
use Apache::RequestUtil ();
use Apache::Server ();
use Apache::ServerUtil ();
use Apache::Connection ();
use Apache::Log ();
use Apache::Const -compile => ':common';
use APR::Const -compile => ':common';
use APR::Table ();
use Apache::compat ();
use ModPerl::Registry ();
use CGI ();
use lib 'd:/sxforum/admin';
require GForum::mod_perl;

1;


httpd.conf :

# The following are mod_perl related things
#
# Load startup.pl
PerlRequire /Apache/conf/startup.pl
#
# Scripts under http://localhost/mod_perl are to use Apache::Registry
#
Alias /mod_perl/ "/Apache/mod_perl/"
<Location /mod_perl>
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
PerlSendHeader On
</Location>
<Location d:/sxforum>
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
PerlSendHeader On
</Location>
Quote Reply
Re: [backdream] Does the forum support Mod_perl-2 ? In reply to
Apache2 and mod_perl2 are still a bit icky at the moment in terms of compatibility.

GForum works well with Apache 1.3.xx and mod_perl 1.27 (and I think 1.99) but I think I remember Alex saying they would wait for Apache2/mod_perl2 to become more stable before supporting it.

Last edited by:

Paul: Jun 20, 2002, 2:27 AM
Quote Reply
Re: [backdream] Does the forum support Mod_perl-2 ? In reply to
Hi,

We don't yet support modperl2. modperl2 is going to require (or be heavily recommended) perl 5.8 (which isn't yet out yet either), and the recommended download for modperl2 is still from cvs. It's not yet ready for a production environment.

We will support it of course once it becomes a lot more stable.

Cheers,

Alex
--
Gossamer Threads Inc.