Re: [users@httpd] how to comment out a large section in httpd.conf?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If using something like the following example, does the syntax need to be
correct inside the block?

<IfModule qwzyqjz.c>
...
</IfModule>

Teddy

----- Original Message ----- 
From: "Joshua Slive" <joshua@xxxxxxxx>
To: <users@xxxxxxxxxxxxxxxx>
Sent: Tuesday, October 03, 2006 9:00 PM
Subject: Re: [users@httpd] how to comment out a large section in httpd.conf?


> On 10/3/06, Bing Du <bdu@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux