httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
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 <bdu@iastate.edu> wrote:
> Hi,
>
> The document http://httpd.apache.org/docs/2.0/configuring.html 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.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message