Re: ModPerl2, Apache2, FreeBSD, ports and missing ModPerl::Registry

[prev] [thread] [next] [Date index for 2005/04/27]

From: Stas Bekman
Subject: Re: ModPerl2, Apache2, FreeBSD, ports and missing ModPerl::Registry
Date: 16:33 on 27 Apr 2005
angie ahl wrote:
> I found the problem
> 
> It seems that it was not using the Apache2 directory of modules, it
> seems that the missing mp2 modules were in there.
> 
> 1 change to the httpd.conf fixed it.
> 
> at the top of my vhost I put:
> 
> PerlModule Apache2
> 
> Then it found what it needed. This wasn't in the httpd.conf example in
> getting your feet wet for mp2
> 
> http://perl.apache.org/docs/2.0/user/intro/start_fast.html
> 
> Should it be there, is it required or is there something wrong with my setup?
> 
> I also had a page that had the -wT switch on the first line which gave an error:
> can't locate Apache::Warn if I remember correctly. getting rid of the
> switch and putting in use strict; use warnings; fixed that, but
> thought I should mention it for the archive in case anyone finds this
> in the future following the same set up.

The docs are correct for RC5 (they aren't for older unsupported versions). 
Install that and everything will work as documented.

        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Re: ModPerl2, Apache2, FreeBSD, ports and missing ModPerl::Registry
Stas Bekman 16:33 on 27 Apr 2005

Generated at 15:53 on 25 May 2005 by mariachi v0.52