At 12:14 AM 12/14/99 -0800, Doug MacEachern wrote:
>On Sun, 12 Dec 1999, Bill Moseley wrote:
>
>> I'm wondering why $r->handler returns undef for perl-script handlers.
>I just dropped this into t/conf/httpd.conf:
[...]
>and ran 'make test', I see the expected results:
>handler=text/perl-module, uri=/LoadClass.pm
Oh, sorry. I got caught on the internal redirect of a DirectoryIndex
directive used in a number of different directories.
The original request for / was returning $r->handler = undef and the
subrequest, of course, wasn't hitting the PerlLogHandler.
For example, this is what I was seeing:
[Tue Dec 14 07:42:05 1999] [warn] 6571 'unknown handler' 'PerlLogHandler'
'httpd/unix-directory' GET / HTTP/1.0
Changing to a PerlFixupHandler seems to catch the internal redirect --
although it get two entries in my log on an internal redirect.
Thanks for your time,
Bill Moseley
mailto:[EMAIL PROTECTED]