RE: Quiet Internal Server Errors

Josh Narins <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <F61EA32D7A6A79478142BA12E77AEE83266EE7257E@MS3.nyc.seniorbridgeinternal.com>
>

Josh Narins
Director of Application Development
SeniorBridge

845 Third Ave
7th Floor
New York, NY 10022
Tel: (212) 994-6194
Mobile: (917) 488-6248
Fax: (212) 994-4260
[email protected]

SeniorBridge
Managing Complex Chronic Care
http://www.seniorbridge.com


SeniorBridge Statement of Confidentiality: The contents of this email message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. Any dissemination, distribution or copying of this email by an unintended or mistaken recipient is strictly prohibited. In said event, kindly reply to the sender and destroy all entries of this message and any attachments from your system. Thank you.-----Original Message-----
> From: Torsten Förtsch [mailto:[email protected]]
> Sent: Wednesday, April 04, 2012 11:35 AM
> To: [email protected]
> Cc: Josh Narins
> Subject: Re: Quiet Internal Server Errors
>
> On Wednesday, 04 April 2012 10:42:47 Josh Narins wrote:
> > PerlModule Phase::PostConfig
> > PerlPostConfigHandler Phase::PostConfig::handler
> >
> > and putting in the very simple:
> >
> > use Apache2::Const -compile => 'OK';
> >
> > sub post_config {
> >     print STDERR "configuration is complete\n";
> >     return Apache2::Const::OK;
> > }
> > 1;
>
> And you expect &post_config to act as PerlPostConfigHandler?
>
> I think it should read either
>
> package Phase::PostConfig;
> ...
> sub handler {...}
>
> or
>
> sub Phase::PostConfig::handler {...}
>
>
> Also, if the handler is named "handler" you may omit "::handler" in the
> PerlPostConfigHandler argument:
>
> PerlPostConfigHandler Phase::PostConfig
>
> If your handler has any other name you must specify it:
>
> PerlPostConfigHandler Phase::PostConfig::post_config
>
>
> The combination you have chosen, naming the handler
> Phase::PostConfig::post_config and configuring it as
> Phase::PostConfig::handler won't work.
>
> Torsten Förtsch

Sorry, that was just a typo in the message I sent. I have the subroutine named correctly on disk.
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.