perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Bulley <...@umich.edu>
Subject Re: apache2 or mod_perl2 oddball error
Date Fri, 17 Jun 2011 18:18:00 GMT
According to Perrin Harkins <perrin@elem.com> on Fri, 06/17/11 at 13:44:
>
> On Fri, Jun 17, 2011 at 12:34 PM, William Bulley <web@umich.edu> wrote:
> > ? PerlModule "Apache2::Const -compile => ':common'"
> > ? PerlModule "APR::Const -compile => ':common'"
> 
> That syntax used to work?  It seems unlikely.  I've never seen a
> PerlModule call with options like this before.  I'd expect it to work
> without the "-compile => ':common'" stuff.
> 
> This sort of thing usually goes in a startup.pl, not inside
> httpd.conf.  It's easier to manage there and things don't get pulled
> into surprising namespaces.

Yes.  Yes.  Yes!  :-)

This is what is so consternating for me to grok.

Others have suggested that I strip the parameters - I did and no change.

Others suggested I place the module(s) invocation inside (the existing)
<Perl>...</Perl> tags - I did and no change.  Go figure?

Those two "Const -compile" lines were not in the httpd.conf file.

They were in an included *.conf file in the Includes directory
which might be the same thing, but I'm a pedantic sort of guy...  :-)

Regards,

web...

--
William Bulley                     Email: web@umich.edu

72 characters width template ----------------------------------------->|

Mime
View raw message