You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by bu...@locus.apache.org on 2000/05/01 22:44:55 UTC
[Bug 49] New - Line number reported for unrecognized configuration keywords is incorrect
http://www.apache.org/bugs/show_bug.cgi?id=49
--- shadow/49 Mon May 1 13:44:55 2000
+++ shadow/49.tmp.17097 Mon May 1 13:44:55 2000
@@ -0,0 +1,23 @@
+Bug#: 49
+Product: httpd
+Version: 2.0a
+Platform: All
+OS/Version: All
+Status: NEW
+Resolution:
+Severity:
+Priority: low
+Component: apache-api
+AssignedTo: apache@apache.org
+ReportedBy: Jim.Patterson@Cognos.COM
+URL:
+Summary: Line number reported for unrecognized configuration keywords is incorrect
+
+When a keyword is not recognized as configuration files are parsed, the line
+number on which the error is reported consistently seems to be one past the last
+line of the configuration file. It is consequently of little use in identifying
+the location of the error.
+
+E.g. when converting older 1.3.x configuration files, it's common to get errors
+on obsolete keywords such as ServerType. These messages quote line numbers well
+beyond where the actual error is.