home *** CD-ROM | disk | FTP | other *** search
/ Cricao de Sites - 650 Layouts Prontos / WebMasters.iso / Servidores / apache_2.2.8-win32-x86-no_ssl.msi / Data1.cab / _DDAE45F2570D00BC663C8B856D58DEBD < prev    next >
Extensible Markup Language  |  2007-09-02  |  21KB  |  356 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_alias - 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.2</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/">Documentation</a> > <a href="../">Version 2.2</a> > <a href="./">╕≡╡Γ</a></div>
  21. <div id="page-content">
  22. <div id="preamble"><h1>╛╞╞──í ╕≡╡Γ mod_alias</h1>
  23. <div class="toplang">
  24. <p><span>░í┤╔╟╤ ╛≡╛ε: </span><a href="../en/mod/mod_alias.html" hreflang="en" rel="alternate" title="English"> en </a> |
  25. <a href="../ja/mod/mod_alias.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
  26. <a href="../ko/mod/mod_alias.html" title="Korean"> ko </a></p>
  27. </div>
  28. <div class="outofdate">└╠ ╣«╝¡┤┬ ├╓╜┼╞╟ ╣°┐¬└╠ ╛╞┤╒┤╧┤┘.
  29.             ├╓▒┘┐í ║»░µ╡╚ │╗┐δ└║ ┐╡╛ε ╣«╝¡╕ª ┬ⁿ░φ╟╧╝╝┐Σ.</div>
  30. <table class="module"><tr><th><a href="module-dict.html#Description">╝│╕φ:</a></th><td>╞─└╧╜├╜║┼█└╟ ┤┘╕Ñ ║╬║╨╡Θ└╗ ╣«╝¡ ░Φ├■▒╕┴╢┐í ╞≈╟╘╟╧░φ,
  31.     URL ╕«┤┘└╠╖║╝╟└╗ ┴ª░°╟╤┤┘</td></tr>
  32. <tr><th><a href="module-dict.html#Status">╗≤┼┬:</a></th><td>Base</td></tr>
  33. <tr><th><a href="module-dict.html#ModuleIdentifier">╕≡╡Γ╕φ:</a></th><td>alias_module</td></tr>
  34. <tr><th><a href="module-dict.html#SourceFile">╝╥╜║╞─└╧:</a></th><td>mod_alias.c</td></tr></table>
  35. <h3>┐Σ╛α</h3>
  36.  
  37.     <p>└╠ ╕≡╡Γ└╠ ┴ª░°╟╧┤┬ ┴÷╜├╛ε╡Θ└╗ ╗τ┐δ╟╧┐⌐ ╝¡╣÷░í ┐Σ├╗└╗
  38.     ╣▐└╗╢º URL└╗ ╝÷┴ñ╟╧░┼│¬ ┴╢└█╟╥ ╝÷ └╓┤┘. <code class="directive"><a href="#alias">Alias</a></code>┐═ <code class="directive"><a href="#scriptalias">ScriptAlias</a></code> ┴÷╜├╛ε┤┬ URL└╗
  39.     ╞─└╧╜├╜║┼█ ░µ╖╬╖╬ ┤δ└└╟╤┤┘. ▒╫╖í╝¡ <code class="directive"><a href="../mod/core.html#documentroot">DocumentRoot</a></code> ╛╞╖í┐í ╛°┤┬ │╗┐δ└╗
  40.     └Ñ└╕╖╬ ╝¡║±╜║╟╥ ╝÷ └╓┤┘. ╢╟, <code class="directive"><a href="#scriptalias">ScriptAlias</a></code> ┴÷╜├╛ε┤┬ ┴÷┴ñ╟╤
  41.     ╡≡╖║┼Σ╕«┐í CGI ╜║┼⌐╕│╞«╣█┐í ╛°┤┘░φ ╛╦╕░┤┘.</p>
  42.  
  43.     <p><code class="directive"><a href="#redirect">Redirect</a></code> ┴÷╜├╛ε┤┬
  44.     ┼¼╢≤└╠╛≡╞«┐í░╘ ┤┘╕Ñ URL╖╬ ╗⌡╖╬┐ε ┐Σ├╗└╗ ╟╧╡╡╖╧ ┴÷╜├╟╤┤┘.
  45.     └┌┐°└╗ ╗⌡╖╬┐ε └σ╝╥╖╬ ┐┼▒Σ ░µ┐∞ └┌┴╓ ╗τ┐δ╟╤┤┘.</p>
  46.  
  47.     <p><code class="module"><a href="../mod/mod_alias.html">mod_alias</a></code>┤┬ ░ú┤▄╟╤ URL ┴╢└█└╗ └º╟╪
  48.     ╝│░Φ╡╟╛·┤┘. ┴·└╟╣«└┌┐¡ ┴╢└█░· ░░└║ ║╣└Γ╟╤ └█╛≈└║
  49.     <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code>░í ┴ª░°╟╧┤┬ ▒Γ┤╔└╗ └╠┐δ╟╧╢≤.</p>
  50.  
  51. </div>
  52. <div id="quickview"><h3 class="directives">┴÷╜├╛ε╡Θ</h3>
  53. <ul id="toc">
  54. <li><img alt="" src="../images/down.gif" /> <a href="#alias">Alias</a></li>
  55. <li><img alt="" src="../images/down.gif" /> <a href="#aliasmatch">AliasMatch</a></li>
  56. <li><img alt="" src="../images/down.gif" /> <a href="#redirect">Redirect</a></li>
  57. <li><img alt="" src="../images/down.gif" /> <a href="#redirectmatch">RedirectMatch</a></li>
  58. <li><img alt="" src="../images/down.gif" /> <a href="#redirectpermanent">RedirectPermanent</a></li>
  59. <li><img alt="" src="../images/down.gif" /> <a href="#redirecttemp">RedirectTemp</a></li>
  60. <li><img alt="" src="../images/down.gif" /> <a href="#scriptalias">ScriptAlias</a></li>
  61. <li><img alt="" src="../images/down.gif" /> <a href="#scriptaliasmatch">ScriptAliasMatch</a></li>
  62. </ul>
  63. <h3>┴╓┴ª</h3>
  64. <ul id="topics">
  65. <li><img alt="" src="../images/down.gif" /> <a href="#order">├│╕« ╝°╝¡</a></li>
  66. </ul><h3>┬ⁿ░φ</h3>
  67. <ul class="seealso">
  68. <li><code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code></li>
  69. <li><a href="../urlmapping.html">URL└╗ ╞─└╧╜├╜║┼█┐í ┤δ└└</a></li>
  70. </ul></div>
  71. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  72. <div class="section">
  73. <h2><a name="order" id="order">├│╕« ╝°╝¡</a></h2>
  74.  
  75. <p>╝¡╖╬ ┤┘╕Ñ ╗τ┐δ└σ╝╥┐í╝¡ Alias┐═ Redirect╕ª ╗τ┐δ╟╧╕Θ ┤┘╕Ñ ┴÷╜├╛ε┐═
  76. ░░└╠ ╟Ñ┴╪ <a href="../sections.html#mergin">░ß╟╒ ╣µ╣²</a>┐í
  77. ╡√╢≤ ├│╕«╟╤┤┘. ▒╫╖»│¬ ░░└║ ╗τ┐δ└σ╝╥┐í (┐╣╕ª ╡Θ╛ε, ░░└║ <code class="directive"><a href="../mod/core.html#virtualhost"><VirtualHost></a></code> ╝╜╝╟┐í)
  78. Alias┐═ Redirect╕ª ╗τ┐δ╟╧╕Θ ╛╞╖í ╝°╝¡┤δ╖╬ ├│╕«╟╤┤┘.</p>
  79.  
  80. <p>╕╒└· ╕≡╡τ Redirect╕ª ├│╕«╟╤ ╚─ Alias╕ª ├│╕«╟╤┤┘. ▒╫╖í╝¡
  81. <code class="directive"><a href="#redirect">Redirect</a></code>│¬ <code class="directive"><a href="#redirectmatch">RedirectMatch</a></code>┐í ╟╪┤τ╟╧┤┬ ┐Σ├╗└║
  82. └²┤δ╖╬ Alias╟╧┴÷ ╛╩┤┬┤┘. ▒╫╕«░φ Alias┐═ Redirect┤┬ ╝│┴ñ╞─└╧┐í╝¡
  83. ├╣╣°┬░╖╬ │¬┐└┤┬ ░═└╗ ╗τ┐δ╟╤┤┘.</p>
  84.  
  85. <p>▒╫╖í╝¡ ┐⌐╖» ┴÷╜├╛ε░í ╡┐└╧╟╤ ╟╧└º░µ╖╬┐í ╟╪┤τ╟╧┤┬ ░µ┐∞ ╕≡╡τ
  86. ┴÷╜├╛ε╕ª └√┐δ╟╧▒Γ└º╟╪╝¡┤┬ ░í└σ ╗≤╝╝╟╤ ░µ╖╬╕ª ╕╒└· ╗τ┐δ╟╪╛▀ ╟╤┤┘.
  87. ┐╣╕ª ╡Θ╛ε, ┤┘└╜ ╝│┴ñ└║ └╟╡╡╟╤┤δ╖╬ ╡┐└█╟╤┤┘:</p>
  88.  
  89. <div class="example"><p><code>
  90. Alias /foo/bar /baz<br />
  91. Alias /foo /gaq
  92. </code></p></div>
  93.  
  94. <p>▒╫╖»│¬ └º└╟ ╡╬ ┴÷╜├╛ε ╝°╝¡╕ª ╣┘▓┘╕Θ <code>/foo/bar</code>
  95. <code class="directive"><a href="#alias">Alias</a></code> └╠└ⁿ┐í
  96. <code>/foo</code> <code class="directive"><a href="#alias">Alias</a></code>╕ª
  97. └√┐δ╟╧╣╟╖╬ ╟╫╗≤ ╡╬╣°┬░ ┴÷╜├╛ε╕ª ╣½╜├╟╤┤┘.</p>
  98.  
  99. </div>
  100. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  101. <div class="directive-section"><h2><a name="Alias" id="Alias">Alias</a> <a name="alias" id="alias">┴÷╜├╛ε</a></h2>
  102. <table class="directive">
  103. <tr><th><a href="directive-dict.html#Description">╝│╕φ:</a></th><td>URL└╗ ╞»┴ñ ╞─└╧╜├╜║┼█ └σ╝╥╖╬ ┤δ└└╟╤┤┘</td></tr>
  104. <tr><th><a href="directive-dict.html#Syntax">╣«╣²:</a></th><td><code>Alias <var>URL-path</var>
  105. <var>file-path</var>|<var>directory-path</var></code></td></tr>
  106. <tr><th><a href="directive-dict.html#Context">╗τ┐δ└σ╝╥:</a></th><td>┴╓╝¡╣÷╝│┴ñ, ░í╗≤╚ú╜║╞«</td></tr>
  107. <tr><th><a href="directive-dict.html#Status">╗≤┼┬:</a></th><td>Base</td></tr>
  108. <tr><th><a href="directive-dict.html#Module">╕≡╡Γ:</a></th><td>mod_alias</td></tr>
  109. </table>
  110.  
  111.     <p><code class="directive">Alias</code> ┴÷╜├╛ε╕ª ╗τ┐δ╟╧╕Θ ╞─└╧╜├╜║┼█┐í╝¡
  112.     <code class="directive"><a href="../mod/core.html#documentroot">DocumentRoot</a></code> ╣█┐í └╓┤┬
  113.     ╣«╝¡╡╡ ╝¡║±╜║╟╥ ╝÷ └╓┤┘. <var>url-path</var>╖╬ ╜├└█╟╧┤┬
  114.     (%╖╬ └╬─┌╡∙╡╚) URL└╗ <var>directory-path</var>╖╬ ╜├└█╟╧┤┬
  115.     ╞─└╧┐í ┤δ└└╟╤┤┘.</p>
  116.  
  117.     <div class="example"><h3>┐╣┴ª:</h3><p><code>
  118.       Alias /image /ftp/pub/image
  119.     </code></p></div>
  120.  
  121.     <p>http://myserver/image/foo.gif╕ª ┐Σ├╗╟╧╕Θ ╝¡╣÷┤┬
  122.     /ftp/pub/image/foo.gif ╞─└╧└╗ │╤░▄┴╪┤┘.</p>
  123.  
  124.     <p><var>url-path</var> │í┐í /╕ª ╞≈╟╘╟╧╕Θ, URL │í┐í /╕ª
  125.     ╗τ┐δ╟╪╛▀╕╕ ┐╡╟Γ└╠ └╓└╜└╗ ┴╓└╟╟╧╢≤. ┴∩, <code>Alias /icons/
  126.     /usr/local/apache/icons/</code> ╝│┴ñ└║ url <code>/icons</code>┐═
  127.     ░ⁿ░Φ░í ╛°┤┘.</p>
  128.  
  129.     <p>┤δ└└└╟ <em>┤δ╗≤</em>└╗ ╞≈╟╘╟╧┤┬ ┐⌐╖» <code class="directive"><a href="../mod/core.html#directory"><Directory></a></code> ╝╜╝╟└╠
  130.     ╟╩┐Σ╟╥┴÷╡╡ ╕≡╕Ñ┤┘. └╠ ┴÷╜├╛ε┤┬ <code class="directive"><a href="../mod/core.html#directory"><Directory></a></code> ╝╜╝╟└╗ ░╦╗τ╟╧▒Γ └ⁿ┐í
  131.     ├│╕«╟╧╣╟╖╬, ┤δ└└└╟ ┤δ╗≤╕╕ ╝╜╝╟└╟ ┐╡╟Γ└╗ ╣▐┤┬┤┘. (▒╫╖»│¬
  132.     <code class="directive"><a href="../mod/core.html#location"><Location></a></code>
  133.     ╝╜╝╟└║ └╠ ┴÷╜├╛ε╕ª ├│╕«╟╧▒Γ └ⁿ┐í ╟╤╣°╕╕ ░╦╗τ╟╧╣╟╖╬ ┴÷┴ñ╟╤
  134.     URL └╠╟╧ └ⁿ├╝┐í ┐╡╟Γ└╗ ┴╪┤┘.)</p>
  135.  
  136.     <p>╞»╚≈ <code class="directive"><a href="../mod/core.html#documentroot">DocumentRoot</a></code>
  137.     ╣█┐í └╓┤┬ ╡≡╖║┼Σ╕«╖╬ <code>Alias</code>╕ª ╕╕╡Θ╛·┤┘╕Θ, ┴≈┴ó
  138.     ┤δ╗≤ ╡≡╖║┼Σ╕«└╟ ┴ó▒┘└╗ ╟π┐δ╟╪┴α╛▀ ╟╤┤┘.</p>
  139.  
  140.     <div class="example"><h3>┐╣┴ª:</h3><p><code>
  141.         Alias /image /ftp/pub/image<br />
  142.         <Directory /ftp/pub/image><br />
  143.         <span class="indent">
  144.             Order allow,deny<br />
  145.             Allow from all<br />
  146.         </span>
  147.         </Directory>
  148.     </code></p></div>
  149.  
  150.  
  151. </div>
  152. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  153. <div class="directive-section"><h2><a name="AliasMatch" id="AliasMatch">AliasMatch</a> <a name="aliasmatch" id="aliasmatch">┴÷╜├╛ε</a></h2>
  154. <table class="directive">
  155. <tr><th><a href="directive-dict.html#Description">╝│╕φ:</a></th><td>┴ñ▒╘╟Ñ╟÷╜─└╗ ╗τ┐δ╟╧┐⌐ URL└╗ ╞─└╧╜├╜║┼█ └σ╝╥╖╬
  156. ┤δ└└╟╤┤┘</td></tr>
  157. <tr><th><a href="directive-dict.html#Syntax">╣«╣²:</a></th><td><code>AliasMatch <var>regex</var>
  158. <var>file-path</var>|<var>directory-path</var></code></td></tr>
  159. <tr><th><a href="directive-dict.html#Context">╗τ┐δ└σ╝╥:</a></th><td>┴╓╝¡╣÷╝│┴ñ, ░í╗≤╚ú╜║╞«</td></tr>
  160. <tr><th><a href="directive-dict.html#Status">╗≤┼┬:</a></th><td>Base</td></tr>
  161. <tr><th><a href="directive-dict.html#Module">╕≡╡Γ:</a></th><td>mod_alias</td></tr>
  162. </table>
  163.     <p>└╠ ┴÷╜├╛ε┤┬ <code class="directive"><a href="#alias">Alias</a></code>┐═
  164.     ░░┴÷╕╕, ░ú┤▄╚≈ URL└╟ ╛╒║╬║╨╕╕ ║±▒│╟╧┤┬ ┤δ╜┼ ╟Ñ┴╪ ┴ñ▒╘╟Ñ╟÷╜─└╗
  165.     ╗τ┐δ╟╤┤┘. ┴÷┴ñ╟╤ ┴ñ▒╘╟Ñ╟÷╜─└╗ URL ░µ╖╬┐═ ║±▒│╟╧┐⌐ ╕┬┤┘╕Θ,
  166.     ╝¡╣÷┤┬ ░²╚ú╖╬ ╣¡└║ ║╬║╨└╗ ┤δ├╝╟╧┐⌐ ╞─└╧╕φ└╕╖╬ ╗τ┐δ╟╤┤┘.
  167.     ┐╣╕ª ╡Θ╛ε, ┤┘└╜░· ░░└╠ <code>/icons</code> ╡≡╖║┼Σ╕«╕ª ╗τ┐δ╟╥
  168.     ╝÷ └╓┤┘:</p>
  169.  
  170.     <div class="example"><p><code>
  171.       AliasMatch ^/icons(.*) /usr/local/apache/icons$1
  172.     </code></p></div>
  173.  
  174. </div>
  175. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  176. <div class="directive-section"><h2><a name="Redirect" id="Redirect">Redirect</a> <a name="redirect" id="redirect">┴÷╜├╛ε</a></h2>
  177. <table class="directive">
  178. <tr><th><a href="directive-dict.html#Description">╝│╕φ:</a></th><td>┼¼╢≤└╠╛≡╞«░í ┤┘╕Ñ URL┐í ┴ó╝╙╟╧╡╡╖╧ ┐Σ├╗╟╧┤┬ ┐▄║╬
  179. ╕«┤┘└╠╖║╝╟└╗ ║╕│╜┤┘</td></tr>
  180. <tr><th><a href="directive-dict.html#Syntax">╣«╣²:</a></th><td><code>Redirect [<var>status</var>] <var>URL-path</var>
  181. <var>URL</var></code></td></tr>
  182. <tr><th><a href="directive-dict.html#Context">╗τ┐δ└σ╝╥:</a></th><td>┴╓╝¡╣÷╝│┴ñ, ░í╗≤╚ú╜║╞«, directory, .htaccess</td></tr>
  183. <tr><th><a href="directive-dict.html#Override">Override ┐╔╝╟:</a></th><td>FileInfo</td></tr>
  184. <tr><th><a href="directive-dict.html#Status">╗≤┼┬:</a></th><td>Base</td></tr>
  185. <tr><th><a href="directive-dict.html#Module">╕≡╡Γ:</a></th><td>mod_alias</td></tr>
  186. </table>
  187.     <p>Redirect ┴÷╜├╛ε┤┬ └╠└ⁿ URL└╗ ╗⌡╖╬┐ε URL╖╬ ┤δ└└╟╤┤┘.
  188.     ┼¼╢≤└╠╛≡╞«┐í░╘ ╗⌡╖╬┐ε URL└╗ ║╕│╗░φ, ┼¼╢≤└╠╛≡╞«┤┬ ╗⌡╖╬┐ε
  189.     ┴╓╝╥╖╬ ┤┘╜├ ╟╤╣° ┴ó╝╙╟╤┤┘. (%╖╬ └╬─┌╡∙╡╚) <var>URL-path</var>╖╬
  190.     ╜├└█╟╧┤┬ ┐Σ├╗└╗ ╣▐└╕╕Θ (%╖╬ └╬─┌╡∙╡╚) <var>URL</var>╖╬ ╜├└█╟╧┤┬
  191.     ╗⌡╖╬┐ε URL╖╬ ╕«┤┘└╠╖║╝╟ ┐└╖∙╕ª ║╕│╜┤┘.</p>
  192.  
  193.     <div class="example"><h3>┐╣┴ª:</h3><p><code>
  194.       Redirect /service http://foo2.bar.com/service
  195.     </code></p></div>
  196.  
  197.     <p>┼¼╢≤└╠╛≡╞«░í http://myserver/service/foo.txt╕ª ┐Σ├╗╟╧╕Θ
  198.     ┤δ╜┼ http://foo2.bar.com/service/foo.txt┐í ┴ó▒┘╟╧╢≤┤┬ └└┤Σ└╗
  199.     ╣▐┤┬┤┘.</p>
  200.  
  201. <div class="note"><h3>┴╓└╟</h3> <p>Redirect ┴÷╜├╛ε┤┬ ╝│┴ñ╞─└╧┐í╝¡
  202. │¬┐└┤┬ ╝°╝¡┐═ ░ⁿ░Φ╛°└╠ Alias┐═ ScriptAlias ┴÷╜├╛ε║╕┤┘ ┐∞╝▒╝°└º░í
  203. │⌠┤┘. ╢╟, .htaccess ╞─└╧└╠│¬ <code class="directive"><a href="../mod/core.html#directory"><Directory></a></code> ╝╜╝╟┐í╝¡ ╗τ┐δ╟╧┤⌡╢≤╡╡
  204. <var>URL-path</var>┐í┤┬ ╗≤┤δ░µ╖╬░í ╛╞┤╧╢≤ ╣▌╡σ╜├ ┐╧└ⁿ╟╤ URL└╗
  205. ╗τ┐δ╟╪╛▀ ╟╤┤┘.</p></div>
  206.  
  207.     <p><var>status</var> ╛╞▒╘╕╒╞«╕ª ┴÷┴ñ╟╧┴÷╛╩└╕╕Θ, "└╙╜├
  208.     (temporary)" (HTTP ╗≤┼┬ 302) ╕«┤┘└╠╖║╝╟└╗ ║╕│╜┤┘. ┴∩,
  209.     ┼¼╢≤└╠╛≡╞«┐í░╘ └┌┐°└╗ └╙╜├╖╬ ┐┼░σ┤┘░φ ╛╦╕░┤┘. <var>status</var>
  210.     ╛╞▒╘╕╒╞«╕ª ╗τ┐δ╟╧┐⌐ ┤┘╕Ñ HTTP ╗≤┼┬─┌╡σ╕ª ╣▌╚»╟╥ ╝÷ └╓┤┘:</p>
  211.  
  212.     <dl>
  213.       <dt>permanent</dt>
  214.  
  215.       <dd>└┌┐°└╗ ┐╧└ⁿ╚≈ ┐┼░σ└╜└╗ ╢µ╟╧┤┬ ┐╡▒╕ ╕«┤┘└╠╖║╝╟ ╗≤┼┬╕ª
  216.       (301) ╣▌╚»╟╤┤┘.</dd>
  217.  
  218.       <dt>temp</dt>
  219.  
  220.       <dd>└╙╜├ ╕«┤┘└╠╖║╝╟ ╗≤┼┬╕ª (302) ╣▌╚»╟╤┤┘. ▒Γ║╗░¬└╠┤┘.</dd>
  221.  
  222.       <dt>seeother</dt>
  223.  
  224.       <dd>└┌┐°└╠ ▒│├╝╡╟╛·└╜└╗ ╢µ╟╧┤┬ "┬ⁿ┴╢ (See Other)" ╗≤┼┬╕ª
  225.       (303) ╣▌╚»╟╤┤┘.</dd>
  226.  
  227.       <dt>gone</dt>
  228.  
  229.       <dd>└┌┐°└╠ ┐╡▒╕╚≈ ╗Φ┴ª╡╟╛·└╜└╗ ╢µ╟╧┤┬ "╝╥╕Ω (Gone)" ╗≤┼┬╕ª
  230.       (410) ╣▌╚»╟╤┤┘. └╠ ╗≤┼┬╕ª ╗τ┐δ╟╧╕Θ <var>URL</var> ╛╞▒╘╕╒╞«╕ª
  231.       ╗τ┐δ╟╥ ╝÷ ╛°┤┘.</dd>
  232.     </dl>
  233.  
  234.     <p><var>status</var>┐í ╝²└┌ ╗≤┼┬─┌╡σ╕ª ╗τ┐δ╟╧┐⌐ ┤┘╕Ñ ╗≤┼┬─┌╡σ╡╡
  235.     ╣▌╚»╟╥ ╝÷ └╓┤┘. ╗≤┼┬░í 300░· 399 ╗τ└╠╢≤╕Θ <var>URL</var>
  236.     ╛╞▒╘╕╒╞«╕ª ╗τ┐δ╟╪╛▀ ╟╧░φ, ╛╞┤╧╢≤╕Θ ╗²╖½╟╪╛▀ ╟╤┤┘. ┤▄, ╛╞╞──í
  237.     ─┌╡σ┐í ╗≤┼┬░í ┴ñ└╟╡╟└╓╛ε╛▀ ╟╤┤┘ (http_protocol.c└╟
  238.     <code>send_error_response</code> ╟╘╝÷ ┬ⁿ░φ).</p>
  239.  
  240.     <div class="example"><h3>┐╣┴ª:</h3><p><code>
  241.       Redirect permanent /one http://example.com/two<br />
  242.       Redirect 303 /three http://example.com/other
  243.     </code></p></div>
  244.  
  245.  
  246. </div>
  247. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  248. <div class="directive-section"><h2><a name="RedirectMatch" id="RedirectMatch">RedirectMatch</a> <a name="redirectmatch" id="redirectmatch">┴÷╜├╛ε</a></h2>
  249. <table class="directive">
  250. <tr><th><a href="directive-dict.html#Description">╝│╕φ:</a></th><td>╟÷└τ URL└╠ ┴ñ▒╘╟Ñ╟÷╜─┐í ╟╪┤τ╟╧╕Θ ┐▄║╬ ╕«┤┘└╠╖║╝╟└╗
  251. ║╕│╜┤┘</td></tr>
  252. <tr><th><a href="directive-dict.html#Syntax">╣«╣²:</a></th><td><code>RedirectMatch [<var>status</var>] <var>regex</var>
  253. <var>URL</var></code></td></tr>
  254. <tr><th><a href="directive-dict.html#Context">╗τ┐δ└σ╝╥:</a></th><td>┴╓╝¡╣÷╝│┴ñ, ░í╗≤╚ú╜║╞«, directory, .htaccess</td></tr>
  255. <tr><th><a href="directive-dict.html#Override">Override ┐╔╝╟:</a></th><td>FileInfo</td></tr>
  256. <tr><th><a href="directive-dict.html#Status">╗≤┼┬:</a></th><td>Base</td></tr>
  257. <tr><th><a href="directive-dict.html#Module">╕≡╡Γ:</a></th><td>mod_alias</td></tr>
  258. </table>
  259.     <p>└╠ ┴÷╜├╛ε┤┬ <code class="directive"><a href="#redirect">Redirect</a></code>┐═ ░░┴÷╕╕, ░ú┤▄╚≈
  260.     URL└╟ ╛╒║╬║╨╕╕ ║±▒│╟╧┤┬ ┤δ╜┼ ╟Ñ┴╪ ┴ñ▒╘╟Ñ╟÷╜─└╗ ╗τ┐δ╟╤┤┘.
  261.     ┴÷┴ñ╟╤ ┴ñ▒╘╟Ñ╟÷╜─└╗ URL ░µ╖╬┐═ ║±▒│╟╧┐⌐ ╕┬┤┘╕Θ, ╝¡╣÷┤┬ ░²╚ú╖╬
  262.     ╣¡└║ ║╬║╨└╗ ┤δ├╝╟╧┐⌐ ╞─└╧╕φ└╕╖╬ ╗τ┐δ╟╤┤┘. ┐╣╕ª ╡Θ╛ε, ┤┘└╜└║
  263.     ╕≡╡τ GIF ╞─└╧ ┐Σ├╗┐í ┤δ╟╪ ┤┘╕Ñ ╝¡╣÷└╟ ║±╜┴╟╤ └╠╕º└╗ ░í┴°
  264.     JPEG ╞─└╧╖╬ ╕«┤┘└╠╖║╝╟└╗ ║╕│╜┤┘:</p>
  265.  
  266.     <div class="example"><p><code>
  267.       RedirectMatch (.*)\.gif$ http://www.anotherserver.com$1.jpg
  268.     </code></p></div>
  269.  
  270. </div>
  271. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  272. <div class="directive-section"><h2><a name="RedirectPermanent" id="RedirectPermanent">RedirectPermanent</a> <a name="redirectpermanent" id="redirectpermanent">┴÷╜├╛ε</a></h2>
  273. <table class="directive">
  274. <tr><th><a href="directive-dict.html#Description">╝│╕φ:</a></th><td>┼¼╢≤└╠╛≡╞«░í ┤┘╕Ñ URL┐í ┴ó╝╙╟╧╡╡╖╧ ┐Σ├╗╟╧┤┬ ┐▄║╬
  275. ┐╡▒╕ ╕«┤┘└╠╖║╝╟└╗ ║╕│╜┤┘</td></tr>
  276. <tr><th><a href="directive-dict.html#Syntax">╣«╣²:</a></th><td><code>RedirectPermanent <var>URL-path</var> <var>URL</var></code></td></tr>
  277. <tr><th><a href="directive-dict.html#Context">╗τ┐δ└σ╝╥:</a></th><td>┴╓╝¡╣÷╝│┴ñ, ░í╗≤╚ú╜║╞«, directory, .htaccess</td></tr>
  278. <tr><th><a href="directive-dict.html#Override">Override ┐╔╝╟:</a></th><td>FileInfo</td></tr>
  279. <tr><th><a href="directive-dict.html#Status">╗≤┼┬:</a></th><td>Base</td></tr>
  280. <tr><th><a href="directive-dict.html#Module">╕≡╡Γ:</a></th><td>mod_alias</td></tr>
  281. </table>
  282.     <p>└╠ ┴÷╜├╛ε┤┬ ┼¼╢≤└╠╛≡╞«┐í░╘ ╕«┤┘└╠╖║╝╟└╠ ┐╡▒╕└√└╙└╗ (╗≤┼┬
  283.     301) ╛╦╕░┤┘. <code>Redirect permanent</code>┐═ ┴ñ╚«╚≈ ░░┤┘.</p>
  284.  
  285. </div>
  286. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  287. <div class="directive-section"><h2><a name="RedirectTemp" id="RedirectTemp">RedirectTemp</a> <a name="redirecttemp" id="redirecttemp">┴÷╜├╛ε</a></h2>
  288. <table class="directive">
  289. <tr><th><a href="directive-dict.html#Description">╝│╕φ:</a></th><td>┼¼╢≤└╠╛≡╞«░í ┤┘╕Ñ URL┐í ┴ó╝╙╟╧╡╡╖╧ ┐Σ├╗╟╧┤┬ ┐▄║╬
  290. └╙╜├ ╕«┤┘└╠╖║╝╟└╗ ║╕│╜┤┘</td></tr>
  291. <tr><th><a href="directive-dict.html#Syntax">╣«╣²:</a></th><td><code>RedirectTemp <var>URL-path</var> <var>URL</var></code></td></tr>
  292. <tr><th><a href="directive-dict.html#Context">╗τ┐δ└σ╝╥:</a></th><td>┴╓╝¡╣÷╝│┴ñ, ░í╗≤╚ú╜║╞«, directory, .htaccess</td></tr>
  293. <tr><th><a href="directive-dict.html#Override">Override ┐╔╝╟:</a></th><td>FileInfo</td></tr>
  294. <tr><th><a href="directive-dict.html#Status">╗≤┼┬:</a></th><td>Base</td></tr>
  295. <tr><th><a href="directive-dict.html#Module">╕≡╡Γ:</a></th><td>mod_alias</td></tr>
  296. </table>
  297.     <p>└╠ ┴÷╜├╛ε┤┬ ┼¼╢≤└╠╛≡╞«┐í░╘ ╕«┤┘└╠╖║╝╟└╠ └╙╜├└√└╙└╗ (╗≤┼┬
  298.     302) ╛╦╕░┤┘. <code>Redirect temp</code>┐═ ┴ñ╚«╚≈ ░░┤┘.</p>
  299.  
  300. </div>
  301. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  302. <div class="directive-section"><h2><a name="ScriptAlias" id="ScriptAlias">ScriptAlias</a> <a name="scriptalias" id="scriptalias">┴÷╜├╛ε</a></h2>
  303. <table class="directive">
  304. <tr><th><a href="directive-dict.html#Description">╝│╕φ:</a></th><td>URL└╗ ╞»┴ñ ╞─└╧╜├╜║┼█ └σ╝╥╖╬ ┤δ└└╟╧░φ ┤δ╗≤└╠ CGI
  305. ╜║┼⌐╕│╞«╢≤░φ ╛╦╕░┤┘</td></tr>
  306. <tr><th><a href="directive-dict.html#Syntax">╣«╣²:</a></th><td><code>ScriptAlias <var>URL-path</var>
  307. <var>file-path</var>|<var>directory-path</var></code></td></tr>
  308. <tr><th><a href="directive-dict.html#Context">╗τ┐δ└σ╝╥:</a></th><td>┴╓╝¡╣÷╝│┴ñ, ░í╗≤╚ú╜║╞«</td></tr>
  309. <tr><th><a href="directive-dict.html#Status">╗≤┼┬:</a></th><td>Base</td></tr>
  310. <tr><th><a href="directive-dict.html#Module">╕≡╡Γ:</a></th><td>mod_alias</td></tr>
  311. </table>
  312.     <p><code class="directive">ScriptAlias</code> ┴÷╜├╛ε┤┬ <code class="directive"><a href="#alias">Alias</a></code> ┴÷╜├╛ε┐═ ║±╜┴╟╧┴÷╕╕,
  313.     ├▀░í╖╬ ┤δ╗≤ ╡≡╖║┼Σ╕«┐í <code class="module"><a href="../mod/mod_cgi.html">mod_cgi</a></code>└╟ cgi-script
  314.     ╟┌╡Θ╖»░í ├│╕«╟╥ CGI ╜║┼⌐╕│╞«░í └╓┤┘░φ ╛╦╕░┤┘.
  315.     <var>URL-path</var>╖╬ ╜├└█╟╧┤┬ (%╖╬ └╬─┌╡∙╡╚) URL└╗ ╞─└╧╜├╜║┼█└╟
  316.     └²┤δ░µ╖╬└╬ ╡╬╣°┬░ ╛╞▒╘╕╒╞«╖╬ ╜├└█╟╧┤┬ ╜║┼⌐╕│╞«┐í ┤δ└└╟╤┤┘.</p>
  317.  
  318.     <div class="example"><h3>┐╣┴ª:</h3><p><code>
  319.       ScriptAlias /cgi-bin/ /web/cgi-bin/
  320.     </code></p></div>
  321.  
  322.     <p><code>http://myserver/cgi-bin/foo</code>╕ª ┐Σ├╗╟╧╕Θ ╝¡╣÷┤┬
  323.     <code>/web/cgi-bin/foo</code> ╜║┼⌐╕│╞«╕ª ╜╟╟α╟╤┤┘.</p>
  324.  
  325. </div>
  326. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  327. <div class="directive-section"><h2><a name="ScriptAliasMatch" id="ScriptAliasMatch">ScriptAliasMatch</a> <a name="scriptaliasmatch" id="scriptaliasmatch">┴÷╜├╛ε</a></h2>
  328. <table class="directive">
  329. <tr><th><a href="directive-dict.html#Description">╝│╕φ:</a></th><td>┴ñ▒╘╟Ñ╟÷╜─└╗ ╗τ┐δ╟╧┐⌐ URL└╗ ╞»┴ñ ╞─└╧╜├╜║┼█ └σ╝╥╖╬
  330. ┤δ└└╟╧░φ ┤δ╗≤└╠ CGI ╜║┼⌐╕│╞«╢≤░φ ╛╦╕░┤┘</td></tr>
  331. <tr><th><a href="directive-dict.html#Syntax">╣«╣²:</a></th><td><code>ScriptAliasMatch <var>regex</var>
  332. <var>file-path</var>|<var>directory-path</var></code></td></tr>
  333. <tr><th><a href="directive-dict.html#Context">╗τ┐δ└σ╝╥:</a></th><td>┴╓╝¡╣÷╝│┴ñ, ░í╗≤╚ú╜║╞«</td></tr>
  334. <tr><th><a href="directive-dict.html#Status">╗≤┼┬:</a></th><td>Base</td></tr>
  335. <tr><th><a href="directive-dict.html#Module">╕≡╡Γ:</a></th><td>mod_alias</td></tr>
  336. </table>
  337.     <p>└╠ ┴÷╜├╛ε┤┬ <code class="directive"><a href="#scriptalias">ScriptAlias</a></code>┐═ ░░┴÷╕╕, ░ú┤▄╚≈
  338.     URL└╟ ╛╒║╬║╨╕╕ ║±▒│╟╧┤┬ ┤δ╜┼ ╟Ñ┴╪ ┴ñ▒╘╟Ñ╟÷╜─└╗ ╗τ┐δ╟╤┤┘.
  339.     ┴÷┴ñ╟╤ ┴ñ▒╘╟Ñ╟÷╜─└╗ URL ░µ╖╬┐═ ║±▒│╟╧┐⌐ ╕┬┤┘╕Θ, ╝¡╣÷┤┬ ░²╚ú╖╬
  340.     ╣¡└║ ║╬║╨└╗ ┤δ├╝╟╧┐⌐ ╞─└╧╕φ└╕╖╬ ╗τ┐δ╟╤┤┘. ┐╣╕ª ╡Θ╛ε, ┤┘└╜░·
  341.     ░░└╠ ╟Ñ┴╪└√└╬ <code>/cgi-bin</code>└╗ ╗τ┐δ╟╥ ╝÷ └╓┤┘:</p>
  342.  
  343.     <div class="example"><p><code>
  344.       ScriptAliasMatch ^/cgi-bin(.*) /usr/local/apache/cgi-bin$1
  345.     </code></p></div>
  346.  
  347. </div>
  348. </div>
  349. <div class="bottomlang">
  350. <p><span>░í┤╔╟╤ ╛≡╛ε: </span><a href="../en/mod/mod_alias.html" hreflang="en" rel="alternate" title="English"> en </a> |
  351. <a href="../ja/mod/mod_alias.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
  352. <a href="../ko/mod/mod_alias.html" title="Korean"> ko </a></p>
  353. </div><div id="footer">
  354. <p class="apache">Copyright 2007 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>
  355. <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>
  356. </body></html>