home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 November / CMCD1104.ISO / Software / Complet / Apache / apache_2.0.52-win32-x86-no_ssl.msi / Data.Cab / F278082_mod_log_config.html.ko.euckr < prev    next >
Extensible Markup Language  |  2004-09-22  |  22KB  |  399 lines

  1. <?xml version="1.0" encoding="EUC-KR"?>
  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="ko" xml:lang="ko"><head><!--
  4.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  5.               This file is generated from xml source: DO NOT EDIT
  6.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  7.       -->
  8. <title>mod_log_config - Apache HTTP Server</title>
  9. <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
  10. <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
  11. <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
  12. <link href="../images/favicon.ico" rel="shortcut icon" /></head>
  13. <body>
  14. <div id="page-header">
  15. <p class="menu"><a href="../mod/">╕≡╡Γ</a> | <a href="../mod/directives.html">┴÷╜├╛ε╡Θ</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">┐δ╛ε</a> | <a href="../sitemap.html">╗τ└╠╞«╕╩</a></p>
  16. <p class="apache">Apache HTTP Server Version 2.0</p>
  17. <img alt="" src="../images/feather.gif" /></div>
  18. <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
  19. <div id="path">
  20. <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="../">Version 2.0</a> > <a href="./">╕≡╡Γ</a></div>
  21. <div id="page-content">
  22. <div id="preamble"><h1>╛╞╞──í ╕≡╡Γ mod_log_config</h1>
  23. <div class="toplang">
  24. <p><span>░í┤╔╟╤ ╛≡╛ε: </span><a href="../en/mod/mod_log_config.html" hreflang="en" rel="alternate" title="English"> en </a> |
  25. <a href="../ja/mod/mod_log_config.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
  26. <a href="../ko/mod/mod_log_config.html" title="Korean"> ko </a></p>
  27. </div>
  28. <table class="module"><tr><th><a href="module-dict.html#Description">╝│╕φ:</a></th><td>╝¡╣÷╖╬└╟ ┐Σ├╗└╗ ╖╬▒╫┐í ▒Γ╖╧╟╤┤┘</td></tr>
  29. <tr><th><a href="module-dict.html#Status">╗≤┼┬:</a></th><td>Base</td></tr>
  30. <tr><th><a href="module-dict.html#ModuleIdentifier">╕≡╡Γ╕φ:</a></th><td>log_config_module</td></tr>
  31. <tr><th><a href="module-dict.html#SourceFile">╝╥╜║╞─└╧:</a></th><td>mod_log_config.c</td></tr></table>
  32. <h3>┐Σ╛α</h3>
  33.  
  34.     <p>└╠ ╕≡╡Γ└║ ┼¼╢≤└╠╛≡╞«└╟ ┐Σ├╗└╗ ╖╬▒╫┐í └┌└»╖╙░╘ ▒Γ╖╧╟╤┤┘.
  35.     └┌╜┼└╠ ┐°╟╧┤┬ ╟ⁿ╜─└╕╖╬ ╖╬▒╫╕ª ▒Γ╖╧╟╥ ╝÷ └╓░φ, ╞─└╧└╠│¬ ┐▄║╬
  36.     ╟┴╖╬▒╫╖Ñ┐í ┴≈┴ó ╖╬▒╫╕ª ║╕│╛ ╝÷╡╡ └╓┤┘. ┴╢░╟└√ ╖╬▒╫╕ª ╗τ┐δ╟╧╕Θ
  37.     ┐Σ├╗└╟ ╝║░▌┐í ╡√╢≤ ┐Σ├╗└╗ ╖╬▒╫┐í ├▀░í╟╧░┼│¬ ┴ª┐▄╟╥ ╝÷ └╓┤┘.</p>
  38.  
  39.     <p>└╠ ╕≡╡Γ└║ ╝╝░í┴÷ ┴÷╜├╛ε╕ª ┴ª░°╟╤┤┘. <code class="directive"><a href="#transferlog">TransferLog</a></code>┤┬ ╖╬▒╫╞─└╧└╗
  40.     ╕╕╡Θ░φ, <code class="directive"><a href="#logformat">LogFormat</a></code>└║
  41.     ┐°╟╧┤┬ ╟ⁿ╜─└╗ ┴ñ╟╧░φ, <code class="directive"><a href="#customlog">CustomLog</a></code>┤┬ ╟╤╣°┐í ╖╬▒╫╞─└╧░·
  42.     ╟ⁿ╜─└╗ ╕≡╡╬ ┴÷┴ñ╟╤┤┘. <code class="directive">TransferLog</code>┐═
  43.     <code class="directive">CustomLog</code> ┴÷╜├╛ε╕ª ┐⌐╖»╣° ╗τ┐δ╟╧╕Θ
  44.     ┐Σ├╗└╗ ┐⌐╖» ╞─└╧┐í ▒Γ╖╧╟╥ ╝÷ └╓┤┘.</p>
  45. </div>
  46. <div id="quickview"><h3 class="directives">┴÷╜├╛ε╡Θ</h3>
  47. <ul id="toc">
  48. <li><img alt="" src="../images/down.gif" /> <a href="#cookielog">CookieLog</a></li>
  49. <li><img alt="" src="../images/down.gif" /> <a href="#customlog">CustomLog</a></li>
  50. <li><img alt="" src="../images/down.gif" /> <a href="#logformat">LogFormat</a></li>
  51. <li><img alt="" src="../images/down.gif" /> <a href="#transferlog">TransferLog</a></li>
  52. </ul>
  53. <h3>┴╓┴ª</h3>
  54. <ul id="topics">
  55. <li><img alt="" src="../images/down.gif" /> <a href="#formats">╖╬▒╫ ╟ⁿ╜─ ┴÷┴ñ╟╧▒Γ</a></li>
  56. <li><img alt="" src="../images/down.gif" /> <a href="#security">║╕╛╚╗≤ ░φ╖┴╟╥ ┴í</a></li>
  57. </ul><h3>┬ⁿ░φ</h3>
  58. <ul class="seealso">
  59. <li><a href="../logs.html">╛╞╞──í ╖╬▒╫╞─└╧</a></li>
  60. </ul></div>
  61. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  62. <div class="section">
  63. <h2><a name="formats" id="formats">╖╬▒╫ ╟ⁿ╜─ ┴÷┴ñ╟╧▒Γ</a></h2>
  64.  
  65.     <p><code class="directive"><a href="#logformat">LogFormat</a></code>░·
  66.     <code class="directive"><a href="#customlog">CustomLog</a></code>
  67.     ┴÷╜├╛ε└╟ ╟ⁿ╜─ ╛╞▒╘╕╒╞«┤┬ ╣«└┌┐¡└╠┤┘. └╠ ╣«└┌┐¡┐í ╡√╢≤ ┐Σ├╗└╗
  68.     ╖╬▒╫╞─└╧┐í ▒Γ╖╧╟╤┤┘. ╣«└┌┐¡┐í┤┬ ╖╬▒╫╞─└╧┐í ▒╫┤δ╖╬ ║╣╗τ╡╟┤┬
  69.     ╣«└┌┐═ ╟α╣┘▓▐░· ┼╟└╗ │¬┼╕│╗┤┬ C└╟ "\n"░· "\t" ┴ª╛ε╣«└┌╕ª
  70.     ╗τ┐δ╟╥ ╝÷ └╓┤┘. ╖╬▒╫╞─└╧┐í ╡√┐╚╟Ñ│¬ ╣Θ╜╜╖í╜¼╕ª ╛▓╖┴╕Θ ╛╒┐í
  71.     ╣▌╡σ╜├ ╣Θ╜╜╖í╜¼╕ª └√╛ε┴α╛▀ ╟╤┤┘.</p>
  72.  
  73.     <p>┐Σ├╗└╟ ╞»┬í└║ ╟ⁿ╜─ ╣«└┌┐¡┐í "<code>%</code>" ┴÷╜├╛ε╕ª
  74.     ╗τ┐δ╟╧┐⌐ ▒Γ╖╧╟╤┤┘. └╠ ┴÷╜├╛ε┤┬ ╖╬▒╫╞─└╧┐í╝¡ ┤┘└╜░· ░░└╠
  75.     ║»░µ╡╚┤┘.</p>
  76.  
  77.     <table class="bordered"><tr class="header"><th>╟ⁿ╜─ ╣«└┌┐¡</th>
  78.         <th>╝│╕φ</th></tr>
  79. <tr><td><code>%%</code></td>
  80.         <td>╞█╝╛╞« ▒Γ╚ú (<em>╛╞╞──í 2.0.44 └╠╚─</em>)</td></tr>
  81. <tr class="odd"><td><code>%...a</code></td>
  82.         <td>┐°░▌ IP-┴╓╝╥</td></tr>
  83. <tr><td><code>%...A</code></td>
  84.         <td>(╝¡╣÷) IP-┴╓╝╥</td></tr>
  85. <tr class="odd"><td><code>%...B</code></td>
  86.         <td>HTTP ╟∞┤⌡╕ª ┴ª┐▄╟╤ └ⁿ╝█ ╣┘└╠╞«╝÷.</td></tr>
  87. <tr><td><code>%...b</code></td>
  88.         <td>HTTP ╟∞┤⌡╕ª ┴ª┐▄╟╤ └ⁿ╝█ ╣┘└╠╞«╝÷. CLF ╟ⁿ╜─░· ░░└╠
  89.         └ⁿ╝█╟╤ │╗┐δ└╠ ╛°┤┬ ░µ┐∞ 0 ┤δ╜┼ '<code>-</code>'░í │¬┐┬┤┘.</td></tr>
  90. <tr class="odd"><td><code>%...{<var>Foobar</var>}C</code></td>
  91.         <td>╝¡╣÷░í ╝÷╜┼╟╤ ┐Σ├╗┐í╝¡ <var>Foobar</var> ─φ┼░└╟
  92.         │╗┐δ.</td></tr>
  93. <tr><td><code>%...D</code></td>
  94.         <td>┐Σ├╗└╗ ├│╕«╟╧┤┬╡Ñ ░╔╕░ ╜├░ú (╕╢└╠┼⌐╖╬├╩ ┤▄└º).</td></tr>
  95. <tr class="odd"><td><code>%...{<var>FOOBAR</var>}e</code></td>
  96.         <td>╚»░µ║»╝÷ <var>FOOBAR</var>└╟ │╗┐δ</td></tr>
  97. <tr><td><code>%...f</code></td>
  98.         <td>╞─└╧╕φ</td></tr>
  99. <tr class="odd"><td><code>%...h</code></td>
  100.         <td>┐°░▌ ╚ú╜║╞«</td></tr>
  101. <tr><td><code>%...H</code></td>
  102.         <td>┐Σ├╗ ╟┴╖╬┼Σ─▌</td></tr>
  103. <tr class="odd"><td><code>%...{<var>Foobar</var>}i</code></td>
  104.         <td>╝¡╣÷░í ╝÷╜┼╟╤ ┐Σ├╗┐í╝¡ <code><var>Foobar</var>:</code>
  105.         ╟∞┤⌡└╟ │╗┐δ.</td></tr>
  106. <tr><td><code>%...l</code></td>
  107.         <td>(└╓┤┘╕Θ identd░í ┴ª░°╟╤) ┐°░▌ ╖╬▒╫└╬╕φ.
  108.         <code class="directive"><a href="../mod/mod_ident.html#identitycheck">IdentityCheck</a></code>░í
  109.         <code>On</code>└╠ ╛╞┤╧╕Θ ╗⌐▒Γ▒Γ╚ú╕ª ▒Γ╖╧╟╤┤┘.</td></tr>
  110. <tr class="odd"><td><code>%...m</code></td>
  111.         <td>┐Σ├╗ ╕▐╜ß╡σ</td></tr>
  112. <tr><td><code>%...{<var>Foobar</var>}n</code></td>
  113.         <td>┤┘╕Ñ ╕≡╡Γ└╠ ▒Γ╖╧╟╤ <var>Foobar</var> │δ╞«(note)
  114.         │╗┐δ.</td></tr>
  115. <tr class="odd"><td><code>%...{<var>Foobar</var>}o</code></td>
  116.         <td>└└┤Σ└╟ <code><var>Foobar</var>:</code> ╟∞┤⌡ │╗┐δ.</td></tr>
  117. <tr><td><code>%...p</code></td>
  118.         <td>┐Σ├╗└╗ ╝¡║±╜║╟╧┤┬ ╝¡╣÷└╟ ┴ñ▒╘ ╞≈╞«</td></tr>
  119. <tr class="odd"><td><code>%...P</code></td>
  120.         <td>┐Σ├╗└╗ ╝¡║±╜║╟╧┤┬ └┌╜─└╟ ╟┴╖╬╝╝╜║ ID.</td></tr>
  121. <tr><td><code>%...{<var>format</var>}P</code></td>
  122.         <td>┐Σ├╗└╗ ╝¡║±╜║╟╧┤┬ └┌╜─└╟ ╟┴╖╬╝╝╜║ ID ╚ñ└║ ╛▓╖╣╡σ
  123.         ID. format┐í┤┬ <code>pid</code>┐═ <code>tid</code>░í
  124.         ░í┤╔╟╧┤┘. (<em>╛╞╞──í 2.0.46 └╠╚─</em>)
  125.         </td></tr>
  126. <tr class="odd"><td><code>%...q</code></td>
  127.         <td>┴·└╟╣«└┌┐¡ (┴·└╟╣«└┌┐¡└╠ └╓┤┘╕Θ ╛╒┐í <code>?</code>╕ª
  128.         ║┘└╠░φ, ╛°┤┘╕Θ ║≤ ╣«└┌┐¡)</td></tr>
  129. <tr><td><code>%...r</code></td>
  130.         <td>┐Σ├╗└╟ ├╣╣°┬░ ┴┘</td></tr>
  131. <tr class="odd"><td><code>%...s</code></td>
  132.         <td>╗≤┼┬(status). │╗║╬ ╕«┤┘└╠╖║╝╟╡╚ ┐Σ├╗└╟ ░µ┐∞ *┐°╖í*
  133.         ┐Σ├╗└╟ ╗≤┼┬└╠┤┘. ├╓┴╛ ┐Σ├╗└╟ ╗≤┼┬┤┬ <code>%...>s</code>.</td></tr>
  134. <tr><td><code>%...t</code></td>
  135.         <td>common log format ╜├░ú ╟ⁿ╜─(╟Ñ┴╪ ┐╡╛ε ╟ⁿ╜─)└╟ ╜├░ú</td></tr>
  136. <tr class="odd"><td><code>%...{<var>format</var>}t</code></td>
  137.         <td><code>strftime(3)</code> ╟ⁿ╜─ format└╟ ╜├░ú. (┴÷┐¬╜├░ú└╧
  138.         ╝÷ └╓└╜)</td></tr>
  139. <tr><td><code>%...T</code></td>
  140.         <td>┐Σ├╗└╗ ├│╕«╟╧┤┬╡Ñ ░╔╕░ ╜├░ú (├╩ ┤▄└º).</td></tr>
  141. <tr class="odd"><td><code>%...u</code></td>
  142.         <td>┐°░▌ ╗τ┐δ└┌ (auth░í ┴ª░°╟╧╕τ, ╗≤┼┬(<code>%s</code>)░í
  143.         401└╬ ░µ┐∞ └╠╗≤╟╤ ░¬└╗ │¬┐├ ╝÷ └╓└╜)</td></tr>
  144. <tr><td><code>%...U</code></td>
  145.         <td>┴·└╟╣«└┌┐¡└╗ ┴ª┐▄╟╤ ┐Σ├╗ URL ░µ╖╬.</td></tr>
  146. <tr class="odd"><td><code>%...v</code></td>
  147.         <td>┐Σ├╗└╗ ╝¡║±╜║╟╤ ╝¡╣÷└╟ ┴ñ▒╘ <code class="directive"><a href="../mod/core.html#servername">ServerName</a></code>.</td></tr>
  148. <tr><td><code>%...V</code></td>
  149.         <td><code class="directive"><a href="../mod/core.html#usecanonicalname">UseCanonicalName</a></code>
  150.         ╝│┴ñ┐í ╡√╕Ñ ╝¡╣÷╕φ.</td></tr>
  151. <tr class="odd"><td><code>%...X</code></td>
  152.         <td>└└┤Σ└╗ ╕╢├╞└╗╢º ┐¼░ß ╗≤┼┬.
  153.  
  154.         <table>
  155.         
  156.         <tr><td><code>X</code> =</td>
  157.             <td>└└┤Σ└╗ ╕╢─í▒Γ └ⁿ┐í ┐¼░ß└╠ ▓≈╛ε┴│┤┘.</td></tr>
  158.         <tr><td><code>+</code> =</td>
  159.             <td>└└┤Σ└╗ ║╕│╜╚─┐í╡╡ ┐¼░ß└╠ ╗∞╛╞└╓┤┘(keep alive).</td></tr>
  160.         <tr><td><code>-</code> = </td>
  161.             <td>└└┤Σ└╗ ║╕│╜╚─ ┐¼░ß└╠ ▓≈╛ε┴│┤┘.</td></tr>
  162.         </table>
  163.  
  164.         <p>(╛╞╞──í 1.3 ╚─╣▌ ╣÷└ⁿ┐í╝¡ └╠ ┴÷╜├╛ε┤┬
  165.         <code>%...c</code>┐┤┴÷╕╕, └ⁿ┼δ└√└╬ ssl
  166.         <code>%...{<var>var</var>}c</code> ╣«╣²░· ░π├─╝¡
  167.         ║»░µ╟▀┤┘.)</p></td></tr>
  168. <tr><td><code>%...I</code></td>
  169.         <td>┐Σ├╗░· ╟∞┤⌡╕ª ╞≈╟╘╟╤ ╝÷╜┼ ╣┘└╠╞«╝÷╖╬ 0└╧ ╝÷ ╛°┤┘.
  170.         └╠╕ª ╗τ┐δ╟╧╖┴╕Θ <code class="module"><a href="../mod/mod_logio.html">mod_logio</a></code>░í ╟╩┐Σ╟╧┤┘.</td></tr>
  171. <tr class="odd"><td><code>%...O</code></td>
  172.         <td>╟∞┤⌡╕ª ╞≈╟╘╟╤ ╝█╜┼ ╣┘└╠╞«╝÷╖╬ 0└╧ ╝÷ ╛°┤┘. └╠╕ª
  173.         ╗τ┐δ╟╧╖┴╕Θ <code class="module"><a href="../mod/mod_logio.html">mod_logio</a></code>░í ╟╩┐Σ╟╧┤┘.</td></tr>
  174. </table>
  175.  
  176.     <p>"<var>...</var>"┐í┤┬ (<em>┐╣╕ª ╡Θ╛ε</em>,
  177.     <code>"%h %u %r %s %b"</code>) ╛╞╣½░═╡╡ ╛°░┼│¬, ╟╫╕±└╗ ╞≈╟╘╟╥
  178.     ┴╢░╟└╠ │¬┐┬┤┘ (┴╢░╟└╗ ╕╕┴╖╟╧┴÷ ╛╩└╕╕Θ └┌╕«┐í "-"╕ª ▒Γ╖╧╟╤┤┘).
  179.     ┴╢░╟└║ ╛╒┐í "!"╕ª ║┘└╠░┼│¬ ╛╚║┘└╬ HTTP ╗≤┼┬─┌╡σ ╕±╖╧└╕╖╬
  180.     └█╝║╟╤┤┘. ┐╣╕ª ╡Θ╛ε, "%400,501{User-agent}i"┤┬ 400 (Bad
  181.     Request) ┐└╖∙┐═ 501 (Not Implemented) ┐└╖∙└╧╢º╕╕
  182.     <code>User-agent:</code>╕ª ╖╬▒╫┐í │▓▒Γ░φ,
  183.     "%!200,304,302{Referer}i"┤┬ ┴ñ╗≤└√└╬ ╗≤┼┬░í <em>╛╞┤╤</em>
  184.     ╕≡╡τ ┐Σ├╗┐í ┤δ╟╪ <code>Referer:</code>╕ª ╖╬▒╫┐í │▓▒Σ┤┘.</p>
  185.  
  186.     <p>╝÷┴ñ└┌ "<"┐═ ">"┤┬ │╗║╬ ╕«┤┘└╠╖║╝╟╡╚ ┐Σ├╗┐í╝¡ ░ó░ó
  187.     ├│└╜ ┐Σ├╗└╗ ╕╗╟╥┴÷ ╕╢┴÷╕╖ ┐Σ├╗└╗ ╕╗╟╥┴÷ ╝▒┼├╟╤┤┘. ▒Γ║╗└√└╕╖╬
  188.     <code>%s, %U, %T, %D, %r</code>└║ ├│└╜ ┐Σ├╗└╗ ║╕░φ, │¬╕╙┴÷
  189.     <code>%</code> ┴÷╜├╛ε┤┬ ╕╢┴÷╕╖ ┐Σ├╗└╗ ║╗┤┘. ▒╫╖í╝¡
  190.     <code>%>s</code>┤┬ ┐Σ├╗└╟ ╕╢┴÷╕╖ ╗≤┼┬(status)╕ª ▒Γ╖╧╟╧░φ,
  191.     <code>%<u</code>┤┬ └╬┴⌡└╕╖╬ ║╕╚ú╟╧┴÷ ╛╩┤┬ └┌┐°└╕╖╬ │╗║╬
  192.     ╢≤┤┘└╠╖║╝╟╡╚ ░µ┐∞┐í╡╡ ├│└╜┐í └╬┴⌡╟╤ ╗τ┐δ└┌╕ª ▒Γ╖╧╟╤┤┘.</p>
  193.  
  194.     <p>2.0.46 └╠└ⁿ└╟ httpd 2.0 ╣÷└ⁿ└║ <code>%...r</code>,
  195.     <code>%...i</code>, <code>%...o</code>└╟ ░ß░· ╣«└┌┐¡└╗ ▒╫┤δ╖╬
  196.     ╡╬╛·┤┘. └╠└»┤┬ Common Log Format└╟ ┐Σ▒╕╗τ╟╫└╗ ╡√╕ú▒Γ└º╟╪╝¡┐┤┤┘.
  197.     ┴∩, ┼¼╢≤└╠╛≡╞«░í ┴ª╛ε╣«└┌╕ª ╖╬▒╫┐í ┴²╛ε│╓└╗ ╝÷ └╓▒Γ╢º╣«┐í
  198.     ╖╬▒╫╞─└╧└╗ ▒╫┤δ╖╬ ┤┘╖Ω ╢º┤┬ ┴╢╜╔╟╪╛▀ ╟╤┤┘.</p>
  199.  
  200.     <p>║╕╛╚╗≤ └╠└»╖╬ 2.0.46║╬┼═ ├Γ╖┬╟╥ ╝÷ ╛°┤┬ ╣«└┌│¬ ┤┘╕Ñ ╞»╝÷╣«└┌╕ª
  201.     <code>\x<var>hh</var></code>╖╬ ╟Ñ╟÷╟╤┤┘. ┐⌐▒Γ╝¡ <var>hh</var>┤┬
  202.     ╟╪┤τ ╣┘└╠╞«└╟ 16┴°╝÷ ╟Ñ╟÷└╗ │¬┼╕│╜┤┘. └╠ ▒╘─ó└╟ ┐╣┐▄┤┬ ╣Θ╜╜╖í╜¼╕ª
  203.     ╛╒┐í ║┘└╠┤┬ <code>"</code>┐═ <code>\</code>, ▒╫╕«░φ C╛≡╛ε
  204.     ╟ⁿ╜─└╟ ░°╣Θ╣«└┌╡Θ(<code>\n</code>, <code>\t</code> ╡ε)└╠┤┘.</p>
  205.  
  206.     <p>└╧╣▌└√└╕╖╬ ╕╣└╠ ╗τ┐δ╟╧┤┬ ╖╬▒╫ ╟ⁿ╜─└║ ┤┘└╜░· ░░┤┘.</p>
  207.  
  208.     <dl>
  209.       <dt>Common Log Format (CLF)</dt>
  210.       <dd><code>"%h %l %u %t \"%r\" %>s %b"</code></dd>
  211.  
  212.       <dt>░í╗≤╚ú╜║╞« ┴ñ║╕╕ª ╞≈╟╘╟╤ Common Log Format</dt>
  213.       <dd><code>"%v %h %l %u %t \"%r\" %>s %b"</code></dd>
  214.  
  215.       <dt>NCSA extended/combined ╖╬▒╫ ╟ⁿ╜─</dt>
  216.       <dd><code>"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
  217.       \"%{User-agent}i\""</code></dd>
  218.  
  219.       <dt>Referer ╖╬▒╫ ╟ⁿ╜─</dt>
  220.       <dd><code>"%{Referer}i -> %U"</code></dd>
  221.  
  222.       <dt>Agent (║Ω╢≤┐∞└·) ╖╬▒╫ ╟ⁿ╜─</dt>
  223.       <dd><code>"%{User-agent}i"</code></dd>
  224.     </dl>
  225.  
  226.     <p>┐Σ├╗└╗ ╝¡║±╜║╟╧┤┬ ╝¡╣÷└╟ ┴ñ▒╘ <code class="directive"><a href="../mod/core.html#servername">ServerName</a></code>░· <code class="directive"><a href="../mod/mpm_common.html#listen">Listen</a></code>└║ ░ó░ó <code>%v</code>┐═
  227.     <code>%p</code>╕ª ╗τ┐δ╟╤┤┘. ╖╬▒╫║╨╝« ╟┴╖╬▒╫╖Ñ└╠ ╜╟┴ª╖╬ ┐Σ├╗└╗
  228.     ╝¡║±╜║╟╧┤┬ ╚ú╜║╞«╕ª ╛╦▒Γ└º╟╪ ░í╗≤╚ú╜║╞« ├ú▒Γ ╛╦░φ╕«┴≥└╗
  229.     ░í┴· ╟╩┐Σ╛°╡╡╖╧ └╠╡Θ ░¬└║ <code class="directive"><a href="../mod/core.html#usecanonicalname">UseCanonicalName</a></code> ╝│┴ñ░· ╣½░ⁿ╟╧┤┘.</p>
  230. </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  231. <div class="section">
  232. <h2><a name="security" id="security">║╕╛╚╗≤ ░φ╖┴╟╥ ┴í</a></h2>
  233.     <p>╝¡╣÷╕ª ╜├└█╟╧┤┬ ╗τ┐δ└┌┐▄┐í ┤┘╕Ñ ╗τ┐δ└┌░í ╖╬▒╫╞─└╧└╗ └·└σ╟╧┤┬
  234.     ╡≡╖║┼Σ╕«┐í ╛▓▒Γ ▒╟╟╤└╗ ░í┴·╢º ┐╓ ║╕╛╚┐í ╣«┴ª░í ╗²▒Γ┤┬┴÷
  235.     <a href="../misc/security_tips.html#serverroot">║╕╛╚ ╞┴</a>
  236.     ╣«╝¡╕ª ┬ⁿ░φ╟╧╢≤.</p>
  237. </div>
  238. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  239. <div class="directive-section"><h2><a name="CookieLog" id="CookieLog">CookieLog</a> <a name="cookielog" id="cookielog">┴÷╜├╛ε</a></h2>
  240. <table class="directive">
  241. <tr><th><a href="directive-dict.html#Description">╝│╕φ:</a></th><td>─φ┼░╕ª ╖╬▒╫┐í │▓▒Γ▒Γ└º╟╪ ╗τ┐δ╟╥ ╞─└╧╕φ└╗ ╝│┴ñ╟╤┤┘</td></tr>
  242. <tr><th><a href="directive-dict.html#Syntax">╣«╣²:</a></th><td><code>CookieLog <var>filename</var></code></td></tr>
  243. <tr><th><a href="directive-dict.html#Context">╗τ┐δ└σ╝╥:</a></th><td>┴╓╝¡╣÷╝│┴ñ, ░í╗≤╚ú╜║╞«</td></tr>
  244. <tr><th><a href="directive-dict.html#Status">╗≤┼┬:</a></th><td>Base</td></tr>
  245. <tr><th><a href="directive-dict.html#Module">╕≡╡Γ:</a></th><td>mod_log_config</td></tr>
  246. <tr><th><a href="directive-dict.html#Compatibility">┴÷┐°:</a></th><td>└╠ ┴÷╜├╛ε┤┬ ╗τ┐δ╡╟┴÷ ╛╩┤┬┤┘.</td></tr>
  247. </table>
  248.     <p><code class="directive">CookieLog</code> ┴÷╜├╛ε┤┬ ─φ┼░╕ª ╖╬▒╫┐í
  249.     │▓▒Γ▒Γ└º╟╪ ╗τ┐δ╟╥ ╞─└╧╕φ└╗ ╝│┴ñ╟╤┤┘. ╞─└╧╕φ└║ <code class="directive"><a href="../mod/core.html#serverroot">ServerRoot</a></code>┐í ╗≤┤δ░µ╖╬└╠┤┘. └╠
  250.     ┴÷╜├╛ε┤┬ <code>mod_cookies</code>┐═ ╚ú╚»└╗ └º╟╪ ╞≈╟╘╟▀└╗╗╙,
  251.     ╜╟┴ª ╗τ┐δ╡╟┴÷ ╛╩┤┬┤┘.</p>
  252.  
  253. </div>
  254. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  255. <div class="directive-section"><h2><a name="CustomLog" id="CustomLog">CustomLog</a> <a name="customlog" id="customlog">┴÷╜├╛ε</a></h2>
  256. <table class="directive">
  257. <tr><th><a href="directive-dict.html#Description">╝│╕φ:</a></th><td>╖╬▒╫╞─└╧ └╠╕º░· ╟ⁿ╜─└╗ ┴÷┴ñ╟╤┤┘</td></tr>
  258. <tr><th><a href="directive-dict.html#Syntax">╣«╣²:</a></th><td><code>CustomLog  <var>file</var>|<var>pipe</var>
  259. <var>format</var>|<var>nickname</var>
  260. [env=[!]<var>environment-variable</var>]</code></td></tr>
  261. <tr><th><a href="directive-dict.html#Context">╗τ┐δ└σ╝╥:</a></th><td>┴╓╝¡╣÷╝│┴ñ, ░í╗≤╚ú╜║╞«</td></tr>
  262. <tr><th><a href="directive-dict.html#Status">╗≤┼┬:</a></th><td>Base</td></tr>
  263. <tr><th><a href="directive-dict.html#Module">╕≡╡Γ:</a></th><td>mod_log_config</td></tr>
  264. </table>
  265.     <p>╝¡╣÷░í ┐Σ├╗└╗ ╖╬▒╫┐í │▓▒µ╢º <code class="directive">CustomLog</code>
  266.     ┴÷╜├╛ε╕ª ╗τ┐δ╟╤┤┘. ╖╬▒╫ ╟ⁿ╜─└╗ ┴÷┴ñ╟╧░φ, ╚»░µ║»╝÷╕ª ╗τ┐δ╟╧┐⌐
  267.     ┐Σ├╗└╟ ╞»┬í┐í ╡√╢≤ ╝▒┼├└√└╕╖╬ ╖╬▒╫╕ª │▓▒µ ╝÷╡╡ └╓┤┘.</p>
  268.  
  269.     <p>╖╬▒╫╕ª ▒Γ╖╧╟╥ └σ╝╥╕ª ┴÷┴ñ╟╧┤┬ ├╣╣°┬░ ╛╞▒╘╕╒╞«┐í┤┬ ┤┘└╜
  270.     ╡╤┴▀ ╟╧│¬╕ª ╗τ┐δ╟╤┤┘.</p>
  271.  
  272.     <dl>
  273.       <dt><var>file</var></dt>
  274.       <dd><code class="directive"><a href="../mod/core.html#serverroot">ServerRoot</a></code>┐í
  275.       ╗≤┤δ└√└╬ ╞─└╧╕φ.</dd>
  276.  
  277.       <dt><var>pipe</var></dt>
  278.       <dd>╞─└╠╟┴╣«└┌ "<code>|</code>"╡┌┐í ╖╬▒╫ ┴ñ║╕╕ª ╟Ñ┴╪└╘╖┬└╕╖╬
  279.       ╣▐└╗ ╟┴╖╬▒╫╖Ñ ░µ╖╬╕ª └√┤┬┤┘.
  280.  
  281.       <div class="warning"><h3>║╕╛╚:</h3>
  282.       <p>╟┴╖╬▒╫╖Ñ└╗ ╗τ┐δ╟╤┤┘╕Θ ╟┴╖╬▒╫╖Ñ└║ └Ñ╝¡╣÷╕ª ╜├└█╟╤ ╗τ┐δ└┌
  283.       ▒╟╟╤└╕╖╬ ╜╟╟α╡╚┤┘. ╝¡╣÷╕ª root╖╬ ╜├└█╟╤┤┘╕Θ ╟┴╖╬▒╫╖Ñ╡╡
  284.       root╖╬ ╜╟╟α╟╧╣╟╖╬ ╟┴╖╬▒╫╖Ñ└╠ ╛╚└ⁿ╟╤┴÷ ╚«└╬╟╧╢≤.</p>
  285.       </div>
  286.       <div class="warning"><h3>┴╓└╟</h3>
  287.         <p>└»┤╨╜║░í ╛╞┤╤ ╟├╖í╞√┐í╝¡ ╞─└╧░µ╖╬╕ª └╘╖┬╟╥╢º ╟├╖í╞√└╠
  288.         ╣Θ╜╜╖í╜¼╕ª ╗τ┐δ╟╧┤⌡╢≤╡╡ ╣▌╡σ╜├ ╜╜╖í╜¼╕ª ╗τ┐δ╟╪╛▀ ╟╤┤┘.
  289.         └╧╣▌└√└╕╖╬ ╝│┴ñ╞─└╧┐í╝¡┤┬ ╟╫╗≤ ╜╜╖í╜¼╕ª ╗τ┐δ╟╧┤┬ ░═└╠
  290.         ┴┴┤┘.</p>
  291.       </div></dd>
  292.     </dl>
  293.  
  294.     <p>╡╬╣°┬░ ╛╞▒╘╕╒╞«┤┬ ╖╬▒╫╞─└╧┐í ▒Γ╖╧╟╥ │╗┐δ└╗ ┴÷┴ñ╟╤┤┘.
  295.     └ⁿ┐í <code class="directive"><a href="#logformat">LogFormat</a></code>└╕╖╬
  296.     ┴ñ└╟╟╤ <var>nickname</var>└╗ ╗τ┐δ╟╧░┼│¬ ┴≈┴ó <a href="#formats">╖╬▒╫ ╟ⁿ╜─</a> └²┐í╝¡ ╝│╕φ╟╤ <var>format</var>
  297.     ╣«└┌┐¡└╗ ╗τ┐δ╟╥ ╝÷ └╓┤┘.</p>
  298.  
  299.     <p>┐╣╕ª ╡Θ╛ε, ┤┘└╜ ╡╬ ┴÷╜├╛ε┤┬ ╢╚░░└║ └╧└╗ ╟╤┤┘.</p>
  300.  
  301.     <div class="example"><p><code>
  302.       # ╟ⁿ╜─ ║░─¬└╗ ╗τ┐δ╟╤ CustomLog<br />
  303.       LogFormat "%h %l %u %t \"%r\" %>s %b" common<br />
  304.       CustomLog logs/access_log common<br />
  305.       <br />
  306.       # ┴≈┴ó ╟ⁿ╜─ ╣«└┌┐¡└╗ ╗τ┐δ╟╤ CustomLog<br />
  307.       CustomLog logs/access_log "%h %l %u %t \"%r\" %>s %b"
  308.     </code></p></div>
  309.  
  310.     <p>╝╝╣°┬░ ╛╞▒╘╕╒╞«┤┬ ╛°╛ε╡╡ ╡╟╕τ, ╞»┴ñ ╝¡╣÷ ╚»░µ║»╝÷ └»╣½┐í
  311.     ╡√╢≤ ┐Σ├╗└╗ ╖╬▒╫┐í ▒Γ╖╧╟╥┴÷ ┐⌐║╬╕ª ░ß┴ñ╟╤┤┘. ┐Σ├╗┐í ┴÷┴ñ╟╤
  312.     <a href="../env.html">╚»░µ║»╝÷</a>░í ┴ñ└╟╡╟└╓┤┘╕Θ (╚ñ└║
  313.     '<code>env=!<var>name</var></code>'╕ª ╗τ┐δ╟╤ ░µ┐∞ ╛°┤┘╕Θ)
  314.     ┐Σ├╗└╗ ╖╬▒╫┐í ▒Γ╖╧╟╤┤┘.</p>
  315.  
  316.     <p><code class="module"><a href="../mod/mod_setenvif.html">mod_setenvif</a></code>│¬ <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code>
  317.     ╕≡╡Γ└╗ ╗τ┐δ╟╧┐⌐ ┐Σ├╗║░╖╬ ╚»░µ║»╝÷╕ª ╝│┴ñ╟╥ ╝÷ └╓┤┘. ┐╣╕ª
  318.     ╡Θ╛ε, ╝¡╣÷░í GIF ▒╫╕▓┐í ┤δ╟╤ ╕≡╡τ ┐Σ├╗└╗ ┴╓╝¡╣÷ ╖╬▒╫░í ╛╞┤╤
  319.     ┤┘╕Ñ ╖╬▒╫╞─└╧┐í ▒Γ╖╧╟╧╖┴╕Θ,</p>
  320.     
  321.     <div class="example"><p><code>
  322.       SetEnvIf Request_URI \.gif$ gif-image<br />
  323.       CustomLog gif-requests.log common env=gif-image<br />
  324.       CustomLog nongif-requests.log common env=!gif-image
  325.     </code></p></div>
  326.  
  327. </div>
  328. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  329. <div class="directive-section"><h2><a name="LogFormat" id="LogFormat">LogFormat</a> <a name="logformat" id="logformat">┴÷╜├╛ε</a></h2>
  330. <table class="directive">
  331. <tr><th><a href="directive-dict.html#Description">╝│╕φ:</a></th><td>╖╬▒╫╞─└╧┐í ╗τ┐δ╟╥ ╟ⁿ╜─└╗ ▒Γ╝·╟╤┤┘</td></tr>
  332. <tr><th><a href="directive-dict.html#Syntax">╣«╣²:</a></th><td><code>LogFormat <var>format</var>|<var>nickname</var>
  333. [<var>nickname</var>]</code></td></tr>
  334. <tr><th><a href="directive-dict.html#Default">▒Γ║╗░¬:</a></th><td><code>LogFormat "%h %l %u %t \"%r\" %>s %b"</code></td></tr>
  335. <tr><th><a href="directive-dict.html#Context">╗τ┐δ└σ╝╥:</a></th><td>┴╓╝¡╣÷╝│┴ñ, ░í╗≤╚ú╜║╞«</td></tr>
  336. <tr><th><a href="directive-dict.html#Status">╗≤┼┬:</a></th><td>Base</td></tr>
  337. <tr><th><a href="directive-dict.html#Module">╕≡╡Γ:</a></th><td>mod_log_config</td></tr>
  338. </table>
  339.     <p>└╠ ┴÷╜├╛ε┤┬ ┴ó▒┘ ╖╬▒╫╞─└╧└╟ ╟ⁿ╜─└╗ ┴÷┴ñ╟╤┤┘.</p>
  340.  
  341.     <p><code class="directive">LogFormat</code> ┴÷╜├╛ε┤┬ ╡╬░í┴÷ ╟ⁿ╜─└╕╖╬
  342.     ╗τ┐δ╟╤┤┘. ├╣╣°┬░ ╟ⁿ╜─└║ ╛╞▒╘╕╒╞«╕ª ╟╤░│╕╕ ╗τ┐δ╟╧┐⌐ ┤┘└╜
  343.     <code class="directive">TransferLog</code> ┴÷╜├╛ε╡Θ└╠ ╗τ┐δ╟╥ ╖╬▒╫
  344.     ╟ⁿ╜─└╗ ┴÷┴ñ╟╤┤┘. └╠ ╛╞▒╘╕╒╞«┐í └º└╟ <a href="#formats">╖╬▒╫
  345.     ╟ⁿ╜─ ┴÷┴ñ╟╧▒Γ</a> └²┐í╝¡ ╝│╕φ╟╤ <var>format</var>└╗ ┴≈┴ó
  346.     ╗τ┐δ╟╧░┼│¬, ┤┘└╜┐í ╝│╕φ╟╥ <code class="directive">LogFormat</code>
  347.     ┴÷╜├╛ε╖╬ ╣╠╕« ┴ñ└╟╟╤ (╖╬▒╫ ╟ⁿ╜─└╗ ┴÷─¬╟╧┤┬) <var>nickname</var>└╗
  348.     ╗τ┐δ╟╥ ╝÷ └╓┤┘.</p>
  349.  
  350.     <p><code class="directive">LogFormat</code> ┴÷╜├╛ε└╟ ╡╬╣°┬░ ╟ⁿ╜─└║
  351.     <var>format</var>░· <var>nickname</var>└╗ ┐¼░ß╟╤┤┘. ▒╫╖»╕Θ
  352.     ╡┌┐í╝¡ ╗τ┐δ╟╧┤┬ <code class="directive">LogFormat</code>└╠│¬ <code class="directive"><a href="#customlog">CustomLog</a></code> ┴÷╜├╛ε┐í ╣▌║╣╟╪╝¡
  353.     ╟ⁿ╜─ ╣«└┌┐¡└╗ ╕≡╡╬ └╘╖┬╟╧┤┬ ┤δ╜┼ <var>nickname</var>└╗ ╗τ┐δ╟╥
  354.     ╝÷ └╓┤┘. ║░─¬└╗ ┴ñ└╟╟╧┤┬ <code class="directive">LogFormat</code>
  355.     ┴÷╜├╛ε┤┬ <strong>└╠ ┐▄┐í┤┬ ╛╞╣½ ▒Γ┤╔└╗ ╟╧┴÷ ╛╩┤┬┤┘</strong>.
  356.     ┴∩, ║░─¬<em>╕╕</em>└╗ ┴ñ└╟╟╧╕τ, ╜╟┴ª╖╬ ╟ⁿ╜─└╗ └√┐δ╟╧░┼│¬
  357.     ╟ⁿ╜─└╗ ▒Γ║╗░¬└╕╖╬ ╕╕╡Θ┴÷ ╛╩┤┬┤┘. ▒╫╖»╣╟╖╬ ┤┘└╜┐í │¬┐└┤┬
  358.     <code class="directive"><a href="#transferlog">TransferLog</a></code>
  359.     ┴÷╜├╛ε┐í ┐╡╟Γ└╗ ┴╓┴÷ ╛╩┤┬┤┘. ╢╟,
  360.     <code class="directive">LogFormat</code>└║ ║░─¬└╕╖╬ ┤┘╕Ñ ║░─¬└╗
  361.     ┴ñ└╟╟╥ ╝÷ └╓┤┘. ║░─¬ └╠╕º┐í┤┬ ╞█╝╛╞« ▒Γ╚ú(<code>%</code>)╕ª
  362.     ╗τ┐δ╟╥ ╝÷ ╛°└╜└╗ ┴╓└╟╟╧╢≤.</p>
  363.  
  364.     <div class="example"><h3>┐╣┴ª</h3><p><code>
  365.       LogFormat "%v %h %l %u %t \"%r\" %>s %b" vhost_common
  366.     </code></p></div>
  367.  
  368. </div>
  369. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  370. <div class="directive-section"><h2><a name="TransferLog" id="TransferLog">TransferLog</a> <a name="transferlog" id="transferlog">┴÷╜├╛ε</a></h2>
  371. <table class="directive">
  372. <tr><th><a href="directive-dict.html#Description">╝│╕φ:</a></th><td>╖╬▒╫╞─└╧ └º─í╕ª ╝│┴ñ╟╤┤┘</td></tr>
  373. <tr><th><a href="directive-dict.html#Syntax">╣«╣²:</a></th><td><code>TransferLog <var>file</var>|<var>pipe</var></code></td></tr>
  374. <tr><th><a href="directive-dict.html#Context">╗τ┐δ└σ╝╥:</a></th><td>┴╓╝¡╣÷╝│┴ñ, ░í╗≤╚ú╜║╞«</td></tr>
  375. <tr><th><a href="directive-dict.html#Status">╗≤┼┬:</a></th><td>Base</td></tr>
  376. <tr><th><a href="directive-dict.html#Module">╕≡╡Γ:</a></th><td>mod_log_config</td></tr>
  377. </table>
  378.     <p>└╠ ┴÷╜├╛ε┤┬ <code class="directive"><a href="#customlog">CustomLog</a></code> ┴÷╜├╛ε┐═ ╛╞▒╘╕╒╞«┐═
  379.     ▒Γ┤╔└╠ ║±╜┴╟╧┴÷╕╕, ╖╬▒╫ ╟ⁿ╜─└╗ ┴≈┴ó ┴÷┴ñ╟╧░┼│¬ ┐Σ├╗└╗ ┴╢░╟┐í
  380.     ╡√╢≤ ╖╬▒╫┐í │▓▒µ ╝÷ ╛°┤┘. ┤δ╜┼ ░í└σ ├╓▒┘ ╗τ┐δ╟╤ (║░─¬└╗
  381.     ┴ñ└╟╟╧┴÷ ╛╩└║) <code class="directive"><a href="#logformat">LogFormat</a></code> ┴÷╜├╛ε░í ┴÷┴ñ╟╤
  382.     ╖╬▒╫ ╟ⁿ╜─└╗ ╗τ┐δ╟╤┤┘. ╣╠╕« ╟ⁿ╜─└╗ ┴÷┴ñ╟╧┴÷ ╛╩╛╥┤┘╕Θ Common
  383.     Log Format└╗ ╗τ┐δ╟╤┤┘.</p>
  384.  
  385.     <div class="example"><h3>┐╣┴ª</h3><p><code>
  386.       LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\""<br />
  387.       TransferLog logs/access_log
  388.     </code></p></div>
  389.  
  390. </div>
  391. </div>
  392. <div class="bottomlang">
  393. <p><span>░í┤╔╟╤ ╛≡╛ε: </span><a href="../en/mod/mod_log_config.html" hreflang="en" rel="alternate" title="English"> en </a> |
  394. <a href="../ja/mod/mod_log_config.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
  395. <a href="../ko/mod/mod_log_config.html" title="Korean"> ko </a></p>
  396. </div><div id="footer">
  397. <p class="apache">Copyright 1999-2004 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>
  398. <p class="menu"><a href="../mod/">╕≡╡Γ</a> | <a href="../mod/directives.html">┴÷╜├╛ε╡Θ</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">┐δ╛ε</a> | <a href="../sitemap.html">╗τ└╠╞«╕╩</a></p></div>
  399. </body></html>