>Number: 3653
>Category: os-windows
>Synopsis: 'ExtendedStatus on' syntax err, comments not allowed on some
>runtime directives
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Wed Jan 13 03:30:00 PST 1999
>Last-Modified:
>Originator: [EMAIL PROTECTED]
>Organization:
apache
>Release: 1.3.4
>Environment:
Win95a, Apache 1.3.4 binary
>Description:
Many directives do not allow comments after the directive and arguments, eg:
ScriptAlias /*/cgi-bin/ "C:/home/*/public_html/cgi-bin/" # comment here
This applies to at least the following which all gave errors:
listen, bindaddress, loadmodule, serveradmin, servername, options,
allowoverride, loglevel, customlog, scriptalias, </directory>, readmename,
headername, sethandler, order, </location>, namevirtualhost, documentroot,
scriptalias, </virtualhost>, etc., etc.
#-----------------------------------------------------------------------------
'ExtendedStatus on' directive gets:
Syntax error on line 97 of c:/internet/apache/conf/httpd.conf:
Invalid command 'ExtendedStatus', perhaps mis-spelled or defined by a module not
included in the server configuration
#-----------------------------------------------------------------------------
This message always occurs on restarting the server after ^C shutdown in the
console
box (does not occur with apache -k shutdown method).
C:\INTERNET\APACHE\APACHE.EXE: [Wed Jan 13 03:21:58 1999] [warn] pid file c:/int
ernet/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache r
un?
Apache/1.3.4 (Win32) running...
>How-To-Repeat:
Self explantory.
>Fix:
Scan all directives for comments before parsing (if they can't contain a #).
If they can contain a #, then it gets more complicated.
>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! ]