You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Judd Bourgeois <sh...@alter.org> on 2000/02/18 05:06:08 UTC

mod_status/5776: ExtendedStatus on breaks in certain cases

>Number:         5776
>Category:       mod_status
>Synopsis:       ExtendedStatus on breaks in certain cases
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Feb 17 20:10:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     shag@alter.org
>Release:        1.3.11
>Organization:
apache
>Environment:
FreeBSD athena.dynamix.net 4.0-20000214-CURRENT FreeBSD 4.0-20000214-CURRENT #1: Wed Feb 16 20:27:24 PST 2000    shag@athena.dynamix.net:/usr/src/sys/compile/ATHENA  i386
compiled with gcc
>Description:
"ExtendedStatus on" returns a syntax error in the config file if mod_status is compiled shared and the ExtendedStatus keyword comes before the LoadModule directive.

There is already a bug report on this (3936) but it appears as if the problem wasn't fixed, or maybe it's just in this case (shared module).
>How-To-Repeat:
Compile with status as shared module.
Put "ExtendedStatus on" before the "LoadModule" directive.
Attempt to start Apache and see error message.
>Fix:
Fairly simple to fix this one bug.  Other ideas include:

* Create a full list of all reserved keywords for Apache config and allow all keywords to at least exist in the config file regardless of whether they are "allowed" (ie, don't barf with "syntax error")

* Do 2 passes on the config file, one to check basic syntax and appropriate modules and the second to check usage and such
>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!     ]