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

Robin Lee Powell rlpowell at digitalkingdom.org
Wed Mar 5 12:50:00 EST 2003


On Wed, Mar 05, 2003 at 02:12:05PM +0100, alex at porous.de wrote:
> 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_

Output from:

ls -l /opt/rt-2.1.79/bin/webmux.pl

please.

And then ls -ld for all the directories above it.  And what user does
your web server run as?

-Robin

-- 
http://www.digitalkingdom.org/~rlpowell/    ***    I'm a *male* Robin.
.i le pamoi velru'e zo'u crepu le plibu taxfu
.i le remoi velru'e zo'u mo .i le cimoi velru'e zo'u ba'e prali .uisai
http://www.lojban.org/   ***   to sa'a cu'u lei pibyta'u cridrnoma toi



More information about the rt-users mailing list