github.com/krum110487/go-htaccess@v0.0.0-20240316004156-60641c8e7598/tests/data/apache_2_2_34/manual/mod/mod_dumpio.html.en (about) 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 3 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head> 4 <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type" /> 5 <!-- 6 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 7 This file is generated from xml source: DO NOT EDIT 8 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 9 --> 10 <title>mod_dumpio - Apache HTTP Server Version 2.2</title> 11 <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> 12 <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> 13 <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="../style/css/prettify.css" /> 14 <script src="../style/scripts/prettify.min.js" type="text/javascript"> 15 </script> 16 17 <link href="../images/favicon.ico" rel="shortcut icon" /><link href="http://httpd.apache.org/docs/current/mod/mod_dumpio.html" rel="canonical" /></head> 18 <body> 19 <div id="page-header"> 20 <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p> 21 <p class="apache">Apache HTTP Server Version 2.2</p> 22 <img alt="" src="../images/feather.gif" /></div> 23 <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div> 24 <div id="path"> 25 <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.2</a> > <a href="./">Modules</a></div> 26 <div id="page-content"> 27 <div class="retired"><h4>Please note</h4> 28 <p> This document refers to a legacy release (<strong>2.2</strong>) of Apache httpd. The active release (<strong>2.4</strong>) is documented <a href="http://httpd.apache.org/docs/current">here</a>. If you have not already upgraded, please follow <a href="http://httpd.apache.org/docs/current/upgrading.html">this link</a> for more information.</p> 29 <p>You may follow <a href="http://httpd.apache.org/docs/current/mod/mod_dumpio.html">this link</a> to go to the current version of this document.</p></div><div id="preamble"><h1>Apache Module mod_dumpio</h1> 30 <div class="toplang"> 31 <p><span>Available Languages: </span><a href="../en/mod/mod_dumpio.html" title="English"> en </a> | 32 <a href="../ja/mod/mod_dumpio.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a></p> 33 </div> 34 <table class="module"><tr><th><a href="module-dict.html#Description">Description:</a></th><td>Dumps all I/O to error log as desired.</td></tr> 35 <tr><th><a href="module-dict.html#Status">Status:</a></th><td>Extension</td></tr> 36 <tr><th><a href="module-dict.html#ModuleIdentifier">Module Identifier:</a></th><td>dumpio_module</td></tr> 37 <tr><th><a href="module-dict.html#SourceFile">Source File:</a></th><td>mod_dumpio.c</td></tr></table> 38 <h3>Summary</h3> 39 40 <p><code>mod_dumpio</code> allows for the logging of 41 all input received by Apache and/or all output sent by 42 Apache to be logged (dumped) to the error.log file. 43 </p> 44 45 <p>The data logging is done right after SSL decoding (for 46 input) and right before SSL encoding (for output). As can 47 be expected, this can produce extreme volumes of data, 48 and should only be used when debugging problems.</p> 49 </div> 50 <div id="quickview"><h3>Topics</h3> 51 <ul id="topics"> 52 <li><img alt="" src="../images/down.gif" /> <a href="#enable">Enabling dumpio Support</a></li> 53 </ul><h3 class="directives">Directives</h3> 54 <ul id="toc"> 55 <li><img alt="" src="../images/down.gif" /> <a href="#dumpioinput">DumpIOInput</a></li> 56 <li><img alt="" src="../images/down.gif" /> <a href="#dumpiologlevel">DumpIOLogLevel</a></li> 57 <li><img alt="" src="../images/down.gif" /> <a href="#dumpiooutput">DumpIOOutput</a></li> 58 </ul> 59 <ul class="seealso"><li><a href="#comments_section">Comments</a></li></ul></div> 60 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> 61 <div class="section"> 62 <h2><a name="enable" id="enable">Enabling dumpio Support</a></h2> 63 64 65 <p>To enable the module, it should be compiled and 66 loaded in to your running Apache configuration. Logging 67 can then be enabled or disabled via the below directives.</p> 68 </div> 69 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> 70 <div class="directive-section"><h2><a name="DumpIOInput" id="DumpIOInput">DumpIOInput</a> <a name="dumpioinput" id="dumpioinput">Directive</a></h2> 71 <table class="directive"> 72 <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Dump all input data to the error log</td></tr> 73 <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>DumpIOInput On|Off</code></td></tr> 74 <tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>DumpIOInput Off</code></td></tr> 75 <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config</td></tr> 76 <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr> 77 <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_dumpio</td></tr> 78 <tr><th><a href="directive-dict.html#Compatibility">Compatibility:</a></th><td>DumpIOInput is only available in Apache 2.1.3 and 79 later.</td></tr> 80 </table> 81 <p>Enable dumping of all input.</p> 82 83 <div class="example"><h3>Example</h3><p><code> 84 DumpIOInput On 85 </code></p></div> 86 87 </div> 88 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> 89 <div class="directive-section"><h2><a name="DumpIOLogLevel" id="DumpIOLogLevel">DumpIOLogLevel</a> <a name="dumpiologlevel" id="dumpiologlevel">Directive</a></h2> 90 <table class="directive"> 91 <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Controls the logging level of the DumpIO output</td></tr> 92 <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>DumpIOLogLevel <var>level</var></code></td></tr> 93 <tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>DumpIOLogLevel debug</code></td></tr> 94 <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config</td></tr> 95 <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr> 96 <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_dumpio</td></tr> 97 <tr><th><a href="directive-dict.html#Compatibility">Compatibility:</a></th><td>DumpIOLogLevel is only available in Apache 2.2.4 and 98 later.</td></tr> 99 </table> 100 <p>Enable dumping of all output at a specific <code class="directive"><a href="../mod/core.html#loglevel">LogLevel</a></code> level.</p> 101 102 <div class="example"><h3>Example</h3><p><code> 103 DumpIOLogLevel notice 104 </code></p></div> 105 106 <div class="note"><h3>Compatibility</h3>Prior to 2.2.4 <code class="module"><a href="../mod/mod_dumpio.html">mod_dumpio</a></code> 107 would only dump to the log when <code class="directive"><a href="../mod/core.html#loglevel">LogLevel</a></code> was set to <code>debug</code></div> 108 109 </div> 110 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> 111 <div class="directive-section"><h2><a name="DumpIOOutput" id="DumpIOOutput">DumpIOOutput</a> <a name="dumpiooutput" id="dumpiooutput">Directive</a></h2> 112 <table class="directive"> 113 <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Dump all output data to the error log</td></tr> 114 <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>DumpIOOutput On|Off</code></td></tr> 115 <tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>DumpIOOutput Off</code></td></tr> 116 <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config</td></tr> 117 <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr> 118 <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_dumpio</td></tr> 119 <tr><th><a href="directive-dict.html#Compatibility">Compatibility:</a></th><td>DumpIOOutput is only available in Apache 2.1.3 and 120 later.</td></tr> 121 </table> 122 <p>Enable dumping of all output.</p> 123 124 <div class="example"><h3>Example</h3><p><code> 125 DumpIOOutput On 126 </code></p></div> 127 128 </div> 129 </div> 130 <div class="bottomlang"> 131 <p><span>Available Languages: </span><a href="../en/mod/mod_dumpio.html" title="English"> en </a> | 132 <a href="../ja/mod/mod_dumpio.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a></p> 133 </div><div class="top"><a href="#page-header"><img src="../images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Comments</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div> 134 <script type="text/javascript"><!--//--><![CDATA[//><!-- 135 var comments_shortname = 'httpd'; 136 var comments_identifier = 'http://httpd.apache.org/docs/2.2/mod/mod_dumpio.html'; 137 (function(w, d) { 138 if (w.location.hostname.toLowerCase() == "httpd.apache.org") { 139 d.write('<div id="comments_thread"><\/div>'); 140 var s = d.createElement('script'); 141 s.type = 'text/javascript'; 142 s.async = true; 143 s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; 144 (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); 145 } 146 else { 147 d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); 148 } 149 })(window, document); 150 //--><!]]></script></div><div id="footer"> 151 <p class="apache">Copyright 2017 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> 152 <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- 153 if (typeof(prettyPrint) !== 'undefined') { 154 prettyPrint(); 155 } 156 //--><!]]></script> 157 </body></html>