Re: apache2 or mod_perl2 oddball error

William Bulley <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
According to Perrin Harkins <[email protected]> on Fri, 06/17/11 at 13:44:
>
> On Fri, Jun 17, 2011 at 12:34 PM, William Bulley <[email protected]> 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: [email protected]

72 characters width template ----------------------------------------->|
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.