"Fossies" - the Fresh Open Source Software Archive

Member "mod_gzip-1.3.26.1a/docs/manual/english/status.htm" (30 Sep 2002, 31420 Bytes) of package /linux/www/apache_httpd_modules/old/mod_gzip-1.3.26.1a.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

A hint: This file contains one or more very long lines, so maybe it is better readable using the pure text view mode that shows the contents as wrapped lines within the browser window.


    1 <?xml version="1.0" encoding="iso-8859-1" ?>
    2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    3 <html xmlns="http://www.w3.org/1999/xhtml">
    4 
    5 <head>
    6  <title>mod_gzip status codes</title>
    7  <meta name="author"      content="Michael Schr&ouml;pl" />
    8  <meta name="description" content="A summary of all status codes created by mod_gzip and an attempt to explain their meaning" />
    9  <meta name="keywords"    content="Apache, HTTP, encoding, gzip, compression" />
   10  <style type="text/css">
   11 body{font-family:sans-serif;margin:0px 30px 0px 30px;}
   12 h1{font-size:22px;margin-top:20px;}
   13 h2{font-size:18px;margin-top:14px;}
   14 small{font-size:80%;}
   15 td{vertical-align:top;}
   16 tt{font-weight:bold;}
   17 code,tt{font-family:"Courier New",monospace;}
   18 h1,h2{margin-bottom:1px;}
   19 p,td{margin-top:3px;margin-bottom:3px;}
   20 p,ul,ol,li{font-size:17px;line-height:22px;}
   21 ul,ol,li{margin-top:0px;margin-bottom:0px;}
   22 img{border-width:0;}
   23 
   24 #nav{position:absolute;top:30px;left:0px;font-size:14px;width:170px;font-weight:bold;margin:2px 2px 2px 30px;}
   25 #nav[id]{position:fixed;}
   26 #nav img{margin:5px;}
   27 #nav p, #nav a:hover, #nav a{display:block;padding:3px;margin:2px;width:150px;font-size:15px;line-height:18px;}
   28 #content{position:absolute;left:220px;right:30px;}
   29 #mail{text-align:right;}
   30 #icon{width:190px;float:left;}
   31 #mail,#icon{margin-top:30px;}
   32 
   33 @media screen {
   34 body{color:#000;background-color:#f8ebd9;}
   35 h1{color:#666;}
   36 h2{color:#840;}
   37 code{color:#333;}
   38 em{color:#900;}
   39 tt{color:#909;}
   40 h1,h2,code,em,tt{background-color:inherit;}
   41 .new13192a{color:#inherit;background-color:#ffd;}
   42 .new13261a{color:#inherit;background-color:#eff;}
   43 .bugfix{color:#fff;background-color:#f00;font-weight:bold;padding:0px 4px;}
   44 #nav a{color:#530;background-color:transparent;}
   45 #nav a{text-decoration:none;}
   46 #nav p, #nav a:hover{color:#000;background-color:#fff;}
   47 #nav p {border:1px #660 solid;}
   48 #nav a {border:1px #666 dotted;}
   49 }
   50 
   51 @media print {
   52 #icon,#nav{display:none;}
   53 #content{position:absolute;left:0px;right:0px;}
   54 }
   55 table.status {border:1px solid #999;width:100%;font-size:12px;}
   56 table.status td,th {border:1px solid #000;vertical-align:top;text-align:left;padding:2px 6px 2px 6px;}
   57 table.status .col1 {width:200px;}
   58 table.status .col2 {width:40px;}
   59 
   60 @screen {
   61 table.status,
   62 table.status th,
   63 table.status td {color:inherit;}
   64 table.status    {background-color:#fff;}
   65 table.status td {background-color:#ddd;}
   66 table.status th {background-color:#ccc;}
   67 }
   68  </style>
   69 </head>
   70 
   71 <body>
   72 
   73 <div id="nav">
   74 
   75 <img src="mod_gzip_logo.gif" height="47" width="102" alt="mod_gzip logo" />
   76 
   77 
   78 <a title="mod_gzip - what's that, anyway?" href="index.htm">mod_gzip</a>
   79 
   80 
   81 
   82 <a title="Compression of HTTP content using Content-Encoding" href="encoding.htm">Content-Encoding</a>
   83 
   84 
   85 
   86 <a title="Which browsers can handle 'Content-Encoding: gzip'?" href="browser.htm">Browsers</a>
   87 
   88 
   89 
   90 <a title="How do Firewalls handle 'Content-Encoding:'?" href="firewalls.htm">Firewalls</a>
   91 
   92 
   93 
   94 <a title="An example configuration for mod_gzip" href="config.htm">Configuration</a>
   95 
   96 
   97 
   98 <p>Status Codes</p>
   99 
  100 
  101 
  102 <a title="Possible enhancements in future versions of mod_gzip" href="enhancements.htm">Enhancements</a>
  103 
  104 
  105 
  106 <a title="Caching of negotiated HTTP responses" href="cache.htm">Caching</a>
  107 
  108 
  109 
  110 <a title="Version history and change log for mod_gzip" href="versions.htm">Versions</a>
  111 
  112 
  113 
  114 <a title="Other ressources about mod_gzip" href="links.htm">Links</a>
  115 
  116 
  117 </div>
  118 
  119 <div id="content">
  120 
  121 <h1>Description of all <tt>mod_gzip</tt> status codes</h1>
  122 
  123 <p>This document describes the set of all status codes created by <tt>mod_gzip</tt> 1.3.26.1a about its processing and provided via the field description <code>%{mod_gzip_result}n</code> for usage inside log formats.</p>
  124 
  125 <h2><a id="DECLINED:UNHANDLED_SUBREQ"></a>DECLINED:UNHANDLED_SUBREQ</h2>
  126 <table class="status">
  127  <tr>
  128   <th class="col1">originated by</th>
  129   <th class="col3">meaning</th>
  130  </tr>
  131  <tr>
  132   <td>mod_gzip_type_checker</td>
  133   <td>This is an Apache internal partial request, caused by processing another 'normal' request. Only this normal request's final result will be checked <small>(and possibly compressed)</small> by <tt>mod_gzip</tt>.</td>
  134  </tr>
  135 </table>
  136 
  137 <h2><a id="DECLINED:UNHANDLED_REDIR"></a>DECLINED:UNHANDLED_REDIR</h2>
  138 <table class="status">
  139  <tr>
  140   <th class="col1">originated by</th>
  141   <th class="col3">meaning</th>
  142  </tr>
  143  <tr>
  144   <td>mod_gzip_type_checker</td>
  145   <td>This is an Apache internal redirection, caused by processing another 'normal' request. Only this normal request's final result will be checked <small>(and possibly compressed)</small> by <tt>mod_gzip</tt>.</td>
  146  </tr>
  147 </table>
  148 
  149 <h2><a id="DECLINED:INIT1"></a>DECLINED:INIT1</h2>
  150 <table class="status">
  151  <tr>
  152   <th class="col1">originated by</th>
  153   <th class="col3">meaning</th>
  154  </tr>
  155  <tr>
  156   <td>mod_gzip_type_checker</td>
  157   <td>This seems to be a value setting as initialization - at least it has no immediate effect on the order of processing.</td>
  158  </tr>
  159 </table>
  160 
  161 <h2><a id="DECLINED:STATIC_GZ_FOUND"></a>DECLINED:STATIC_GZ_FOUND</h2>
  162 <table class="status">
  163  <tr>
  164   <th class="col1">originated by</th>
  165   <th class="col3">meaning</th>
  166  </tr>
  167  <tr>
  168   <td>mod_gzip_type_checker</td>
  169   <td rowspan="2">For the requested file a statically compressed version <small>(with the hard-coded filename extension <code>.gz</code>)</small> was found and could be delivered to the UserAgent, instead of dynamically compressing the original file.</td>
  170  </tr>
  171  <tr>
  172   <td>mod_gzip_handler</td>
  173  </tr>
  174 </table>
  175 
  176 <h2><a id="DECLINED:FEXT_GZ"></a>DECLINED:FEXT_GZ</h2>
  177 <table class="status">
  178  <tr>
  179   <th class="col1">originated by</th>
  180   <th class="col3">meaning</th>
  181  </tr>
  182  <tr>
  183   <td>mod_gzip_type_checker</td>
  184   <td rowspan="2">The request explicitly refers to a statically compressed file <small>(with the hard-coded filename extension <code>.gz</code>)</small>; the content of such files is delivered without modification.</td>
  185  </tr>
  186  <tr>
  187   <td>mod_gzip_handler</td>
  188  </tr>
  189 </table>
  190 
  191 <h2><a id="DECLINED:NO_DCONF"></a>DECLINED:NO_DCONF</h2>
  192 <table class="status">
  193  <tr>
  194   <th class="col1">originated by</th>
  195   <th class="col3">meaning</th>
  196  </tr>
  197  <tr>
  198   <td>mod_gzip_type_checker</td>
  199   <td>The <code>dconf</code> pointer is NULL. <tt>mod_gzip</tt> cannot find its configuration record and thus has no chance to check the settings of its configuration directives.</td>
  200  </tr>
  201 </table>
  202 
  203 <h2><a id="DECLINED:OFF"></a>DECLINED:OFF</h2>
  204 <table class="status">
  205  <tr>
  206   <th class="col1">originated by</th>
  207   <th class="col3">meaning</th>
  208  </tr>
  209  <tr>
  210   <td>mod_gzip_type_checker</td>
  211   <td>The compression mode has not been enabled for this file's definition scope <small>(<code>mod_gzip_on No</code> for the complete Apache configuration, this virtual host, this directory or this <code>.htaccess</code> file)</small></td>
  212  </tr>
  213 </table>
  214 
  215 <h2><a id="DECLINED:NOT_GET_OR_POST"></a>DECLINED:NOT_GET_OR_POST</h2>
  216 <table class="status">
  217  <tr>
  218   <th class="col1">originated by</th>
  219   <th class="col3">meaning</th>
  220  </tr>
  221  <tr>
  222   <td>mod_gzip_type_checker</td>
  223   <td>This request doesn't use one of the HTTP methods <code>GET</code> or <code>POST</code>, but only these method's data can be reasonably compressed.</td>
  224  </tr>
  225 </table>
  226 
  227 <h2><a id="DECLINED:HEAD_REQUEST"></a>DECLINED:HEAD_REQUEST</h2>
  228 <table class="status">
  229  <tr>
  230   <th class="col1">originated by</th>
  231   <th class="col3">meaning</th>
  232  </tr>
  233  <tr>
  234   <td>mod_gzip_type_checker</td>
  235   <td>This request uses the HTTP method <code>HEAD</code>; such a request doesn't cause the creation of a <small>(compressable)</small> document content but only the creation of a <small>(uncompressable)</small> HTTP headers.</td>
  236  </tr>
  237 </table>
  238 
  239 <h2><a id="DECLINED:HTTP_LEVEL_TOO_LOW"></a>DECLINED:HTTP_LEVEL_TOO_LOW</h2>
  240 <table class="status">
  241  <tr>
  242   <th class="col1">originated by</th>
  243   <th class="col3">meaning</th>
  244  </tr>
  245  <tr>
  246   <td>mod_gzip_type_checker</td>
  247   <td>This request uses a HTTP protocol version not as high as at least required by the directive <code>mod_gzip_min_http</code>.</td>
  248  </tr>
  249 </table>
  250 
  251 <h2><a id="DECLINED:NO_GZIP"></a>DECLINED:NO_GZIP</h2>
  252 <table class="status">
  253  <tr>
  254   <th class="col1">originated by</th>
  255   <th class="col3">meaning</th>
  256  </tr>
  257  <tr>
  258   <td>mod_gzip_type_checker</td>
  259   <td>This request does contain an <code>Accept-Encoding</code> header but its list of encodings <small>(that are supported by this UserAgent)</small> doesn't contain the encoding <code>gzip</code> - obviously this UserAgent doesn't understand gzip-compressed data.</td>
  260  </tr>
  261 </table>
  262 
  263 <h2><a id="DECLINED:NO_ACCEPT_ENCODING"></a>DECLINED:NO_ACCEPT_ENCODING</h2>
  264 <table class="status">
  265  <tr>
  266   <th class="col1">originated by</th>
  267   <th class="col3">meaning</th>
  268  </tr>
  269  <tr>
  270   <td>mod_gzip_type_checker</td>
  271   <td>This request doesn't contain an <code>Accept-Encoding</code> header - obviously this UserAgent doesn't understand gzip-compressed data.</td>
  272  </tr>
  273 </table>
  274 
  275 <h2><a id="DECLINED:NO_ITEMS_DEFINED"></a>DECLINED:NO_ITEMS_DEFINED</h2>
  276 <table class="status">
  277  <tr>
  278   <th class="col1">originated by</th>
  279   <th class="col3">meaning</th>
  280  </tr>
  281  <tr>
  282   <td>mod_gzip_type_checker</td>
  283   <td>The list of rules <small>(to decide whether the content of the requested file is to be compressed)</small> is empty <small>(neither <code>mod_gzip_include_item</code> nor <code>mod_gzip_exclude_item</code> were used)</small>. Therefore the normal decision process is not applicable.</td>
  284  </tr>
  285 </table>
  286 
  287 <h2><a id="DECLINED:REQ_HEADER_FIELD_EXCLUDED"></a>DECLINED:REQ_HEADER_FIELD_EXCLUDED</h2>
  288 <table class="status">
  289  <tr>
  290   <th class="col1">originated by</th>
  291   <th class="col3">meaning</th>
  292  </tr>
  293  <tr>
  294   <td>mod_gzip_type_checker</td>
  295   <td>This request has been excluded from compression during the filter rules analysis
  296   <small>(<code>mod_gzip_validate1 (header_name, header_value, MOD_GZIP_REQUEST)</code>, line 2511)</small>.<br />
  297       <small>(It must have been a rule of the type <code>mod_gzip_exclude_item reqheader</code> - it cannot have been caused by a missing <code>mod_gzip_include_item</code> rule as other tests are bound to follow.)</small></td>
  298  </tr>
  299 </table>
  300 
  301 <h2><a id="DECLINED:EXCLUDED"></a>DECLINED:EXCLUDED</h2>
  302 <table class="status">
  303  <tr>
  304   <th class="col1">originated by</th>
  305   <th class="col3">meaning</th>
  306  </tr>
  307  <tr>
  308   <td>mod_gzip_type_checker</td>
  309   <td>This request excluded from compression during the filter rules analysis <small>(<code>mod_gzip_validate1 (file, uri, content_type, handler)</code>, line 2612)</small>, after the HTTP request header fields were already checked against <code>mod_gzip_exclude_item</code> rules.<br />
  310       <small>(Not really meaningful, what a pity ... if we were told at least whether an explicit <code>mod_gzip_exclude_item</code> fired - and from which class - or only no <code>mod_gzip_include_item</code> was found ... !)</small></td>
  311  </tr>
  312 </table>
  313 
  314 <h2><a id="COMMAND:VERSION"></a>COMMAND:VERSION</h2>
  315 <table class="status">
  316  <tr>
  317   <th class="col1">originated by</th>
  318   <th class="col3">meaning</th>
  319  </tr>
  320  <tr>
  321   <td>mod_gzip_do_command</td>
  322   <td>This request caused the execution of the <tt>mod_gzip</tt> status display command defined by the directive <code>mod_gzip_command_version</code> <small>(version number and '<code>on</code>'/'<code>off</code>')</small>.<br />
  323       This command's output is so short <small>(less than 100 bytes)</small> that it wouldn't pay to compress the content.</td>
  324  </tr>
  325 </table>
  326 
  327 <h2><a id="DECLINED:INVALID_COMMAND"></a>DECLINED:INVALID_COMMAND</h2>
  328 <table class="status">
  329  <tr>
  330   <th class="col1">originated by</th>
  331   <th class="col3">meaning</th>
  332  </tr>
  333  <tr>
  334   <td>mod_gzip_do_command</td>
  335   <td>Something must have crashed during the execution of the internal status command.<br />
  336       <small>(I am not sure whether - and when - this case may ever happen.)</small></td>
  337  </tr>
  338 </table>
  339 
  340 <h2><a id="INIT2"></a>INIT2</h2>
  341 <table class="status">
  342  <tr>
  343   <th class="col1">originated by</th>
  344   <th class="col3">meaning</th>
  345  </tr>
  346  <tr>
  347   <td>mod_gzip_handler</td>
  348   <td>This seems to be a value setting as initialization - at least it has no immediate effect on the order of processing.</td>
  349  </tr>
  350 </table>
  351 
  352 <h2><a id="DECLINED:OFF2"></a>DECLINED:OFF2</h2>
  353 <table class="status">
  354  <tr>
  355   <th class="col1">originated by</th>
  356   <th class="col3">meaning</th>
  357  </tr>
  358  <tr>
  359   <td>mod_gzip_handler</td>
  360   <td>The compression mode has not been enabled for this file's definition scope <small>(<code>mod_gzip_on No</code> for the complete Apache configuration, this virtual host, this directory or this <code>.htaccess</code> file)</small></td>
  361  </tr>
  362 </table>
  363 
  364 <h2><a id="DECLINED:EXCLUDED_BY_HANDLER"></a>DECLINED:EXCLUDED_BY_HANDLER</h2>
  365 <table class="status">
  366  <tr>
  367   <th class="col1">originated by</th>
  368   <th class="col3">meaning</th>
  369  </tr>
  370  <tr>
  371   <td>mod_gzip_handler</td>
  372   <td>This request excluded from compression during the filter rules analysis <small>(<code>mod_gzip_validate1 (file, uri, content_type, handler)</code>, line 3091)</small>, after the HTTP request header fields were already checked against <code>mod_gzip_exclude_item</code> rules.<br />
  373       <small>(Not really meaningful, what a pity ... furthermore, I don't know why this must have been a handler causing the exclusion, as those four parameter values were fed into <code>mod_gzip_validate1</code> as well.)</small></td>
  374  </tr>
  375 </table>
  376 
  377 <h2><a id="RECOVERY"></a>RECOVERY</h2>
  378 <table class="status">
  379  <tr>
  380   <th class="col1">originated by</th>
  381   <th class="col3">meaning</th>
  382  </tr>
  383  <tr>
  384   <td>mod_gzip_handler</td>
  385   <td>Something must have gone wrong during the execution of <code>mod_gzip_redir1_handler</code> ... but what? We will have to do even an internal redirect, don't really know why  ... and in line 3310 we will even overwrite our own status code with the one from this subrequest.</td>
  386  </tr>
  387 </table>
  388 
  389 <h2><a id="DECLINED:DYN1_OPENFAIL_BODY"></a>DECLINED:DYN1_OPENFAIL_BODY</h2>
  390 <table class="status">
  391  <tr>
  392   <th class="col1">originated by</th>
  393   <th class="col3">meaning</th>
  394  </tr>
  395  <tr>
  396   <td>mod_gzip_redir1_handler</td>
  397   <td><code>mod_gzip_dyn1_getfdo1</code> has tried to create a new file, but failed.<br />
  398       <small>(This access will finally result in a HTTP_INTERNAL_SERVER_ERROR - we won't get a usable result ... but why? Can't we still abort and DECLINE this compression request? And then, I would like to have more detailled information about what has gone wrong here ... why aren't they expressed by some status code?)</small></td>
  399  </tr>
  400 </table>
  401 
  402 <h2><a id="STAT_FAILED"></a>STAT_FAILED</h2>
  403 <table class="status">
  404  <tr>
  405   <th class="col1">originated by</th>
  406   <th class="col3">meaning</th>
  407  </tr>
  408  <tr>
  409   <td>mod_gzip_sendfile2</td>
  410   <td>The file to be sent doesn't exist. <small>(<code>stat()</code> return code != 0)</small>; this seems to be one of these <cite>&quot;this can't happen&quot;</cite>events.</td>
  411  </tr>
  412 </table>
  413 
  414 <h2><a id="CAP_FILE_EMPTY"></a>CAP_FILE_EMPTY</h2>
  415 <table class="status">
  416  <tr>
  417   <th class="col1">originated by</th>
  418   <th class="col3">meaning</th>
  419  </tr>
  420  <tr>
  421   <td>mod_gzip_sendfile2</td>
  422   <td>We <em>do</em> have a file to be sent <small>(the <code>stat()</code> call has worked)</small>, but its size is less than 1 Byte. The document content to be compressed seems to have vanished somehow, why ever.</td>
  423  </tr>
  424 </table>
  425 
  426 <h2><a id="CAP_FOPEN_FAILED"></a>CAP_FOPEN_FAILED</h2>
  427 <table class="status">
  428  <tr>
  429   <th class="col1">originated by</th>
  430   <th class="col3">meaning</th>
  431  </tr>
  432  <tr>
  433   <td>mod_gzip_sendfile2</td>
  434   <td>We <em>do</em> have a file to be sent <small>(the <code>stat()</code> call has worked)</small>, but the attempt to open it for reading <small>(<code>fopen(name,&quot;rb&quot;)</code>)</small> has failed.</td>
  435  </tr>
  436 </table>
  437 
  438 <h2><a id="NO_HTTP_EOH"></a>NO_HTTP_EOH</h2>
  439 <table class="status">
  440  <tr>
  441   <th class="col1">originated by</th>
  442   <th class="col3">meaning</th>
  443  </tr>
  444  <tr>
  445   <td>mod_gzip_sendfile2</td>
  446   <td>The HTTP header of the result created during the current request processing was not terminated correctly. <small>(While parsing the HTTP headers we should have found an empty line at line 5957.)</small><br />
  447       We cannot process such a header <small>(we would have to partially rewrite it for compressing the content)</small>.</td>
  448  </tr>
  449 </table>
  450 
  451 <h2><a id="NO_HTTP_RESP_CODE"></a>NO_HTTP_RESP_CODE</h2>
  452 <table class="status">
  453  <tr>
  454   <th class="col1">originated by</th>
  455   <th class="col3">meaning</th>
  456  </tr>
  457  <tr>
  458   <td>mod_gzip_sendfile2</td>
  459   <td>The HTTP header of the result created during the current request processing doesn't contain a status code. <small>(In the first line of the HTTP header we should have found a HTTP status code, in line 5983.)</small><br />
  460       But just a bit later we will have to check exactly this status code - this won't work now, for sure</td>
  461  </tr>
  462 </table>
  463 
  464 <h2><a id="SEND_AS_IS:NO_200"></a>SEND_AS_IS:NO_200</h2>
  465 <table class="status">
  466  <tr>
  467   <th class="col1">originated by</th>
  468   <th class="col3">meaning</th>
  469  </tr>
  470  <tr>
  471   <td>mod_gzip_sendfile2</td>
  472   <td>The HTTP status code of the created response doesn't have the value <code>200</code> - and only for this value we may have some compressable document content.<br />
  473       <small>(Um ... and what about all those 404 error documents?)</small></td>
  474  </tr>
  475 </table>
  476 
  477 <h2><a id="SEND_AS_IS:RESPONSE_FIELD_EXCLUDED"></a>SEND_AS_IS:RESPONSE_FIELD_EXCLUDED</h2>
  478 <table class="status">
  479  <tr>
  480   <th class="col1">originated by</th>
  481   <th class="col3">meaning</th>
  482  </tr>
  483  <tr>
  484   <td>mod_gzip_sendfile2</td>
  485   <td>This request has been excluded from compression during the filter rules analysis
  486   <small>(<code>mod_gzip_validate1 (header_name, header_value, MOD_GZIP_RESPONSE)</code>, line 6081)</small>.<br />
  487       <small>(This now obviously has been a HTTP header of the created result, as the rest hasn't been checked right now. For a DECLINED it is already to late now, this seems to make sense only <em>before</em> the original request processing ... ?)</small></td>
  488  </tr>
  489 </table>
  490 
  491 <h2><a id="SEND_AS_IS:NO_BODY"></a>SEND_AS_IS:NO_BODY</h2>
  492 <table class="status">
  493  <tr>
  494   <th class="col1">originated by</th>
  495   <th class="col3">meaning</th>
  496  </tr>
  497  <tr>
  498   <td>mod_gzip_sendfile2</td>
  499   <td>We do have a content with a usable HTTP header, but the size of this content is smaller than one byte. There simply isn't anthing there to be compressed. <small>(For example, you get this status if a file with 0 bytes content is being accessed, like a dummy <code>robots.txt</code> file etc.)</small></td>
  500  </tr>
  501 </table>
  502 
  503 <h2><a id="SEND_AS_IS:UNKNOWN_TE_VALUE"></a>SEND_AS_IS:UNKNOWN_TE_VALUE</h2>
  504 <table class="status">
  505  <tr>
  506   <th class="col1">originated by</th>
  507   <th class="col3">meaning</th>
  508  </tr>
  509  <tr>
  510   <td>mod_gzip_sendfile2</td>
  511   <td>The HTTP headers of the request's result contain a <code>Transfer-Encoding</code> which isn't of the <code>chunked</code> type that would have been the only one we had been able to handle<small>(by joining the <i>chunks</i> one single packet and then compress this one)</small>.</td>
  512  </tr>
  513 </table>
  514 
  515 <h2><a id="SEND_AS_IS:HAS_CE"></a>SEND_AS_IS:HAS_CE</h2>
  516 <table class="status">
  517  <tr>
  518   <th class="col1">originated by</th>
  519   <th class="col3">meaning</th>
  520  </tr>
  521  <tr>
  522   <td>mod_gzip_sendfile2</td>
  523   <td>The HTTP headers of the request's result contain a <code>Content-Encoding</code>. In theory one would be able to cascade several Content-Encodings in HTTP; practical experience shows that none of the available UserAgents can handle that correctly. So we better let the content unchanged.</td>
  524  </tr>
  525 </table>
  526 
  527 <h2><a id="SEND_AS_IS:NO_CONTENT_TYPE_IN_RESPONSE_HEADER"></a>SEND_AS_IS:NO_CONTENT_TYPE_IN_RESPONSE_HEADER</h2>
  528 <table class="status">
  529  <tr>
  530   <th class="col1">originated by</th>
  531   <th class="col3">meaning</th>
  532  </tr>
  533  <tr>
  534   <td>mod_gzip_sendfile2</td>
  535   <td>The HTTP header of the request's result doesn't contain a <code>Content-Type</code>. <small>(While parsing the HTTP headers we should have found a Content-type in line 6034.)</small><br />
  536       But the Content-type isn't a required header, according to HTTP; indeed the UserAgent may even guess a Content-type <em>if</em> none was delivered by the server. On the other hand the most important <code>include</code> rule is based upon this Content-type, and if there is none, then it will be difficult to make an according rule apply ...<br />
  537       I personally have eliminated just this test from <tt>mod_gzip</tt> for I get pages <em>without</em> Content-type via <code>mod_proxy</code> from a M$/IIS <small>(but I <em>know</em> this ought to be <code>text/html</code>)</small> which I want to forward in compressed form ...</td>
  538  </tr>
  539 </table>
  540 
  541 <h2><a id="SEND_AS_IS:RESPONSE_CONTENT_TYPE_EXCLUDED"></a>SEND_AS_IS:RESPONSE_CONTENT_TYPE_EXCLUDED</h2>
  542 <table class="status">
  543  <tr>
  544   <th class="col1">originated by</th>
  545   <th class="col3">meaning</th>
  546  </tr>
  547  <tr>
  548   <td>mod_gzip_sendfile2</td>
  549   <td>The request was excluded from compression during the filter rule analysis
  550   <small>(<code>mod_gzip_validate1 (CONTENT_TYPE)</code>, line 6307)</small>.</td>
  551  </tr>
  552 </table>
  553 
  554 <h2><a id="SEND_AS_IS:DECHUNK_OPTION_IS_OFF"></a>SEND_AS_IS:DECHUNK_OPTION_IS_OFF</h2>
  555 <table class="status">
  556  <tr>
  557   <th class="col1">originated by</th>
  558   <th class="col3">meaning</th>
  559  </tr>
  560  <tr>
  561   <td>mod_gzip_sendfile2</td>
  562   <td>A <code>Transfer-Encoding: chunked</code> was detectet, but in the configuration <tt>mod_gzip</tt> has not been allowed to remove this encoding <small>(i.&nbsp;e. collect all <i>chunks</i> and join them to one packet, whose content would then be compressable)</small>. The directive <code>mod_gzip_dechunk Yes</code> would have allowed <tt>mod_gzip</tt> to compress this request.</td>
  563  </tr>
  564 </table>
  565 
  566 <h2><a id="SEND_AS_IS:FOPEN_FAILED"></a>SEND_AS_IS:FOPEN_FAILED</h2>
  567 <table class="status">
  568  <tr>
  569   <th class="col1">originated by</th>
  570   <th class="col3">meaning</th>
  571  </tr>
  572  <tr>
  573   <td>mod_gzip_sendfile2</td>
  574   <td>We were about to start compressing. For doing that it would have been necessary to open a temporary file whose name we let compute by <code>mod_gzip_create_unique_filename</code> before. But the attempt to open <small>(write)</small> this file has failed - therefore the attempt to compress data is terminated.<br />
  575   <div class="new13261a">This may especially be the case if <tt>mod_gzip</tt> has just attempted to update the outdated content of a statically precompressed file but had no write access to this file.</div></td>
  576  </tr>
  577 </table>
  578 
  579 <h2><a id="SEND_AS_IS:FSEEK_FAILED"></a>SEND_AS_IS:FSEEK_FAILED</h2>
  580 <table class="status">
  581  <tr>
  582   <th class="col1">originated by</th>
  583   <th class="col3">meaning</th>
  584  </tr>
  585  <tr>
  586   <td>mod_gzip_sendfile2</td>
  587   <td>We were about to start compressing. After the input file has been opened successfully now we tried to position inside this file to the start position using <code>fseek (ifh,0,0)</code> - but this has failed.<br />
  588   <small>(I am not yet sure why at this position it is already decided that data have to be read from a file and not from some Apache buffer ... we aren't in de-chunking mode yet?)</small></td>
  589  </tr>
  590 </table>
  591 
  592 <h2><a id="SEND_AS_IS:BODY_MISSING"></a>SEND_AS_IS:BODY_MISSING</h2>
  593 <table class="status">
  594  <tr>
  595   <th class="col1">originated by</th>
  596   <th class="col3">meaning</th>
  597  </tr>
  598  <tr>
  599   <td>mod_gzip_sendfile2</td>
  600   <td>During previous copying the content of the file to be compressed it has been detected that the content of this file contains of 0 bytes - therefore it makes no sense to compress anything.</td>
  601  </tr>
  602 </table>
  603 
  604 <h2><a id="SEND_AS_IS:WORK_OPENFAIL"></a>SEND_AS_IS:WORK_OPENFAIL</h2>
  605 <table class="status">
  606  <tr>
  607   <th class="col1">originated by</th>
  608   <th class="col3">meaning</th>
  609  </tr>
  610  <tr>
  611   <td>mod_gzip_open_output_file</td>
  612   <td>The attempt to reopen <small>(read)</small> the output file that has been created previously while compressing content <small>(for sending these data now)</small> has failed.</td>
  613  </tr>
  614 </table>
  615 
  616 <h2><a id="OK"></a><a id="DECHUNK:OK"></a>OK / DECHUNK:OK</h2>
  617 <table class="status">
  618  <tr>
  619   <th class="col1">originated by</th>
  620   <th class="col3">meaning</th>
  621  </tr>
  622  <tr>
  623   <td>mod_gzip_encode_and_transmit</td>
  624   <td>The dompression has been completed successfully. <small>(This value is set as default value at start of operation and overwritten in case of any error.)</small></td>
  625  </tr>
  626 </table>
  627 
  628 <h2><a id="DECLINED:NO_ILEN"></a><a id="DECHUNK:DECLINED:NO_ILEN"></a>DECLINED:NO_ILEN / DECHUNK:DECLINED:NO_ILEN</h2>
  629 <table class="status">
  630  <tr>
  631   <th class="col1">originated by</th>
  632   <th class="col3">meaning</th>
  633  </tr>
  634  <tr>
  635   <td>mod_gzip_encode_and_transmit</td>
  636   <td>The size of the content to be compressed is smaller than one character - there's nothing to be done.</td>
  637  </tr>
  638 </table>
  639 
  640 <h2><a id="DECLINED:TOO_SMALL"></a><a id="DECHUNK:DECLINED:TOO_SMALL"></a>DECLINED:TOO_SMALL / DECHUNK:DECLINED:TOO_SMALL</h2>
  641 <table class="status">
  642  <tr>
  643   <th class="col1">originated by</th>
  644   <th class="col3">meaning</th>
  645  </tr>
  646  <tr>
  647   <td>mod_gzip_encode_and_transmit</td>
  648   <td>The size of the compressed content is smaller than the value defined by the directive <code>mod_gzip_minimum_file_size</code>.</td>
  649  </tr>
  650 </table>
  651 
  652 <h2><a id="DECLINED:TOO_BIG"></a><a id="DECHUNK:DECLINED:TOO_BIG"></a>DECLINED:TOO_BIG / DECHUNK:DECLINED:TOO_BIG</h2>
  653 <table class="status">
  654  <tr>
  655   <th class="col1">originated by</th>
  656   <th class="col3">meaning</th>
  657  </tr>
  658  <tr>
  659   <td>mod_gzip_encode_and_transmit</td>
  660   <td>The size of the compressed content is larger than the value defined by the directive <code>mod_gzip_maximum_file_size</code>.</td>
  661  </tr>
  662 </table>
  663 
  664 <h2><a id="DECLINED:NO_OLEN"></a><a id="DECHUNK:DECLINED:NO_OLEN"></a>DECLINED:NO_OLEN / DECHUNK:DECLINED:NO_OLEN</h2>
  665 <table class="status">
  666  <tr>
  667   <th class="col1">originated by</th>
  668   <th class="col3">meaning</th>
  669  </tr>
  670  <tr>
  671   <td>mod_gzip_encode_and_transmit</td>
  672   <td>The size of the compressed content is smaller than one character - so something must have gone wrong during compression.</td>
  673  </tr>
  674 </table>
  675 
  676 <h2><a id="DECLINED:ORIGINAL_SMALLER"></a><a id="DECHUNK:DECLINED:ORIGINAL_SMALLER"></a>DECLINED:ORIGINAL_SMALLER / DECHUNK:DECLINED:ORIGINAL_SMALLER</h2>
  677 <table class="status">
  678  <tr>
  679   <th class="col1">originated by</th>
  680   <th class="col3">meaning</th>
  681  </tr>
  682  <tr>
  683   <td>mod_gzip_encode_and_transmit</td>
  684   <td>The size of the compressed content is smaller than the size of the original content - so the compression has not lead to any saving. Therefore the uncompressed content will be served.</td>
  685  </tr>
  686 </table>
  687 
  688 <h2><a id="DECLINED:REOPEN_FAILED"></a><a id="DECHUNK:DECLINED:REOPEN_FAILED"></a>DECLINED:REOPEN_FAILED / DECHUNK:DECLINED:REOPEN_FAILED</h2>
  689 <table class="status">
  690  <tr>
  691   <th class="col1">originated by</th>
  692   <th class="col3">meaning</th>
  693  </tr>
  694  <tr>
  695   <td>mod_gzip_encode_and_transmit</td>
  696   <td>The attempt to open <small>(read)</small> the output file <small>(that has been created previously while compressing content)</small> as to send these data has failed.</td>
  697  </tr>
  698 </table>
  699 
  700 <h2><a id="TRANSMIT_ERROR:ISMEM:d:s"></a><a id="DECHUNK:TRANSMIT_ERROR:ISMEM:d:s"></a>TRANSMIT_ERROR:ISMEM:%d:%s / DECHUNK:TRANSMIT_ERROR:ISMEM:%d:%s</h2>
  701 <table class="status">
  702  <tr>
  703   <th class="col1">originated by</th>
  704   <th class="col3">meaning</th>
  705  </tr>
  706  <tr>
  707   <td>mod_gzip_encode_and_transmit</td>
  708   <td>Error while sending compressed data from main memory <small>(message in DEBUG mode)</small></td>
  709  </tr>
  710 </table>
  711 
  712 <h2><a id="TRANSMIT_ERROR:ISMEM:d"></a><a id="DECHUNK:TRANSMIT_ERROR:ISMEM:d"></a>TRANSMIT_ERROR:ISMEM:%d / DECHUNK:TRANSMIT_ERROR:ISMEM:%d</h2>
  713 <table class="status">
  714  <tr>
  715   <th class="col1">originated by</th>
  716   <th class="col3">meaning</th>
  717  </tr>
  718  <tr>
  719   <td>mod_gzip_encode_and_transmit</td>
  720   <td>Error while sending compressed data from main memory</td>
  721  </tr>
  722 </table>
  723 
  724 <h2><a id="TRANSMIT_ERROR:d:s"></a><a id="DECHUNK:TRANSMIT_ERROR:d:s"></a>TRANSMIT_ERROR:%d / DECHUNK:TRANSMIT_ERROR:%d:%s</h2>
  725 <table class="status">
  726  <tr>
  727   <th class="col1">originated by</th>
  728   <th class="col3">meaning</th>
  729  </tr>
  730  <tr>
  731   <td>mod_gzip_encode_and_transmit</td>
  732   <td>Error while sending compressed data from the temporary file</td>
  733  </tr>
  734 </table>
  735 
  736 <h2><a id="TRANSMIT_ERROR:d"></a><a id="DECHUNK:TRANSMIT_ERROR:d"></a>TRANSMIT_ERROR:%d / DECHUNK:TRANSMIT_ERROR:%d</h2>
  737 <table class="status">
  738  <tr>
  739   <th class="col1">originated by</th>
  740   <th class="col3">meaning</th>
  741  </tr>
  742  <tr>
  743   <td>mod_gzip_encode_and_transmit</td>
  744   <td>Error while sending compressed data from the temporary file</td>
  745  </tr>
  746 </table>
  747 
  748 <div class="new13192a">
  749 
  750 <h2><a id="SEND_AS_IS:PRECOMPRESSED_VARIANT_OUTDATED"></a>SEND_AS_IS:PRECOMPRESSED_VARIANT_OUTDATED</h2>
  751 <table class="status">
  752  <tr>
  753   <th class="col1">originated by</th>
  754   <th class="col3">meaning</th>
  755  </tr>
  756  <tr>
  757   <td>mod_gzip_handler</td>
  758   <td><small>(new in mod_gzip 1.3.19.2a)</small> The content of a statically precompressed file is older than the one of the uncompressed original file. Therefore the content of the original file has been served <small>(in uncompressed form)</small> - we rather serve correct data than outdated ones.</td>
  759  </tr>
  760 </table>
  761 
  762 <h2><a id="DECLINED:METHOD_EXCLUDED"></a>DECLINED:METHOD_EXCLUDED</h2>
  763 <table class="status">
  764  <tr>
  765   <th class="col1">originated by</th>
  766   <th class="col3">meaning</th>
  767  </tr>
  768  <tr>
  769   <td>mod_gzip_type_checker</td>
  770   <td><small>(new in mod_gzip 1.3.19.2a)</small> The request for this URL was made using a HTTP method whose results were not declared as to be compressed by using the <code>mod_gzip_handle_methods</code>  directive.</td>
  771  </tr>
  772 </table>
  773 
  774 </div>
  775 
  776 <div class="new13261a">
  777 
  778 <h2><a id="DECLINED:POST_TOO_BIG"></a>DECLINED:POST_TOO_BIG</h2>
  779 <table class="status">
  780  <tr>
  781   <th class="col1">originated by</th>
  782   <th class="col3">meaning</th>
  783  </tr>
  784  <tr>
  785   <td>mod_gzip_type_checker</td>
  786   <td><small>(new in mod_gzip 1.3.26.1a)</small> The content length of a HTTP POST request is bigger than the available buffer and cannot be handled correctly by <tt>mod_gzip</tt> - this is a problem specific to the windows platform. The response to this request will be served in uncompressed form.</td>
  787  </tr>
  788 </table>
  789 
  790 <h2><a id="OK:PRECOMPRESSED_VARIANT_UPDATED"></a>OK:PRECOMPRESSED_VARIANT_UPDATED</h2>
  791 <table class="status">
  792  <tr>
  793   <th class="col1">originated by</th>
  794   <th class="col3">meaning</th>
  795  </tr>
  796  <tr>
  797   <td>mod_gzip_compress_file</td>
  798   <td><small>(new in mod_gzip 1.3.26.1a)</small> While serving the content of a statically precompressed file it has been noticed that their content was older than the one of the corresponding original file. The content of the precompressed file has been updated successfully by compressing the original content once more; then the compressed content has been served.</td>
  799  </tr>
  800 </table>
  801 
  802 </div>
  803 
  804 <div id="icon">
  805  <a href="http://validator.w3.org/check/referer"><img alt="" title="valid XHTML 1.1" height="31" width="88" src="valid-xhtml11.png" /></a><a href="http://jigsaw.w3.org/css-validator/check/referer"><img alt="" title="valid CSS" height="31" width="88" src="valid-css.png" /></a>
  806 </div>
  807 
  808 
  809 <p id="mail">(<a href="mailto:michael.schroepl&#x40;gmx.de?subject=mod_gzip">Michael Schr&ouml;pl</a>, 2002-09-30)</p>
  810 
  811 </div>
  812 
  813 </body>
  814 </html>