>Number: 4171 >Category: mod_info >Synopsis: <IfDefine> ignored by mod_info >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Tue Mar 30 11:30:01 PST 1999 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3.6 >Environment: bash$ uname -a; gcc -v SunOS l98upww2 5.6 Generic_105181-11 sun4u sparc SUNW,Ultra-1 Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/specs gcc version 2.8.1 >Description: Parameters that are conditionally met based on <IfDefine> are reported back as being configured by mod_info, regardless of whether <IfDefine> was met. >How-To-Repeat: I put the following in my httpd.conf and restart apache (without -DBOGUS)
<IfDefine BOGUS> LoadModule jserv_module /apps/apache/run/jserv/lib/mo_jserv.so </IfDefine> I then go to /server-info and I read: Module Name: mod_so.c Content handlers: none Configuration Phase Participation: Create Server Config Request Phase Participation: none Module Directives: LoadModule - a module name and the name of a shared object file to load it from LoadFile - shared object file or library to load into the server at runtime Current Configuration: httpd.conf LoadModule jserv_module /apps/apache/run/jserv/lib/mo_jserv.so >Fix: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include <[EMAIL PROTECTED]> in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [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! ]