You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2015/03/01 20:10:31 UTC
[Bug 57650] New: Wrong error message on invalid configuration line
https://bz.apache.org/bugzilla/show_bug.cgi?id=57650
Bug ID: 57650
Summary: Wrong error message on invalid configuration line
Product: Apache httpd-2
Version: 2.2.22
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Core
Assignee: bugs@httpd.apache.org
Reporter: teo8976@gmail.com
I got this error when starting apache2 while one of my config files had a
syntax error:
Syntax error on line 46 of /etc/apache2/xxxxx:
error in condition clause
There actually was a syntax error on that line of that file (which was
Include-d from another file). The line was like this:
CustomLog /srv/www/xxxxxx.net/access.log combinedServerAlias xxxxx.net
But the syntax error doesn't have anything to do at all with a condition
clause.
Yes, that line happened to be within an <IfModule mod_ssl.c> condition, but the
error message is too generic.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 57650] Wrong error message on invalid configuration line
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=57650
Eric Covener <co...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|NEW |RESOLVED
--- Comment #1 from Eric Covener <co...@gmail.com> ---
The "condition clause" is the third argument to CustomLog. It's how it's
interpreting the typo.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org