[rt-users] error in running RT 3-0-2 with apache2

rt rt at etilizepak.com
Tue Aug 19 03:09:55 EDT 2003


Hi All,

I am running httpd-2.0.47 and mod_perl1.99, I have this in my httpd.conf:

PerlOptions +GlobalRequest

<VirtualHost 192.168.x.x>
    ServerName your.rt.server.hostname
    DocumentRoot /opt/rt3/share/html
    AddDefaultCharset UTF-8
                                                                               
    # 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$">
        SetHandler perl-script
        PerlHandler RT::Mason
    </FilesMatch>
<LocationMatch "/Attachment/">
        SetHandler perl-script
        PerlHandler RT::Mason
    </LocationMatch>
    <LocationMatch "/REST/">
        SetHandler perl-script
        PerlHandler RT::Mason
    </LocationMatch>
</VirtualHost>

However when i start the apache i got the following errors:

[Tue Aug 19 11:28:00 2003] [error] Global $r object is not available. Set:
PerlOptions +GlobalRequest in httpd.conf at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 579.
Compilation failed in require at (eval 4) line 1.
                                                                                
[Tue Aug 19 11:28:00 2003] [error] Can't load Perl file:
/opt/rt3/bin/webmux.pl for server rt.xyz.com:0, exiting...

Has anybody got any ideas of what's wrong with the configuration.

Sohail




More information about the rt-users mailing list