You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by George Sanderson <ge...@xorgate.com> on 2000/08/08 01:13:18 UTC
mod_perl/6389: httpd.conf directive PerlHandler Apache::Hello->handler errors
>Number: 6389
>Category: mod_perl
>Synopsis: httpd.conf directive PerlHandler Apache::Hello->handler errors
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: apache
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Mon Aug 07 16:20:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: george@xorgate.com
>Release:
>Organization:
apache
>Environment:
Linux 2.2.14 Apache 1.3.12 mod_perl 1.24 perl 5.6.0
>Description:
When the following is presented in the httpd.conf file:
#
PerlModule Apache::Hello
<Location /hello/world>
SetHandler perl-script
PerlHandler Apache::Hello->handler
</Location>
#
Results in the following error_log output:
[Sun Aug 6 21:48:02 2000] [error]
Undefined subroutine &Apache::Hello->handler::handler
called at PerlHandler subroutine `Apache::Hello->handler' line 1.
(Opps. . . sorry about testing on Sunday :-)
The following works fine:
<Location /hello/world>
SetHandler perl-script
PerlHandler Apache::Hello
</Location>
>How-To-Repeat:
>Fix:
Do not automagicly append ::handler to all directive values.
The proper interpretation is presented in the Eagle book
(Apache Modules - Lincoln Stein:)on page 191.
>Release-Note:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]
Re: mod_perl/6389: httpd.conf directive PerlHandler
Apache::Hello->handler errors
Posted by George Sanderson <ge...@xorgate.com>.
Can you please help me by explaining how your process works?
I have submitted two reports 6352, and 6389.
What should I expect? What should I do?
What can I do?
For example I have more infomation about the first report (6352)
but I accidently erased your e-mail reply and I am not sure how
to provide the new information.
At 11:20 PM 8/7/00 +0000, you wrote:
>Thank you very much for your problem report.
>It has the internal identification `mod_perl/6389'.
>The individual assigned to look at your
>report is: apache.
>
>>Category: mod_perl
>>Responsible: apache
>>Synopsis: httpd.conf directive PerlHandler Apache::Hello->handler
errors
>>Arrival-Date: Mon Aug 07 16:20:00 PDT 2000
>