[rt-users] " Global $r object is not available"
Mixo Shiburi
mixo at mixo.co.za
Tue Jan 13 09:03:54 EST 2004
Somewhere along the line I managed mess up my test rt installation and
apache
wont start as a result. Instead I get the following :
Starting httpd: [Tue Jan 13 15:14:23 2004] [error] Global $r object is
not available. Set:!!PerlOptions +GlobalRequest!in httpd.conf at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line
579.!Compilation failed in require at (eval 4) line 1.!
[Tue Jan 13 15:14:23 2004] [error] Can't load Perl file:
/opt/rt3/bin/webmux.pl for server mixo.coza.net.za:0, exiting...!
My httpd.conf
<VirtualHost *:8585>
ServerName name
DocumentRoot /opt/rt3/share/html
AddDefaultCharset UTF-8
# these four lines apply to Apache2+mod_perl2 only: {{{
PerlSetVar MasonArgsMethod CGI
PerlModule Apache2 Apache::compat
RewriteEngine On
RewriteRule ^(.*)/$ $1/index.html
# }}}
PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl
<Location />
SetHandler perl-script
PerlHandler RT::Mason
</Location>
</VirtualHost>
System:
redhat 9
apache 2
modperl2 (custom)
More information about the rt-users
mailing list