home *** CD-ROM | disk | FTP | other *** search
/ PC World 2004 May / PCWorld_2004-05_cd.bin / komunikace / apache / apache_2.0.48-win32-x86-no_ssl.msi / Data.Cab / F252206_env.xml.ko < prev    next >
Extensible Markup Language  |  2003-05-11  |  15KB  |  374 lines

  1. <?xml version="1.0" encoding="EUC-KR" ?>
  2. <!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
  3. <?xml-stylesheet type="text/xsl" href="./style/manual.ko.xsl"?>
  4. <!-- English revision: 1.6.2.4 -->
  5.  
  6. <manualpage metafile="env.xml.meta">
  7.  
  8.   <title>╛╞╞──í└╟ ╚»░µ║»╝÷</title>
  9.  
  10.   <summary>
  11.     <p>╛╞╞──í └Ñ╝¡╣÷┤┬ <em>╚»░µ║»╝÷(environment variable)</em>╢≤┤┬
  12.     ║»╝÷┐í ┴ñ║╕╕ª └·└σ╟╥ ╝÷ └╓┤┘. └╠ ┴ñ║╕╕ª ╗τ┐δ╟╧┐⌐ ╖╬▒╫│¬
  13.     ┴ó▒┘┴ª╛ε ╡ε ┐⌐╖» └█╛≈└╗ ┴╢└²╟╤┤┘. ╢╟, ╚»░µ║»╝÷┤┬ CGI ╜║┼⌐╕│╞«┐═
  14.     ░░└║ ┐▄║╬ ╟┴╖╬▒╫╖Ñ░· ┼δ╜┼╟╧┤┬ ╝÷┤▄└╠ ╡╚┤┘. └╠ ╣«╝¡┤┬ ╚»░µ║»╝÷╕ª
  15.     ┤┘╖τ░φ ╗τ┐δ╟╧┤┬ ┤┘╛τ╟╤ ╣µ╣²╡Θ└╗ ╝│╕φ╟╤┤┘.</p>
  16.         
  17.     <p>└╠ ║»╝÷╡Θ└╗ <em>╚»░µ║»╝÷</em>╢≤░φ ║╬╕ú┴÷╕╕, ┐ε┐╡├╝┴ª┐í╝¡
  18.     ╕╗╟╧┤┬ ╚»░µ║»╝÷┐═ ┤┘╕ú┤┘. └╠ ║»╝÷┤┬ ╛╞╞──í │╗║╬┐í └·└σ╡╟░φ
  19.     ╗τ┐δ╡╚┤┘. ╚»░µ║»╝÷┤┬ CGI ╜║┼⌐╕│╞«│¬ Server Side Include
  20.     ╜║┼⌐╕│╞«╖╬ │╤░▄┴·╢º╕╕ ╜╟┴ª ┐ε┐╡├╝┴ª ╚»░µ║»╝÷░í ╡╚┤┘. ╝¡╣÷╕ª
  21.     ╜╟╟α╟╧┤┬ ┐ε┐╡├╝┴ª ╚»░µ└╗ ╝÷┴ñ╟╧░φ ╜═┤┘╕Θ ┐ε┐╡├╝┴ª ╜⌐┐í╝¡
  22.     ╚»░µ└╗ ╝÷┴ñ╟╪╛▀ ╟╤┤┘.</p>
  23.   </summary>
  24.  
  25.   <section id="setting">
  26.     <title>╚»░µ║»╝÷ ╝│┴ñ╟╧▒Γ</title>
  27.     <related>
  28.       <modulelist>
  29.         <module>mod_env</module>
  30.         <module>mod_rewrite</module>
  31.         <module>mod_setenvif</module>
  32.         <module>mod_unique_id</module>
  33.       </modulelist>
  34.       <directivelist>
  35.         <directive module="mod_setenvif">BrowserMatch</directive>
  36.         <directive module="mod_setenvif">BrowserMatchNoCase</directive>
  37.         <directive module="mod_env">PassEnv</directive>
  38.         <directive module="mod_rewrite">RewriteRule</directive>
  39.         <directive module="mod_env">SetEnv</directive>
  40.         <directive module="mod_setenvif">SetEnvIf</directive>
  41.         <directive module="mod_setenvif">SetEnvIfNoCase</directive>
  42.         <directive module="mod_env">UnsetEnv</directive>
  43.       </directivelist>
  44.     </related>
  45.     
  46.     <section id="basic-manipulation">
  47.         <title>▒Γ║╗└√└╬ ╚»░µ╝│┴ñ</title>
  48.     
  49.         <p>╛╞╞──í┐í╝¡ ╚»░µ║»╝÷╕ª ╝│┴ñ╟╧┤┬ ░í└σ ▒Γ║╗└√└╬ ╣µ╣²└║
  50.         ╣½┴╢░╟└√└╬ <directive module="mod_env"
  51.         >SetEnv</directive> ┴÷╜├╛ε╕ª ╗τ┐δ╟╧┤┬ ░═└╠┤┘. <directive
  52.         module="mod_env">PassEnv</directive> ┴÷╜├╛ε╕ª ╗τ┐δ╟╧┐⌐
  53.         ╝¡╣÷╕ª ╜├└█╟╤ ╜⌐┐í╝¡ ╚»░µ║»╝÷╕ª ░í┴«┐├ ╝÷╡╡ └╓┤┘.</p>
  54.     
  55.     </section>
  56.     <section id="conditional">
  57.         <title>┐Σ├╗┐í ╡√╕Ñ ┴╢░╟║╬ ╝│┴ñ</title>
  58.     
  59.         <p>┤⌡ └»┐¼╟╧░╘, mod_setenvif░í ┴ª░°╟╧┤┬ ┴÷╜├╛ε┤┬ ┐Σ├╗╕╢┤┘
  60.         ┐Σ├╗└╟ ╞»┬í┐í ╡√╢≤ ╚»░µ║»╝÷╕ª ╝│┴ñ╟╤┤┘. ┐╣╕ª ╡Θ╛ε, ╞»┴ñ
  61.         ║Ω╢≤┐∞└·╖╬ (User-Agent) ┐Σ├╗╟╧░┼│¬ ╞»┴ñ Referer (╕┬├π╣²└╠
  62.         ╞▓╕«┴÷ ╛╩╛╥┤┘) ╟∞┤⌡░í └╓┤┬ ░µ┐∞┐í╕╕ ║»╝÷╕ª ╝│┴ñ╟╥ ╝÷
  63.         └╓┤┘. ╜╔┴÷╛ε mod_rewrite┐í └╓┤┬ <directive
  64.         module="mod_rewrite">RewriteRule</directive>└╟
  65.         <code>[E=...]</code> ┐╔╝╟└╗ ╗τ┐δ╟╧┐⌐ ┤⌡ └»┐¼╟╧░╘ ╚»░µ║»╝÷╕ª
  66.         ╝│┴ñ╟╥ ╝÷╡╡ └╓┤┘.</p>
  67.     
  68.     </section>
  69.     <section id="unique-identifiers">
  70.         <title>└»└╧╟╤ ╜─║░└┌</title>
  71.     
  72.         <p>╕╢┴÷╕╖└╕╖╬ mod_unique_id┤┬ ░ó ┐Σ├╗┐í ┤δ╟╪ ╛ε╢▓ ░µ┐∞┐í╡╡
  73.         "╕≡╡τ" ┐Σ├╗┴▀┐í ╚«╜╟╚≈ └»└╧╟╤(░π─í┴÷╛╩└║) ░¬└╕╖╬
  74.         <code>UNIQUE_ID</code> ╚»░µ║»╝÷╕ª ╝│┴ñ╟╤┤┘.</p>
  75.     
  76.     </section>
  77.     <section id="standard-cgi">
  78.         <title>╟Ñ┴╪ CGI ║»╝÷</title>
  79.     
  80.         <p>CGI ╜║┼⌐╕│╞«┐═ SSI ╣«╝¡┤┬ ╛╞╞──í ╝│┴ñ┐í╝¡ ╝│┴ñ╟╧┐┤░┼│¬
  81.         ╜⌐┐í╝¡ ░í┴«┐┬ ╚»░µ║»╝÷ ┐▄┐í ├▀░í╖╬ <a
  82.         href="http://cgi-spec.golux.com/">CGI ▒╘╛α</a>└╠ ▒╘┴ñ╟╤
  83.         ┐Σ├╗┐í ┤δ╟╤ ┴ñ║╕╕ª ╛╦╖┴┴╓┤┬ ╚»░µ║»╝÷╡Θ└╗ ╣▐┤┬┤┘.</p>
  84.     
  85.     </section>
  86.     <section id="caveats">
  87.         <title>┴╓└╟╟╥ ┴í</title>
  88.     
  89.         <ul>
  90.           <li>╚»░µ╝│┴ñ ┴÷╜├╛ε╕ª ╗τ┐δ╟╧┐⌐ ╟Ñ┴╪ CGI ║»╝÷╕ª ╣½╜├╟╧░┼│¬
  91.           ╝÷┴ñ╟╥ ╝÷ ╛°┤┘.</li>
  92.     
  93.           <li><a href="suexec.html">suexec</a>░í CGI ╜║┼⌐╕│╞«╕ª
  94.           ╜╟╟α╟╧┤┬ ░µ┐∞, ╜├└█╟╧▒Γ└ⁿ┐í CGI ╜║┼⌐╕│╞«└╟ ╚»░µ└║
  95.           <em>╛╚└ⁿ╟╤</em> ║»╝÷╡Θ╕╕ ░í┴÷╡╡╖╧ ├╗╝╥╡╚┤┘.
  96.           <em>╛╚└ⁿ╟╤</em> ║»╝÷ ╕±╖╧└║ ──╞─└╧╜├
  97.           <code>suexec.c</code>┐í ┴ñ└╟╡╚┤┘.</li>
  98.     
  99.           <li>╞≈╞├└╗ └º╟╪ ╚»░µ║»╝÷ └╠╕º┐í┤┬ ┐└┴≈ ╣«└┌, ╝²└┌,
  100.           ╣╪┴┘╣«└┌╕╕ ╗τ┐δ╟╧┤┬ ░═└╠ ┴┴┤┘. ╢╟, ├╣╣°┬░ ╣«└┌╖╬
  101.           ╝²└┌╕ª ╗τ┐δ╟╧┴÷╛╩┤┬ ░═└╠ ┴┴┤┘. CGI ╜║┼⌐╕│╞«│¬ SSI
  102.           ╞Σ└╠┴÷┐í │╤╛ε░Ñ╢º └╠┐▄└╟ ╣«└┌┤┬ ╣╪┴┘╖╬ ┤δ├╝╡╚┤┘.</li>
  103.         </ul>
  104.     </section>
  105.   </section>
  106.   <section id="using">
  107.     <title>╚»░µ║»╝÷ ╗τ┐δ╟╧▒Γ</title>
  108.     
  109.     <related>
  110.       <modulelist>
  111.         <module>mod_access</module>
  112.         <module>mod_cgi</module>
  113.         <module>mod_ext_filter</module>
  114.         <module>mod_headers</module>
  115.         <module>mod_include</module>
  116.         <module>mod_log_config</module>
  117.         <module>mod_rewrite</module>
  118.       </modulelist>
  119.       <directivelist>
  120.         <directive module="mod_access">Allow</directive>
  121.         <directive module="mod_log_config">CustomLog</directive>
  122.         <directive module="mod_access">Deny</directive>
  123.         <directive module="mod_ext_filter">ExtFilterDefine</directive>
  124.         <directive module="mod_headers">Header</directive>
  125.         <directive module="mod_log_config">LogFormat</directive>
  126.         <directive module="mod_rewrite">RewriteCond</directive>
  127.         <directive module="mod_rewrite">RewriteRule</directive>
  128.       </directivelist>
  129.     </related>
  130.  
  131.     <section id="cgi-scripts">
  132.         <title>CGI ╜║┼⌐╕│╞«</title>
  133.     
  134.         <p>╚»░µ║»╝÷└╟ ┴╓╡╚ ┐δ╡╡┴▀ ╟╧│¬┤┬ CGI ╜║┼⌐╕│╞«┐═ ┴ñ║╕╕ª
  135.         ▒│╚»╟╧┤┬ ░═└╠┤┘. ╛╒┐í╝¡ ╝│╕φ╟▀╡φ└╠ ╛╞╞──í ╝│┴ñ┐í╝¡ ╝│┴ñ╟╤
  136.         ║»╝÷┐▄┐í ┐Σ├╗┐í ┤δ╟╤ ╟Ñ┴╪ ┴ñ║╕╕ª ░í┴° ║»╝÷░í CGI ╜║┼⌐╕│╞«╖╬
  137.         │╤╛ε░ú┤┘. ┤⌡ └┌╝╝╟╤ │╗┐δ└║ <a href="howto/cgi.html">CGI
  138.         ┼⌡┼Σ╕«╛≤</a>└╗ ┬ⁿ░φ╟╧╢≤.</p>
  139.     
  140.     </section>
  141.     <section id="ssi-pages">
  142.         <title>SSI ╞Σ└╠┴÷</title>
  143.     
  144.         <p>mod_include└╟ <code>INCLUDES</code> ╟╩┼═░í ├│╕«╟╧┤┬
  145.         ╝¡╣÷╞─╜╠ (SSI) ╣«╝¡┤┬ <code>echo</code> ┐Σ╝╥╕ª ╗τ┐δ╟╧┐⌐
  146.         ╚»░µ║»╝÷╕ª ├Γ╖┬╟╥ ╝÷ └╓░φ, ╚»░µ║»╝÷╕ª ╗τ┐δ╟╧┐⌐ ┐Σ├╗└╟
  147.         ╞»┬í┐í ╡√╢≤ ╚σ╕º┴ª╛ε ┐Σ╝╥╖╬ ╞Σ└╠┴÷└╟ └╧║╬╕ª ║»░µ╟╥ ╝÷
  148.         └╓┤┘. ╛╞╞──í┤┬ ╢╟ SSI ╣«╝¡┐í░╘ └º┐í╝¡ ╝│╕φ╟╤ ╟Ñ┴╪ CGI
  149.         ╚»░µ║»╝÷╕ª ┴ª░°╟╤┤┘. ┤⌡ └┌╝╝╟╤ │╗┐δ└║ <a
  150.         href="howto/ssi.html">SSI ┼⌡┼Σ╕«╛≤</a>└╗ ┬ⁿ░φ╟╧╢≤.</p>
  151.     
  152.     </section>
  153.     <section id="access-control">
  154.         <title>┴ó▒┘┴ª╛ε</title>
  155.     
  156.         <p><code>allow from env=</code>░· <code>deny from env=</code>
  157.         ┴÷╜├╛ε╕ª ╗τ┐δ╟╧┐⌐ ╚»░µ║»╝÷ ░¬┐í ╡√╢≤ ╝¡╣÷╖╬└╟ ┴ó▒┘└╗
  158.         ┴╢└²╟╥ ╝÷ └╓┤┘. <directive
  159.         module="mod_setenvif">SetEnvIf</directive>┐═ ░░└╠ ╗τ┐δ╟╧╕Θ
  160.         ┼¼╢≤└╠╛≡╞«└╟ ╞»┬í┐í ╡√╢≤ └┌└»╖╙░╘ ╝¡╣÷╖╬└╟ ┴ó▒┘└╗ ┴ª╛ε╟╥
  161.         ╝÷ └╓┤┘. ┐╣╕ª ╡Θ╛ε, ╞»┴ñ ║Ω╢≤┐∞└·└╟ (User-Agent) ┴ó▒┘└╗
  162.         ░┼║╬╟╥ ╝÷ └╓┤┘.</p>
  163.     
  164.     </section>
  165.     <section id="logging">
  166.         <title>┴╢░╟║╬ ╖╬▒╫</title>
  167.     
  168.         <p><directive module="mod_log_config">LogFormat</directive>└╟
  169.         <code>%e</code> ┐╔╝╟└╗ ╗τ┐δ╟╧┐⌐ ╚»░µ║»╝÷╕ª ┴ó▒┘ ╖╬▒╫┐í
  170.         ▒Γ╖╧╟╥ ╝÷ └╓┤┘. ╢╟, <directive
  171.         module="mod_log_config">CustomLog</directive> ┴÷╜├╛ε└╟
  172.         ┴╢░╟║╬ ╟ⁿ╜─└╗ ╗τ┐δ╟╧╕Θ ╚»░µ║»╝÷└╟ ╗≤╚▓┐í ╡√╢≤ ┐Σ├╗└╗
  173.         ╖╬▒╫╟╥┴÷ ┐⌐║╬╕ª ░ß┴ñ╟╥ ╝÷ └╓┤┘. <directive
  174.         module="mod_setenvif">SetEnvIf</directive>┐═ ░░└╠ ╗τ┐δ╟╧┐⌐
  175.         ╛ε╢▓ ┐Σ├╗└╗ ╖╬▒╫╟╥┴÷ └┌└»╖╙░╘ ░ß┴ñ╟╥ ╝÷ └╓┤┘. ┐╣╕ª ╡Θ╛ε,
  176.         ╞─└╧╕φ└╠ <code>gif</code>╖╬ │í│¬┤┬ ┐Σ├╗└║ ╖╬▒╫╟╧┴÷ ╛╩░┼│¬,
  177.         ┐▄║╬ │╫╞«┐≈┐í └╓┤┬ ┼¼╢≤└╠╛≡╞«└╟ ┐Σ├╗╕╕└╗ ╖╬▒╫╟╥ ╝÷ └╓┤┘.</p>
  178.  
  179.     </section>
  180.     <section id="response-headers">
  181.         <title>┴╢░╟║╬ └└┤Σ ╟∞┤⌡</title>
  182.     
  183.         <p><directive module="mod_headers">Header</directive>
  184.         ┴÷╜├╛ε┤┬ ┼¼╢≤└╠╛≡╞«┐í░╘ └└┤Σ└╗ ║╕│╛╢º ╚»░µ║»╝÷└╟ └»╣½┐í
  185.         ╡√╢≤ ╛ε╢▓ HTTP ╟∞┤⌡╕ª ╞≈╟╘╟╥┴÷ ░ß┴ñ╟╥ ╝÷ └╓┤┘. ┐╣╕ª
  186.         ╡Θ╛ε, ┼¼╢≤└╠╛≡╞«└╟ ┐Σ├╗┐í ╞»┴ñ ╟∞┤⌡░í └╓┤┬ ░µ┐∞┐í╕╕
  187.         ╛ε╢▓ └└┤Σ ╟∞┤⌡╕ª ║╕│╛ ╝÷ └╓┤┘.</p>
  188.     
  189.     </section>
  190.  
  191.     <section id="external-filter">
  192.         <title>┐▄║╬ ╟╩┼═ ╜╟╟α╟╧▒Γ</title>
  193.  
  194.         <p><module>mod_ext_filter</module>└╟ <directive
  195.         module="mod_ext_filter">ExtFilterDefine</directive>
  196.         ┴÷╜├╛ε╖╬ ╝│┴ñ╟╤ ┐▄║╬ ╟╩┼═╕ª <code>disableenv=</code>┐═
  197.         <code>enableenv=</code> ┐╔╝╟└╗ ╗τ┐δ╟╧┐⌐ ╚»░µ║»╝÷┐í ╡√╢≤
  198.         ╝▒┼├└√└╕╖╬ ╜╟╟α╟╥ ╝÷ └╓┤┘.</p>
  199.     </section>
  200.  
  201.     <section id="url-rewriting">
  202.         <title>URL └τ└█╝║(Rewriting)</title>
  203.     
  204.         <p><directive module="mod_rewrite">RewriteCond</directive>└╟
  205.         <em>TestString</em>┐í <code>%{ENV:...}</code> ╟ⁿ╜─└╗
  206.         ╗τ┐δ╟╧╕Θ mod_rewrite└╟ └τ└█╝║ ┐ú┴°└╠ ╚»░µ║»╝÷┐í ╡√╢≤
  207.         ┤┘╕ú░╘ ╟α╡┐╟╤┤┘. mod_rewrite┐í╝¡ ╛╒┐í <code>ENV:</code>╕ª
  208.         ║┘└╠┴÷╛╩░φ ┴ó▒┘╟╧┤┬ ║»╝÷┤┬ ╜╟┴ª ╚»░µ║»╝÷░í ╛╞┤╘└╗ ┴╓└╟╟╧╢≤.
  209.         ▒╫╡Θ└║ ┤┘╕Ñ ╕≡╡Γ┐í╝¡ └╨└╗ ╝÷ ╛°┤┬ mod_rewrite┐í ╟╤┴ñ╡╚
  210.         ║»╝÷┤┘.</p>
  211.     </section>
  212.   </section>
  213.     
  214.   <section id="special">
  215.     <title>╞»║░╟╤ ╕±└√└╟ ╚»░µ║»╝÷</title>
  216.     
  217.         <p>┼¼╢≤└╠╛≡╞«┐═ ┐°╚░╟╤ ╡┐└█╟╧▒Γ└º╟╪ ╛╞╞──í┤┬ ╞»║░╟╤
  218.         ┼¼╢≤└╠╛≡╞«┐í ┤δ╟╪ └┌╜┼└╟ ╟α╡┐└╗ ╝÷┴ñ╟╤┤┘. ║╕┼δ <directive
  219.         module="mod_setenvif">BrowserMatch</directive>┐í╝¡
  220.         ╚»░µ║»╝÷╕ª ┴ñ└╟╟╧┐⌐ └╠╖▒ ╣«┴ª╕ª ╟╪░ß╟╤┤┘. ▒╫╖»│¬ <directive
  221.         module="mod_env">SetEnv</directive>┐═ <directive
  222.         module="mod_env">PassEnv</directive>╖╬╡╡ ░í┤╔╟╧┤┘.</p>
  223.  
  224.     <section id="downgrade">
  225.         <title>downgrade-1.0</title>
  226.  
  227.         <p>┐Σ├╗└╠ └╠╚─ ╣÷└ⁿ└╗ ╗τ┐δ╟╧┤⌡╢≤╡╡ HTTP/1.0 ┐Σ├╗└╕╖╬
  228.         ├│╕«╟╤┤┘.</p>
  229.  
  230.     </section>
  231.     <section id="force-no-vary">
  232.         <title>force-no-vary</title>
  233.     
  234.         <p>└└┤Σ└╗ ┼¼╢≤└╠╛≡╞«┐í░╘ ║╕│╗▒Γ └ⁿ┐í └└┤Σ ╟∞┤⌡┐í╝¡
  235.         <code>Vary</code> ╟╩╡σ╕ª ╗½┤┘. ╛ε╢▓ ┼¼╢≤└╠╛≡╞«┤┬ └╠
  236.         ╟╩╡σ╕ª ┴ª┤δ╖╬ ╟╪╝«╟╧┴÷ ╕°╟╤┤┘ (<a
  237.         href="misc/known_client_problems.html">┼¼╢≤└╠╛≡╞«└╟
  238.         └╠╣╠ ╛╦╖┴┴° ╣«┴ª┴í</a> ╞Σ└╠┴÷ ┬ⁿ░φ). └╠ ║»╝÷┤┬ └╠╖▒
  239.         ╣«┴ª╕ª ╟╪░ß╟╤┤┘. ╢╟╟╤, └╠ ║»╝÷┤┬
  240.         <strong>force-response-1.0</strong>└╗ ░í┴ñ╟╤┤┘.</p>
  241.     
  242.     </section>
  243.     <section id="force-response">
  244.         <title>force-response-1.0</title>
  245.     
  246.         <p>HTTP/1.0 ┐Σ├╗└╗ ╟╧┤┬ ┼¼╢≤└╠╛≡╞«┐í░╘ HTTP/1.0 └└┤Σ└╗
  247.         ░¡┴ª╟╤┤┘. ┐°╖í AOL ╟┴╖╧╜├┐í ╣«┴ª░í └╓╛ε╝¡ ╕╕╡Θ╛ε┴│┤┘.
  248.         ╛ε╢▓ HTTP/1.0 ┼¼╢≤└╠╛≡╞«┤┬ HTTP/1.1 └└┤Σ└╗ ╣▐└╕╕Θ ┴ª┤δ╖╬
  249.         ╡┐└█╟╧┴÷ ╛╩└╕╣╟╖╬, └╠ ╣«┴ª╕ª ╟╪░ß╟╧▒Γ└º╟╪ ╗τ┐δ╟╤┤┘.</p>
  250.     </section>
  251.  
  252.     <section id="gzip-only-text-html">
  253.         <title>gzip-only-text/html</title>
  254.  
  255.       <p>░¬└╠ "1"└╠╕Θ <code>text/html</code>└╠ ╛╞┤╤ content-type┐í
  256.       ┤δ╟╪ <module>mod_deflate</module>└╟ DEFLATE ├Γ╖┬╟╩┼═╕ª
  257.       ╗τ┐δ╟╧┴÷ ╛╩┤┬┤┘.</p>
  258.     </section>
  259.  
  260.     <section id="no-gzip"><title>no-gzip</title>
  261.     
  262.         <p>└╠ ┐╔╝╟└╗ ╝│┴ñ╟╧╕Θ <module>mod_deflate</module>└╟
  263.         <code>DEFLATE</code> ╟╩┼═╕ª ╗τ┐δ╟╧┴÷ ╛╩┤┬┤┘.</p>
  264.  
  265.     </section>
  266.  
  267.     <section id="nokeepalive">
  268.         <title>nokeepalive</title>
  269.     
  270.         <p><directive module="core">KeepAlive</directive>╕ª
  271.         ╣½╜├╟╤┤┘.</p>
  272.     
  273.     </section>
  274.     <section id="redirect-carefully">
  275.         <title>redirect-carefully</title>
  276.     
  277.         <p>╝¡╣÷░í ┤⌡ ┴╢╜╔╚≈ ┼¼╢≤└╠╛≡╞«┐í░╘ ╕«┤┘└╠╖║╝╟└╗ ║╕│╜┤┘.
  278.         ║╕┼δ ╕«┤┘└╠╖║╝╟└╗ ├│╕«╟╧┤┬╡Ñ ╣«┴ª░í └╓┤┬ ┼¼╢≤└╠╛≡╞«└╗
  279.         └º╟╪ ╗τ┐δ╟╤┤┘. ┐°╖í Microsoft└╟ WebFolders ╝╥╟┴╞«┐■╛ε░í
  280.         DAV ╕▐╜ß╡σ╕ª ┼δ╟╪ ╡≡╖║┼Σ╕« └┌┐°└╟ ╕«┤┘└╠╖║╝╟└╗ ├│╕«╟╧┤┬╡Ñ
  281.         ╣«┴ª░í └╓╛ε╝¡ ╕╕╡Θ╛ε┴│┤┘.</p>
  282.     
  283.     </section>
  284.  
  285.    <section id="suppress-error-charset">
  286.        <title>suppress-error-charset</title>
  287.  
  288.     <p><em>2.0.40 └╠╚─ ╣÷└ⁿ┐í └╓┤┘</em></p>
  289.  
  290.     <p>╛╞╞──í░í ┼¼╢≤└╠╛≡╞«└╟ ┐Σ├╗┐í ┤δ╟╤ └└┤Σ└╕╖╬ ╕«┤┘└╠╖║╝╟└╗
  291.     ║╕│╛╢º ┼¼╢≤└╠╛≡╞«░í └┌╡┐└╕╖╬ ╕«┤┘└╠╖║╝╟└╗ ╡√╢≤░í┴÷ ╕°╟╧┤┬(╚ñ└║
  292.     ╛╩┤┬) ░µ┐∞┐í ┤δ║±╟╧┐⌐ └└┤Σ┐í ╗τ┐δ└┌┐í░╘ ║╕┐⌐┴┘ ╣«▒╕╕ª ╞≈╟╘╟╤┤┘.
  293.     ╛╞╞──í┤┬ ║╕┼δ └╠ ▒█└╗ ╛╞╞──í░í ╗τ┐δ╟╧┤┬ ╣«└┌┴²╟╒└╬ ISO-8859-1╖╬
  294.     ╟Ñ╜├╟╤┤┘.</p>
  295.     <p>▒╫╖»│¬ ╕«┤┘└╠╖║╝╟╡╚ ╞Σ└╠┴÷░í ┤┘╕Ñ ╣«└┌┴²╟╒└╗ ╗τ┐δ╟╥ ░µ┐∞
  296.     ╛ε╢▓ └╠╗≤╟╤ ║Ω╢≤┐∞└· ╣÷└ⁿ└║ ╜╟┴ª ╞Σ└╠┴÷░í ╛╞┤╧╢≤ ╕«┤┘└╠╖║╝╟
  297.     ╞Σ└╠┴÷└╟ ╣«└┌┴²╟╒└╗ ╗τ┐δ╟╧╖┴░φ ╟╤┤┘. ┐╣╕ª ╡Θ╛ε, ▒╫╕«╜║╛ε░í
  298.     └╠╗≤╟╧░╘ ║╕└╧ ╝÷ └╓┤┘.</p>
  299.     <p>└╠ ╚»░µ║»╝÷┤┬ ╛╞╞──í░í ╕«┤┘└╠╖║╝╟ ╞Σ└╠┴÷┐í ╣«└┌┴²╟╒└╗
  300.     ╝│┴ñ╟╧┴÷╛╩╡╡╖╧ ╟╧┐⌐, └╠╖▒ ║Ω╢≤┐∞└·░í ╜╟┴ª ╞Σ└╠┴÷└╟ ╣«└┌┴²╟╒└╗
  301.     ┐├╣┘╖╬ ╗τ┐δ╟╧░╘ ╕╕╡τ┤┘.</p>
  302.  
  303.    </section>
  304.  
  305.   </section>
  306.  
  307.   <section id="examples">
  308.     <title>┐╣┴ª</title>
  309.     
  310.     <section id="misbehaving">
  311.         <title>└▀╕° ╡┐└█╟╧┤┬ ┼¼╢≤└╠╛≡╞«╡Θ└╗ └º╟╪ ╟┴╖╬┼Σ─▌ ╟α╡┐
  312.         ║»░µ╟╧▒Γ</title>
  313.     
  314.         <p>┼¼╢≤└╠╛≡╞«╡Θ└╟ └╠╣╠ ╛╦╖┴┴° ╣«┴ª╕ª ╟╪░ß╟╧▒Γ└º╟╪
  315.         httpd.conf┐í ┤┘└╜ │╗┐δ└╗ ╞≈╟╘╟╧▒µ ╣┘╢⌡┤┘.</p>
  316. <example><pre>
  317. #
  318. # ┤┘└╜ ┴÷╜├╛ε╡Θ└║ └╧╣▌└√└╬ HTTP └└┤Σ└╗ ║»░µ╟╤┤┘.
  319. # ├╣╣°┬░ ┴÷╜├╛ε┤┬ Netscape 2.x┐═ └╠╕ª ░í└σ╟╤ ║Ω╢≤┐∞└·┐í░╘
  320. # keepalive╕ª ╗τ┐δ╟╧┴÷ ╛╩┤┬┤┘. └╠╡Θ ║Ω╢≤┐∞└· ▒╕╟÷┐í ╣«┴ª░í └╓┤┘.
  321. # ╡╬╣°┬░ ┴÷╜├╛ε┤┬ HTTP/1.1 ▒╕╟÷└╠ └▀╕°╡╟╛·░φ 301└╠│¬ 302
  322. # (╕«┤┘└╠╖║╝╟) └└┤Σ┐í ╗τ┐δ╟╤ keepalive╕ª ┴ª┤δ╖╬ ┴÷┐°╟╧┴÷
  323. # ╕°╟╧┤┬ Microsoft Internet Explorer 4.0b2╕ª └º╟╤ ░═└╠┤┘.
  324. #
  325. BrowserMatch "Mozilla/2" nokeepalive
  326. BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
  327.  
  328. #
  329. # ┤┘└╜ ┴÷╜├╛ε┤┬ ▒Γ║╗└√└╬ HTTP/1.1 └└┤Σ└╗ └╠╟╪╟╧┴÷ ╕°╟╧┐⌐
  330. # HTTP/1.0 ▒╘╛α└╗ ╛ε▒Γ┤┬ ║Ω╢≤┐∞└·┐í░╘ HTTP/1.1 └└┤Σ└╗ ║╕│╗┴÷ ╛╩┤┬┤┘.
  331. #
  332. BrowserMatch "RealPlayer 4\.0" force-response-1.0
  333. BrowserMatch "Java/1\.0" force-response-1.0
  334. BrowserMatch "JDK/1\.0" force-response-1.0</pre></example>
  335.  
  336.     </section>
  337.     <section id="no-img-log">
  338.         <title>┴ó▒┘ ╖╬▒╫┐í └╠╣╠┴÷┐í ┤δ╟╤ ┐Σ├╗└╗ ╖╬▒╫╟╧┴÷ ╛╩▒Γ</title>
  339.  
  340.         <p>└╠ ┐╣┴ª┤┬ └╠╣╠┴÷┐í ┤δ╟╤ ┐Σ├╗└╗ ┴ó▒┘ ╖╬▒╫┐í ▒Γ╖╧╟╧┴÷
  341.         ╛╩┤┬┤┘. ╞»┴ñ ╡≡╖║┼Σ╕«┐í ┤δ╟╤ ╚ñ└║ ╞»┴ñ ╚ú╜║╞«┐í╝¡ ┐┬
  342.         ┐Σ├╗└╗ ╖╬▒╫╟╧┴÷ ╛╩╡╡╖╧ ╜▒░╘ ╝÷┴ñ╟╥ ╝÷ └╓┤┘.</p>
  343.     <example><pre>
  344. SetEnvIf Request_URI \.gif image-request
  345. SetEnvIf Request_URI \.jpg image-request
  346. SetEnvIf Request_URI \.png image-request
  347. CustomLog logs/access_log common env=!image-request</pre></example>
  348.  
  349.     </section>
  350.     <section id="image-theft">
  351.         <title>"└╠╣╠┴÷ ╡╡╡╧" ╣µ┴÷</title>
  352.  
  353.         <p>└╠ ┐╣┤┬ ╟÷└τ ╝¡╣÷┐▄└╟ ╗τ┐δ└┌░í ╞Σ└╠┴÷┐í ╝¡╣÷┐í └╓┤┬
  354.         └╠╣╠┴÷╕ª ╞≈╟╘╟╧┴÷ ╕°╟╧╡╡╖╧ ╟╧┤┬ ╣µ╣²└╗ ╝│╕φ╟╤┤┘. └╠
  355.         ╝│┴ñ└╗ ▒╟└σ╟╧┴÷┤┬ ╛╩└╕╕τ, ┴ª╟╤╡╚ ░µ┐∞┐í╕╕ ╡┐└█╟╤┤┘.
  356.         ┐∞╕«┤┬ ╕≡╡τ └╠╣╠┴÷░í /web/images ╡≡╖║┼Σ╕« ╛╚┐í └╓┤┘░φ
  357.         ░í┴ñ╟╤┤┘.</p>
  358.     <example><pre>
  359. SetEnvIf Referer "^http://www.example.com/" local_referal
  360. # Referer ┴ñ║╕╕ª ║╕│╗┴÷ ╛╩┤┬ ║Ω╢≤┐∞└·╕ª ╟π┐δ╟╤┤┘
  361. SetEnvIf Referer "^$" local_referal
  362. <Directory /web/images>
  363.    Order Deny,Allow
  364.    Deny from all
  365.    Allow from env=local_referal
  366. </Directory></pre></example>
  367.     
  368.         <p>└╠ ▒Γ╣²┐í ┤δ╟╤ └┌╝╝╟╤ ╝│╕φ└║ ApacheToday ┼⌡┼Σ╕«╛≤ "<a
  369.         href="http://apachetoday.com/news_story.php3?ltsn=2000-06-14-002-01-PS">
  370.     Keeping Your Images from Adorning Other Sites</a>"╕ª ┬ⁿ░φ╟╧╢≤.</p>
  371.     </section>
  372.   </section>
  373. </manualpage>
  374.