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>
- Iomar
http://www.commoca.com Making Communications Personal
Iomar Vargas
Software Engineer
Commoca, Inc.
<Yahoo Search - Web Search
0680&country=us> Calle Méndez Vigo #68 Este
Suite 3
Mayagüez, PR 00680
mailto:ivargas@commoca.com ivargas@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…