When I follow the example, using Apache2::Status instead of
Apache::Status I get the following at the prompt:


root# httpd -X -D PERLDB
Processing config directory: /private/etc/httpd/users/*.conf
 Processing config file: /private/etc/httpd/users/boysie.conf

Instead of the expected:
[notice] Apache::DB initialized in child 950

When I do apachectl start I get the following:

root# apachectl start
[notice] Apache::DB initialized in child 1441
Syntax error on line 74 of /Users/boysie/habitat/apache/conf/perl.conf:
mod_perl is already running, too late for PerlSwitches

I must be doing something wrong.  I'm using the following:

Apache/2.0.55
perl5 (revision 5.0 version 8 subversion 1 RC3)
OS X 10.3.9
MP2.02

Here is my config:

<Perl>
        use Apache::DB ();
        Apache::DB->init;
</Perl>
<Location />
        PerlFixupHandler Apache::DB
</Location>

PerlModule Apache2::Status
<Location /perl-status>
    PerlResponseHandler Apache2::Status
    SetHandler perl-script
</Location>

I am using mod-rewrite too, would that effect the outcome?


Thanks,
Boysenberry

boysenberrys.com | habitatlife.com | selfgnosis.com

On Jun 30, 2006, at 1:07 PM, Perrin Harkins wrote:

On Fri, 2006-06-30 at 12:57 -0500, Boysenberry Payne wrote:
Are the instructions as:
Home / Documentation / 1.0 / mod_perl 1.0 User Guide /
Still valid for MP2?  I can't find anything in the MP2 docs...

The Apache::DB docs say it supports mod_perl 2.

- Perrin




Reply via email to