Received: (qmail 90134 invoked by uid 501); 7 Aug 2000 23:13:18 -0000 Message-Id: <20000807231318.90133.qmail@locus.apache.org> Date: 7 Aug 2000 23:13:18 -0000 From: George Sanderson Reply-To: george@xorgate.com To: submit@bugz.apache.org Subject: httpd.conf directive PerlHandler Apache::Hello->handler errors X-Send-Pr-Version: 3.110 >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 SetHandler perl-script PerlHandler Apache::Hello->handler # 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: SetHandler perl-script PerlHandler Apache::Hello >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 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! ]