perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Randall" <>
Subject Re: Unable to get PerlAuthenHandler to work in mp2
Date Wed, 20 Aug 2008 22:56:35 GMT
>>>>> "Perrin" == Perrin Harkins <> writes:

> On Wed, Aug 20, 2008 at 5:42 PM, Brett Randall <> wrote:
>> I was wondering about debugging... I'll probably do the good old open
>> a file, write to it after each line, and see where it stops writing

> No need to open a file.  Anything you print to STDERR goes to apache's
> error_log, so just use warn() statements.

Thanks for that. I've figured out the problem now with the help of
warn. It was bombing out at DBI->connect() because I was using "SetEnv"
in Apache's .conf file instead of "PerlSetEnv" to set my DBI
variables. Apparently in a PerlResponseHandler, it has access to these
variables, but a PerlAuthenHandler doesn't, so I've just changed those
three lines and it works a treat now.

Thanks for your help!
Brett Randall
Support & Development Manager
Technology Services
Hillsong Church
02 8846 4800

The material contained in this email may be confidential, and may also
be the subject of copyright and/or privileged information. If you are
not the intended recipient, any use, disclosure or copying of this
document is prohibited. If you have received this document in error,
please advise the sender and delete the document.

This email communication does not create or vary any contractual
relationship between Hillsong and you. Internet communications are not
secure and accordingly Hillsong does not accept any legal liability
for the contents of this message.

Please note that neither Hillsong nor the sender accepts any
responsibility for viruses and it is your responsibility to scan the
email and any attachments.



View raw message