<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>11053</bug_id>
          
          <creation_ts>2007-03-12 01:09:39 +0300</creation_ts>
          <short_desc>LogFormat must be &lt;IFModule&gt;&apos;ed in httpd.conf</short_desc>
          <delta_ts>2008-04-19 22:41:59 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>apache</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>relnote</keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Konstantin A Lepikhov (L.A. Kostis)">lakostis</reporter>
          <assigned_to name="Michael Shigorin">mike</assigned_to>
          <cc>at</cc>
    
    <cc>cas</cc>
    
    <cc>crux</cc>
    
    <cc>ender</cc>
    
    <cc>lakostis</cc>
    
    <cc>ldv</cc>
    
    <cc>mike</cc>
    
    <cc>mithraen</cc>
    
    <cc>qa_viy</cc>
    
    <cc>rider</cc>
    
    <cc>shaba</cc>
    
    <cc>solo</cc>
    
    <cc>viy</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>46483</commentid>
    <comment_count>0</comment_count>
    <who name="Konstantin A Lepikhov (L.A. Kostis)">lakostis</who>
    <bug_when>2007-03-12 01:09:39 +0300</bug_when>
    <thetext>suggested /etc/httpd/conf/httpd.conf config example:

#
# The following directives define some format nicknames for use with
# a CustomLog directive (see below).
#
&lt;IfModule mod_log_config.c&gt;
LogFormat &quot;%h %l %u %t \&quot;%r\&quot; %&gt;s %b \&quot;%{Referer}i\&quot; \&quot;%{User-Agent}i\&quot;&quot; combined
LogFormat &quot;%h %l %u %t \&quot;%r\&quot; %&gt;s %b&quot; common
LogFormat &quot;%a %l %u %t \&quot;%r\&quot; %&gt;s %b&quot; common-quick
LogFormat &quot;%{Referer}i -&gt; %U&quot; referer
LogFormat &quot;%{User-agent}i&quot; agent
&lt;IfModule mod_deflate.c&gt;
    LogFormat &quot;%a %l %u %t \&quot;%r\&quot; %&gt;s %b \&quot;%{defl_m}n:%{defl_r}n\&quot;&quot; common-deflate
&lt;/IfModule&gt;
&lt;/IFModule&gt;

It&apos;s ease configuration behavior when mod_log_config.c is disabled (i.e backed
configuration with external log service).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46523</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2007-03-12 22:36:56 +0300</bug_when>
    <thetext>implemented in 1.3.37rusPL30.23-alt1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68656</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2008-04-19 22:41:58 +0400</bug_when>
    <thetext>more complete fix in apache-1.3.41rusPL30.23-alt4:

&lt;IfModule mod_log_config.c&gt;
    LogFormat &quot;%h %l %u %t \&quot;%r\&quot; %&gt;s %b \&quot;%{Referer}i\&quot; \&quot;%{User-Agent}i\&quot;&quot;
combined
    LogFormat &quot;%h %l %u %t \&quot;%r\&quot; %&gt;s %b&quot; common
    LogFormat &quot;%a %l %u %t \&quot;%r\&quot; %&gt;s %b&quot; common-quick
    LogFormat &quot;%{Referer}i -&gt; %U&quot; referer
    LogFormat &quot;%{User-agent}i&quot; agent
    &lt;IfModule mod_deflate.c&gt;
        LogFormat &quot;%a %l %u %t \&quot;%r\&quot; %&gt;s %b \&quot;%{defl_m}n:%{defl_r}n\&quot;&quot;
common-deflate
    &lt;/IfModule&gt;
    #
    # The location and format of the access logfile (Common Logfile Format).
    # If you do not define any access logfiles within a &lt;VirtualHost&gt;
    # container, they will be logged here.  Contrariwise, if you *do*
    # define per-&lt;VirtualHost&gt; access logfiles, transactions will be
    # logged therein and *not* in this file.
    #
    CustomLog /var/log/httpd/access_log common-quick
&lt;/IfModule&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>