httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kraemer <Martin.Krae...@Fujitsu-Siemens.com>
Subject Line end comments in httpd-1.3.conf
Date Tue, 12 Jun 2001 09:15:02 GMT
The attached patch tries to address the problem that users sometimes
attempt to use "line end comments" in the apache config files.
Most directives will complain, but some might silently behave in an
unexpected manner. To at least get informed about the problem, the
patch prints a warning message during server start, saying:
[Tue Jun 12 11:01:55 2001] [warn] Apache does not support line-end comments. Consider using
quotes around argument: "#-1"

The only "incompatible" place I know of is the "Group #-1" default
we are using in httpd.conf-dist -- and an easy fix is to quote it.

What do you think? This fix may improve stability and security by
pointing to possible misconfigurations which before passed unnoticed.

   Martin
-- 
<Martin.Kraemer@Fujitsu-Siemens.com>    |       Fujitsu Siemens
       <martin@apache.org>              |   81730  Munich,  Germany

Mime
View raw message