You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Alberto Villar <vi...@alba.mssl.es> on 1997/04/15 16:30:01 UTC

config/394: Support for comment area in active configuration lines

>Number:         394
>Category:       config
>Synopsis:       Support for comment area in active configuration lines
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Tue Apr 15 07:30:01 1997
>Originator:     villar@alba.mssl.es
>Organization:
apache
>Release:        1.2b8
>Environment:
Apache 1.2b8, Any OS
>Description:
I'm not very familiar with this service (including it's response time).
Do I miss any relevant field ? Why don't I get any answer to this patch ?
I was unable to locate this request in your database.
Perhaps I have mail delivery problems.

I apologize if you have about 34189 copies of this request

Could you help me ?

My original request was: (Working since 1.2b7 it referes now to 1.2b8)

In order to keep compact (and easy to read) files comment could be held in
the configuration lines, as follows:

Port            80                          #; Must be root if < 1024
HostnameLookups On                          #; On/Off. Log names/IP addresses
User            nouser                      #; Name or Id
Group           nogroup                     #; Name or Id
#BrowserMatch   Mozilla/2 nokeepalive

By this way comment would be:

    Any line starting by # at column 1

    Any characters after the #; sequence

The double character allows both # and ; to be part of non-comment field
in any config line
>How-To-Repeat:
"util.c" file:
>    char *prem;
576a578,579
>    prem = strstr(s,"#;");                  /* Searches for comments */
>    if (prem) *prem = '\0';
>Fix:

>Audit-Trail:
>Unformatted: