From nobody@hyperreal.com Mon Apr 14 02:01:10 1997 Received: (from nobody@localhost) by hyperreal.com (8.8.4/8.8.4) id CAA13556; Mon, 14 Apr 1997 02:01:10 -0700 (PDT) Message-Id: <199704140901.CAA13556@hyperreal.com> Date: Mon, 14 Apr 1997 02:01:10 -0700 (PDT) From: <> Reply-To: To: apbugs@hyperreal.com Subject: Support for comment area in active configuration lines X-Send-Pr-Version: 3.2 >Number: 384 >Category: config >Synopsis: Support for comment area in active configuration lines >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Class: change-request >Submitter-Id: apache >Arrival-Date: Mon Apr 14 02:10:00 1997 >Last-Modified: Mon Apr 14 07:40:48 PDT 1997 >Originator: >Organization: apache >Release: >Environment: Apache 1.2b8, Any OS >Description: 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: >Fix: 553a554 > char *prem; 576a578,579 > prem = strstr(s,"#;"); /* Searches for comments */ > if (prem) *prem = '\0'; %0 >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: marc State-Changed-When: Mon Apr 14 07:39:13 PDT 1997 State-Changed-Why: Dupe of PR#385. >Unformatted: