httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: [users@httpd] how to comment out a large section in httpd.conf?
Date Tue, 03 Oct 2006 19:02:17 GMT
On Tuesday 03 October 2006 19:57, Bing Du 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?

Solution 1; google for mod_comment.

Solution 2:  Hack it with <IfDefine SomeUndefinedNonsense>

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.prenhallprofessional.com/title/0132409674

---------------------------------------------------------------------
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