in reply to Overloading functions

I know nothing about Apache::AuthenNTLM, but I assume you did the obvious things, like restarting Apache etc?

One reason might be that you have written your handler as a method handler (sub handler ($$)), but are calling it like a normal handler.

Try this in your httpd.conf

PerlAuthenHandler MyOverride->handler

Or change your handler to a "normal" handler, like so:

sub handler { my $r = shift; ...

What about not printing to STDERR, but to use $r->log->error('bla')

You could post you message to the mod_perl mailing list, but please read this before you do. There are a lot of very clever minds there...

-- #!/usr/bin/perl for(ref bless[],just'another'perl'hacker){s-:+-$"-g&&print$_.$/}

Replies are listed 'Best First'.
Re: Re: Overloading functions
by BigJoe (Curate) on Jun 19, 2002 at 13:20 UTC
    I gave your two suggestions a try. The first one gives me an error that possibly MyOverride has not been loaded. The second runs but nothing is populated in the error log. I will change my print STDERR to $r->log->error but I don't think that will fix it because when I wrote some mod_perl that wasn't doing this but still generating errors I used STDERR.

    Thanks for your suggestions. I will send out an email to the mod_perl mailing list too.

    --BigJoe

    Learn patience, you must.
    Young PerlMonk, craves Not these things.
    Use the source Luke.