Received: (qmail 25259 invoked by uid 2012); 15 Dec 1999 15:50:29 -0000 Message-Id: <19991215155029.25258.qmail@hyperreal.org> Date: 15 Dec 1999 15:50:29 -0000 From: Noor Dawod Reply-To: noor@comrax.com To: apbugs@hyperreal.org Subject: Apache doesn't recognize %m and %H (possibly others) directives in httpd.conf X-Send-Pr-Version: 3.2 >Number: 5476 >Category: mod_log-any >Synopsis: Apache doesn't recognize %m and %H (possibly others) directives in httpd.conf >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Dec 15 09:10:01 PST 1999 >Last-Modified: Wed Dec 15 09:30:01 PST 1999 >Originator: noor@comrax.com >Organization: >Release: 1.3.9 >Environment: FreeBSD dns.comrax.com 3.3-STABLE FreeBSD 3.3-STABLE #4: Tue Sep 28 23:08:40 IST 1999 root@dns.comrax.com:/usr/src/sys/compile/WWW i386 Reading specs from /usr/local/lib/gcc-lib/i386-portbld-freebsd3.3/2.95.1/specs gcc version 2.95.1 19990816 (release) >Description: When trying to create a new LogFormat, such as the following: LogFormat "%h %l %u %t \"%m %U %H\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" my_log_format Apache doesn't recognize both %m and %H, this is the output of apachectl configtest: Syntax error on line 474 of /www/etc/httpd.conf: Unrecognized LogFormat directive %m Also, it produces an error on %H when %m is deleted (to see if %H is also unknown) as the following: Syntax error on line 474 of /www/etc/httpd.conf: Unrecognized LogFormat directive %H >How-To-Repeat: Insert the following line near the line that defines the "combined" LogFormat: LogFormat "%h %l %u %t \"%m %U %H\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" my_log_format Then, do: apachectl configtest OR apachectl restart >Fix: No, I didn't look at the source code of Apache, yet. >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: marc State-Changed-When: Wed Dec 15 09:17:44 PST 1999 State-Changed-Why: That is correct, 1.3.9 does not support that. 1.3.10 will. From: Noor Dawod To: "'marc@apache.org'" , "apache-bugdb@apache.org" Cc: "'apbugs@Apache.Org'" Subject: RE: mod_log-any/5476: Apache doesn't recognize %m and %H (possibly others) directives in httpd.conf Date: Wed, 15 Dec 1999 19:27:55 +0200 Hello Marc, Do you have an estimate when 1.3.10 is going to be released? -- Best regards, Noor Dawod, CTO, Comrax Ltd. ---------------------------------------------- Web site: http://www.comrax.com Sales: sales@comrax.com Info: info@comrax.com Phone: (972)-4-8778411/22 Fax: (972)-4-8778433 ---------------------------------------------- E-commerce Unleashed(tm). Smart. Simple. Safe. ---------------------------------------------- On Wed 15 December 1999 19:18, marc@apache.org [SMTP:marc@apache.org] wrote: > [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! ] > > > Synopsis: Apache doesn't recognize %m and %H (possibly others) directives in httpd.conf > > State-Changed-From-To: open-closed > State-Changed-By: marc > State-Changed-When: Wed Dec 15 09:17:44 PST 1999 > State-Changed-Why: > That is correct, 1.3.9 does not support that. 1.3.10 will. > > >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database 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! ]