[rt-users] Global $r object is not available

Iomar Vargas ivargas at commoca.com
Fri Apr 30 10:49:18 EDT 2004


I try to start the server and it fails with the error:

 

[error] Global $r object is not available. Set:

      PerlOptions +GlobalRequest

in httpd.conf at /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/ApacheHandler.pm

line 579.

 

I try setting "PerlOptions +GlobalRequest" in httpd.conf, but still with the
same error.

 

I have Apache version 2.0.48, perl 5.8.3, mod_perl.i386 0:1.99_12-2

Here is the Virtual Server part of httpd.conf

 

<VirtualHost 172.16.0.2:80>

            ServerName rt.polaris

            DocumentRoot /opt/rt3/share/html

        #RedirectMatch permanent(.*)/$ http://polaris$1/index.html

            AddDefaultCharset UTF-8

        Alias /NoAuth/images/ /opt/rt3/share/html/NoAuth/images/

        PerlOptions +GlobalRequest

        # this line applies to Apache2+mod_perl2 only

            PerlModule Apache2 Apache::compat

            PerlModule Apache::DBI

            PerlRequire /opt/rt3/bin/webmux.pl

   # this section applies to Apache2+mod_perl2 only

    <FilesMatch "\.html$">

PerlOptions +GlobalRequest

        SetHandler perl-script

        PerlHandler RT::Mason

    </FilesMatch>

    <LocationMatch "/Attachment/">

PerlOptions +GlobalRequest

        SetHandler perl-script

        PerlHandler RT::Mason

    </LocationMatch>

    <LocationMatch "/REST/">

PerlOptions +GlobalRequest

        SetHandler perl-script

        PerlHandler RT::Mason

    </LocationMatch>

</VirtualHost>

 

- Iomar

 







 <http://www.commoca.com> Making Communications Personal ™

 



Iomar Vargas
Software Engineer 

Commoca, Inc.
 
<http://maps.yahoo.com/py/maps.py?Pyt=Tmap&addr=Suite+3&csz=Mayagüez%2C+PR+0
0680&country=us> Calle Méndez Vigo #68 Este
Suite 3
Mayagüez, PR 00680 


 <mailto:ivargas at commoca.com> ivargas at commoca.com 


tel: 
fax: 
mobile: 

787-834-0011
787-834-0020
787-379-0968 

 



 <http://www.plaxo.com/signature> Signature powered by Plaxo

 <http://www.plaxo.com/signature> Want a signature like this?


 <https://www.plaxo.com/add_me?u=21475188463&v0=682693&k0=661345780> Add me
to your address book...

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20040430/0a4ca485/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 2148 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20040430/0a4ca485/attachment.gif>


More information about the rt-users mailing list