www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Kaatz <david.ka...@intermec.com>
Subject config/4632: End of file character in httpd.conf causes Apache to fail to start.
Date Tue, 22 Jun 1999 23:11:49 GMT

>Number:         4632
>Category:       config
>Synopsis:       End of file character in httpd.conf causes Apache to fail to start.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Jun 22 16:20:00 PDT 1999
>Last-Modified:
>Originator:     david.kaatz@intermec.com
>Organization:
apache
>Release:        1.3.6, 1.3.7
>Environment:
OS2 Warp 4, revision 9.033 (fixpak9 installed)
>Description:
SUB (hex1A) character causes Apache to fail at startup with the error:

"Syntax error on line nnn of c:/apache/conf/httpd.conf:
Invalid command '->', perhaps mis-spelled or defined by a module not included in the server
configuration"

displayed at the command prompt.

Although this is minor, in OS2 it is quite annoying, as the default editors
provided with the OS both seem to stick in the end-of-file SUB character.
>How-To-Repeat:
In OS2, edit the configuration file with the 'E' editor.  Make any
change and save it.  It now will have the end-of-file character as
the last character.
>Fix:
Ignore end-of-file characters in the .conf file, or ignore only if it is the last character.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <apbugs@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!     ]




Mime
View raw message