Received: (qmail 54635 invoked by uid 501); 13 Sep 2001 21:42:45 -0000 Message-Id: <20010913214245.54633.qmail@apache.org> Date: 13 Sep 2001 21:42:45 -0000 From: Shrinivas Reply-To: ssamant@lucent.com To: submit@bugz.apache.org Subject: The module handler gets invoked even when the module Directive flag is not set to On or Off X-Send-Pr-Version: 3.110 >Number: 8333 >Category: config >Synopsis: The module handler gets invoked even when the module Directive flag is not set to On or Off >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Thu Sep 13 14:50:00 PDT 2001 >Closed-Date: Thu Sep 13 14:58:34 PDT 2001 >Last-Modified: Thu Sep 13 14:58:34 PDT 2001 >Originator: ssamant@lucent.com >Release: 2.0.23 >Organization: >Environment: Linux >Description: Hi I am using apache 2.0.23. I used the ./apxs tool to build and load mod_vs.c I have a directive flag in the module called "VS" that needs to be set to On/Off in the config file. Even without me setting this directive VS in the config file the module-handler is being invoked. This way I am not able to enable/disable the module from the httpd config file. -Shrini >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: rbb State-Changed-When: Thu Sep 13 14:58:34 PDT 2001 State-Changed-Why: This is a logic problem. Your module needs to set a field in it's config structure that determines if it is on or off. Then, in the handler, you should check that field. Thank you for using Apache >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! ]