You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Kent, Mr. John (Contractor)" <ke...@nrlmry.navy.mil> on 2005/05/31 21:10:14 UTC
Problem with CGI.pm 3.10 & modperl 2.0.0
Greetings,
Trying to run the CGI.pm 3.10 with the latest Apache and mod-perl
[Tue May 31 11:57:54 2005] [notice] SIGHUP received. Attempting to restart
[Tue May 31 11:57:55 2005] [notice] Apache/2.0.54 (Unix) mod_perl/2.0.0 Perl/v5.8.6 configured -- resuming normal operations
Get the following error:
[Tue May 31 12:06:54 2005] [error] Global $r object is not available. Set:\n\tPerlOptions +GlobalRequest\nin httpd.conf at /users/webuser/perl/lib/5.8.6/CGI.pm line 348.\n
Thank you,
John Kent
Webmaster
NRL Monterey, CA
Re: Problem with CGI.pm 3.10 & modperl 2.0.0
Posted by Perrin Harkins <pe...@elem.com>.
On Tue, 2005-05-31 at 12:10 -0700, Kent, Mr. John (Contractor) wrote:
> [Tue May 31 12:06:54 2005] [error] Global $r object is not available.
> Set:\n\tPerlOptions +GlobalRequest\nin httpd.conf
> at /users/webuser/perl/lib/5.8.6/CGI.pm line 348.\n
What happens when you follow those instructions and set PerlOptions
+GlobalRequest in your httpd.conf?
- Perrin