[rt-users] Problem: RT3/Apache2/Mod_Perl2 (Global $r object is not available.)

alex at porous.de alex at porous.de
Wed Mar 5 08:12:05 EST 2003


Hi,

I'm having trouble running rt-2.1.29 with Apache-2.0.44 and mod_perl-1.99_09-dev.
However when i start the Apache I get the following error...
Can anybody help me?

_BEGIN_
[Wed Mar 05 13:40:16 2003] [error] Global $r object is not available. Set:
        PerlOptions +GlobalRequest
	in httpd.conf at
	/usr/local/perl-5.8.0/lib/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm
	line 567.
	Compilation failed in require at (eval 10) line 1.

	[Wed Mar 05 13:40:16 2003] [error] Can't load Perl file:
	/opt/rt-2.1.79/bin/webmux.pl for server rt.test.com:0,
	exiting...
_END_

My Config Apache looks like this:

_BEGIN_
    ServerAdmin httpd at rt.test.com
    ServerName rt.test.com

    DocumentRoot /opt/rt-2.1.79/share/html
    AddDefaultCharset UTF-8

    PerlModule Apache2
    PerlModule Apache::compat
    PerlModule Apache::DBI
    PerlOptions +GlobalRequest
    PerlRequire /opt/rt-2.1.79/bin/webmux.pl

    Alias /rt /opt/rt-2.1.79/share/html
    <Location /rt>
        SetHandler perl-script
        PerlHandler RT::Mason
    </Location>
_END_



I'm using an Apache/2.0.44 mod_perl/1.99_09-dev Perl/v5.8.0 DAV/2.

APACHE-MPM: tested with worker and prefork MPM
MOD_PERL: build as DSO
OS: Solaris 8 02/02
RT Version: 2.1.79
Mysql 4.0.10


All Perlmodules are installed, RT_Siteconfig.pom changed, mod_perl with Mason works.
I did everything written in the README file. 
Could somebody help me with this problem?

thanks a lot
alex




More information about the rt-users mailing list