httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <>
Subject Re: [users@httpd] how to comment out a large section in httpd.conf?
Date Tue, 03 Oct 2006 19:00:43 GMT
On 10/3/06, Bing Du <> wrote:
> Hi,
> The document says:
> ==
> Directives in the configuration files are case-insensitive, but arguments
> to directives are often case sensitive. Lines that begin with the hash
> character "#" are considered comments, and are ignored. Comments may not
> be included on a line after a configuration directive. Blank lines and
> white space occurring before a directive are ignored, so you may indent
> directives for clarity.
> ==
> Any way to do block comments, such as using /* and */ rather than add '#'
> for each line?

No.  You can use <IfDefine notdefined> ... </IfDefine>, but the stuff
inside probably still needs to be syntactically correct, so use it
with care.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message