[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    Re: installed mod_perl, but no MOD_PERL in ENV
From:       Jayson Hill <jaysonhill03 () sbcglobal ! net>
Date:       2008-08-07 12:37:30
Message-ID: 973625.77992.qm () web83002 ! mail ! mud ! yahoo ! com
[Download RAW message or body]

yep... the ever famous typo in the section for enabling my registry scripts.
You'd think I could find the the different in 

PerlResponseHandler Modperl::Registry

and 

PerlResponseHandler ModPerl::Registry
Thanks for the help!!!





----- Original Message ----
From: "adam.prime@utoronto.ca" <adam.prime@utoronto.ca>
To: modperl@perl.apache.org
Sent: Wednesday, August 6, 2008 8:43:10 AM
Subject: Re: installed mod_perl, but no MOD_PERL in ENV

Quoting Jayson Hill <jaysonhill03@sbcglobal.net>:

> I just compiled and installed mod_perl 2.0.3 for apache Apache/2.2.8
> Did a LoadModule perl_module modules/mod_perl.so in httpd.conf
>
> No errors and get the following in logs when bounce httpd service:
> [Tue Aug 05 22:44:03 2008] [notice] caught SIGTERM, shutting down
> [Tue Aug 05 22:44:04 2008] [notice] suEXEC mechanism enabled  
> (wrapper: /usr/sbin/suexec)
> [Tue Aug 05 22:44:04 2008] [notice] Digest: generating secret for  
> digest authentication ...
> [Tue Aug 05 22:44:04 2008] [notice] Digest: done
> [Tue Aug 05 22:44:04 2008] [notice] Apache/2.2.8 (Unix) DAV/2  
> mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming normal operations
>
> However, I don't see the MOD_PERL entry in ENV, and when I print  
> $CGI::MOD_PERL value to browser, it is 0.
> Not sure why I don't see this as it *seems* that mod_perl is integrated.

I'm assuming that you are trying to run CGI's you were previously  
running under mod_cgi using mod_perl.  Have you added anything to your  
httpd.conf to actually tell your CGI's to run under mod_perl?

see:  
http://perl.apache.org/docs/2.0/user/intro/start_fast.html#Registry_Scripts

Adam
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic