Received: (qmail 27156 invoked by uid 2012); 18 Dec 1998 23:28:22 -0000 Message-Id: <19981218232822.27155.qmail@hyperreal.org> Date: 18 Dec 1998 23:28:22 -0000 From: Charles R.Bowman Reply-To: crbowman@sojosoft.com To: apbugs@hyperreal.org Subject: LogFormat error message when executing httpd for the first time X-Send-Pr-Version: 3.2 >Number: 3560 >Category: config >Synopsis: LogFormat error message when executing httpd for the first time >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Fri Dec 18 15:30:01 PST 1998 >Closed-Date: Mon Oct 30 18:49:09 PST 2000 >Last-Modified: Mon Oct 30 18:49:09 PST 2000 >Originator: crbowman@sojosoft.com >Release: 1.3.3 >Organization: >Environment: Linux 2.0.36 (Redhat 5.2) >Description: After installing Apache, upon executing httpd for the first time, I received the error message "LogFormat takes 1-2 arguments, a log format string (see docs) and an optional format name". >How-To-Repeat: >Fix: I corrected the httpd.conf file myself by placing backslashes before the inside quotation marks in the LogFormat directives. The two corrected lines (lines 159 & 160) read as follows: LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common Everything worked fine once I did this. >Release-Note: >Audit-Trail: State-Changed-From-To: open-feedback State-Changed-By: marc State-Changed-When: Fri Dec 18 15:34:22 PST 1998 State-Changed-Why: Erm... they do have '\'s in front of the quotes within quotes in the distributed conf file. How did you install Apache? Did you use some third party packaged RPM or something, or install from the Apache source? From: Marc Slemko To: Apache bugs database Cc: Subject: Re: config/3560: LogFormat error message when executing httpd for the first time (fwd) Date: Sat, 19 Dec 1998 18:00:21 -0800 (PST) ---------- Forwarded message ---------- Date: Fri, 18 Dec 1998 18:03:36 -0600 From: Charles Randolph Bowman To: marc@apache.org Subject: Re: config/3560: LogFormat error message when executing httpd for the first time I used the Redhat 5.2 RPM apache-1.3.3-1.src.rpm found on their second CD-ROM in the directory /SRPMS. State-Changed-From-To: feedback-closed State-Changed-By: slive State-Changed-When: Mon Oct 30 18:49:09 PST 2000 State-Changed-Why: [This is a standard response.] No response from submitter, assuming issue has been resolved. >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ] [If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request ] [from a developer. ] [Reply only with text; DO NOT SEND ATTACHMENTS! ]