home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2004 May / Gamestar_62_2004-05_dvd.iso / Programy / apache_2.0.48-win32-x86-no_ssl.msi / Data.Cab / F252238_invoking.xml.ru < prev    next >
Extensible Markup Language  |  2003-04-15  |  7KB  |  125 lines

  1. <?xml version='1.0' encoding='KOI8-R' ?>
  2. <!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
  3.  
  4. <!--***************************************************-->
  5. <!-- English revision: 1.2.2.3                         -->
  6. <!--***************************************************-->
  7. <!-- Translator: Ilia Soldis (rkai@tversu.ru)          -->
  8. <!-- Reviewers:                                        -->
  9. <!--             Ivan Shvedov (ivan@tversu.ru)         -->
  10. <!--             Arthur Reznikov (art@altair.tversu.ru)-->
  11. <!--***************************************************-->
  12.  
  13. <?xml-stylesheet type="text/xsl" href="./style/manual.ru.xsl"?>
  14. <manualpage metafile="invoking.xml.meta">
  15.  
  16.   <title>·┴╨╒╙╦ Apache</title>
  17.  
  18. <summary>
  19.     <p>ε┴ Windows ╨╠┴╘╞╧╥═┴╚ Apache ╧┬┘▐╬╧ ╥┴┬╧╘┴┼╘ ╦┴╦ ╙┼╥╫╔╙ Windows NT/2000/XP
  20.     ╔╠╔ ╦┴╦ ╦╧╬╙╧╠╪╬╧┼ ╨╥╔╠╧╓┼╬╔┼ Windows 95/ME. Σ╠╤ ╨╧╠╒▐┼╬╔╤ ┬╧╠┼┼ ╨╧─╥╧┬╬╧╩
  21.     ╔╬╞╧╥═┴├╔╔ ╨╧ ▄╘╧═╒ ╫╧╨╥╧╙╒, ╧┬╥┴╘╔╘┼╙╪ ╦ ─╧╦╒═┼╬╘┴═, ╧┬▀╤╙╬╤└▌╔═ <a
  22.     href="platform/windows.html#winsvc">╥┴┬╧╘╒ Apache ╨╧─ Windows ╫ ╦┴▐┼╙╘╫┼ ╙┼╥╫╔╙┴</a> ╔
  23.     <a href="platform/windows.xml#wincons">╥┴┬╧╘╒ Apache ╨╧─ Windows ╫ ╦┴▐┼╙╘╫┼ ╦╧╬╙╧╠╪╬╧╟╧
  24.     ╨╥╔╠╧╓┼╬╔╤</a>.</p>
  25.  
  26.     <p>≈ Unix ╨╥╧╟╥┴══┴ <a href="programs/httpd.html">httpd</a> ╨╥┼─╙╘┴╫╠╤┼╘ ╙╧┬╧╩
  27.     ─┼═╧╬┴, ╫┘╨╧╠╬╤└▌┼╟╧╙╤ ╫ ╞╧╬╧╫╧═ ╥┼╓╔═┼ ╔ ╧┬╙╠╒╓╔╫┴└▌┼╟╧ ╨╧╙╘╒╨┴└▌╔┼ ┌┴╨╥╧╙┘.
  28.     ∩ ╘╧═, ╦┴╦╔═ ╧┬╥┴┌╧═ ═╧╓╬╧ ┌┴╨╒╙╘╔╘╪ <code>httpd</code> ╔ ▐╘╧ ╫ ╥┼┌╒╠╪╘┴╘┼ ▄╘╧╟╧
  29.     ╨╧╠╒▐╔╘╙╤, ╔ ╥┴╙╙╦┴┌┘╫┴┼╘╙╤ ╫ ▄╘╧═ ─╧╦╒═┼╬╘┼.</p>
  30. </summary>
  31.  
  32. <seealso><a href="stopping.html">∩╙╘┴╬╧╫ ╔ ╨┼╥┼┌┴╨╒╙╦</a></seealso>
  33. <seealso><a href="programs/httpd.html">httpd</a></seealso>
  34. <seealso><a href="programs/apachectl.html">apachectl</a></seealso>
  35.  
  36. <section id="startup"><title>■╘╧ ╨╥╧╔╙╚╧─╔╘ ╫ ═╧═┼╬╘ ┌┴╨╒╙╦┴ Apache</title>
  37.  
  38.     <p>σ╙╠╔ ╫ ─╔╥┼╦╘╔╫┼ <directive module="mpm_common">Listen</directive>
  39.     ╫ ╦╧╬╞╔╟╒╥┴├╔╧╬╬╧═ ╞┴╩╠┼ ╒╦┴┌┴╬╧ ┌╬┴▐┼╬╔┼ 80 (┌┴─┴╫┴┼═╧┼ ╨╧ ╒═╧╠▐┴╬╔└)
  40.     ╔╠╔ ╠└┬╧┼ ─╥╒╟╧┼ ┌╬┴▐┼╬╔┼ ╨╧╥╘┴ ═┼╬╪█┼┼ 1024, ╘╧ ─╠╤ ┌┴╨╒╙╦┴ Apache,
  41.     ╬┼╧┬╚╧─╔═╧ ┬┘╘╪ ╨╥╔╫╔╠┼╟╔╥╧╫┴╬╬┘═ ╨╧╠╪┌╧╫┴╘┼╠┼═, ╘┴╦ ╦┴╦ Apache ╨╥╔─┼╘╙╤
  42.     ╨╧─╦╠└▐┴╘╪╙╤ ╦ ╨╥╔╫╔╠┼╟╔╥╧╫┴╬╬╧═╒ ╨╧╥╘╒. ≡╧╙╠┼ ╘╧╟╧, ╦┴╦ ╙┼╥╫┼╥ ┌┴╨╒╙╘╔╠╙╤
  43.     ╔ ╫┘╨╧╠╬╔╠ ╥╤─ ╨╧─╟╧╘╧╫╔╘┼╠╪╬┘╚ ╧╨┼╥┴├╔╩, ╘┴╦╔╚ ╦┴╦ ╧╘╦╥┘╘╔┼ ╙╫╧╔╚ log - ╞┴╩╠╧╫,
  44.     ╧╬ ╨╧╥╧╓─┴┼╘ ╬┼╙╦╧╠╪╦╧ <em>╨╥╧├┼╙╙╧╫ ╨╧╘╧═╦╧╫</em>, ╦╧╘╧╥┘┼ ╔ ┬╒─╒╘ ╫┘╨╧╠╬╤╘╪
  45.     ╫╙└ ╥┴┬╧╘╒ ╨╧ ╧┬╥┴┬╧╘╦┼ ┌┴╨╥╧╙╧╫ ╧╘ ╦╠╔┼╬╘╧╫. ∩╙╬╧╫╬╧╩ ╨╥╧├┼╙╙ <code>httpd</code>
  46.     ╫┘╨╧╠╬╤┼╘╙╤ ╙ ╨╥┴╫┴═╔ ╨╥╔╫╔╠┼╟╔╥╧╫┴╬╬╧╟╧ ╨╧╠╪┌╧╫┴╘┼╠╤, ╫ ╘╧ ╫╥┼═╤ ╦┴╦ ╨╥╧├┼╙╙┘
  47.     ╨╧╘╧═╦╔ ╔═┼└╘ ═┼╬╪█╔╩ ╨╥╔╧╥╔╘┼╘. ≈╙┼ ▄╘╧ ╦╧╬╘╥╧╠╔╥╒┼╘╙╤ <a href="mpm.html">φ≡ -
  48.     ═╧─╒╠┼═</a>, ╦╧╘╧╥┘╩ ╦╧═╨╔╠╔╥╒┼╘╙╤ ╫═┼╙╘┼ ╙ ╙┼╥╫┼╥╧═.</p>
  49.  
  50.     <p>Σ╠╤ ┌┴╨╒╙╦┴ ─┼═╧╬┴ <code>httpd</code> ╠╒▐█┼ ╫╙┼╟╧ ╔╙╨╧╠╪┌╧╫┴╘╪ ╙╦╥╔╨╘
  51.     <a href="programs/apachectl.html">apachectl</a>. ⁿ╘╧╘ ╙╦╥╔╨╘ ╒╙╘┴╬┴╫╠╔╫┴┼╘ ╬┼╦╧╘╧╥┘┼
  52.     ╨┼╥┼═┼╬╬┘┼ ╧╦╥╒╓┼╬╔╤, ╬┼╧┬╚╧─╔═┘┼ ─╠╤ ╨╥┴╫╔╠╪╬╧╩ ╥┴┬╧╘┘ ╙┼╥╫┼╥┴ ╨╧─ ╬┼╦╧╘╧╥┘═╔
  53.     ╧╨┼╥┴├╔╧╬╬┘═╔ ╙╔╙╘┼═┴═╔, ┴ ┌┴╘┼═ ┌┴╨╒╙╦┴┼╘ ╔╙╨╧╠╬╤┼═┘╩ ╞┴╩╠ <code>httpd</code>.
  54.     ≤╦╥╔╨╘ <code>apachectl</code> ╨┼╥┼─┴╙╘ ╙┼╥╫┼╥╒ ╠└┬╒└ ╦╧═┴╬─╬╒└ ╙╘╥╧╦╒, ╘┴╦ ▐╘╧,
  55.     ╨╥╔ ╫┘┌╧╫┼ ═╧╓╬╧ ╒╦┴┌┘╫┴╘╪ ╫ ┼╟╧ ╦╧═┴╬─╬╧╩ ╙╘╥╧╦┼ ╫╙┼ ╬┼╧┬╚╧─╔═┘┼ ─╠╤ ╙┼╥╫┼╥┴ ╧╨├╔╔.
  56.     ≈┘ ╘┴╦╓┼ ═╧╓┼╘┼ ╫╥╒▐╬╒└ ╫╬┼╙╘╔ ╬┼╦╧╘╧╥┘┼ ╔┌═┼╬┼╬╔╤ ╫ ╙╦╥╔╨╘ <code>apachectl</code>,
  57.     ╫ ▐┴╙╘╬╧╙╘╔, ╔┌═┼╬╔╫ ┌╬┴▐┼╬╔┼ ╨┼╥┼═┼╬╬╧╩ <code>HTTPD</code> ─╠╤ ┌┴╨╒╙╦┴ Apache
  58.     ╔┌ ─╥╒╟╧╟╧ ╦┴╘┴╠╧╟┴, ╔ ╒╦┴┌┴╫ ╧╨├╔╔, ╦╧╘╧╥┘┼ ┬╒─╒╘ ╨┼╥┼─┴╫┴╘╪╙╤ ╙┼╥╫┼╥╒ <em>╦┴╓─┘╩ ╥┴┌</em>
  59.     ╨╥╔ ┼╟╧ ┌┴╨╒╙╦┼.</p>
  60.  
  61.     <p>≡┼╥╫┘═ ─┼╠╧═ <code>httpd</code> ╬┴╚╧─╔╘ ╔ ╙▐╔╘┘╫┴┼╘ <a href="configuring.html">╦╧╬╞╔╟╒╥┴├╔╧╬╬┘╩
  62.     ╞┴╩╠</a> <code>httpd.conf</code>. ≡╒╘╪ ╦ ▄╘╧═╒ ╞┴╩╠╒ ┌┴─┴┼╘╙╤ ┼▌┼ ╫╧ ╫╥┼═╤ ╙┬╧╥╦╔ ╙┼╥╫┼╥┴,
  63.     ╬╧ ┼╟╧ ═╧╓╬╧ ╔┌═┼╬╔╘╪ ╔ ╨╧╙╠┼ ▄╘╧╟╧, ┌┴╨╒╙╘╔╫ ╙┼╥╫┼╥ ╙ ╧╨├╔┼╩ <code>-f</code>, ╦┴╦ ▄╘╧ ╨╧╦┴┌┴╬╧
  64.     ╫ ╙╠┼─╒└▌┼═ ╨╥╔═┼╥┼</p>
  65.  
  66. <example>/usr/local/apache2/bin/apachectl -f
  67.       /usr/local/apache/conf/httpd.conf</example>
  68.  
  69.     <p>σ╙╠╔ ╫╧ ╫╥┼═╤ ┌┴╨╒╙╦┴ ╬┼ ╫╧┌╬╔╦╠╧ ╬╔╦┴╦╔╚ ╨╥╧┬╠┼═, ╘╧ ╙┼╥╫┼╥ ╧╘╙╧┼─╔╬╔╘╙╤
  70.     ╧╘ ╦╧╬╙╧╠╔ ╔ ╨╥╔╟╠┴█┼╬╔┼ ╬┴ ╫╫╧─ ╦╧═┴╬─╬╧╩ ╙╘╥╧╦╔ ╫┼╥╬┼╘╙╤ ╦ ╨╧╠╪┌╧╫┴╘┼╠└
  71.     ╨╥┴╦╘╔▐┼╙╦╔ ═╟╬╧╫┼╬╬╧. ⁿ╘╧ ╒╦┴┌┘╫┴┼╘ ╬┴ ╘╧, ▐╘╧ ╙┼╥╫┼╥ ┌┴╨╒╙╘╔╠╙╤ ╔ ╘┼╨┼╥╪
  72.     ╫┘╨╧╠╬╤┼╘ ╙╫╧└ ╥┴┬╧╘╒. ⌠┼╨┼╥╪ ╫┘ ═╧╓┼╘┼, ╔╙╨╧╠╪┌╒╤ ┬╥┴╒┌┼╥, ╨╧─╦╠└▐╔╘╪╙╤ ╦
  73.     ╬┼═╒ ╔ ╒╫╔─┼╘╪ ╘┼╙╘╧╫╒└ ╙╘╥┴╬╔├╒, ╬┴╚╧─╤▌╒└╙╤ ╫ ╦┴╘┴╠╧╟┼
  74.     <directive module="core">DocumentRoot</directive>, ┴ ╘┴╦╓┼ ╠╧╦┴╠╪╬╒└ ╦╧╨╔└ ─╧╦╒═┼╬╘┴├╔╔,
  75.     ╙╙┘╠╦╒ ╬┴ ╦╧╘╧╥╒└ ╫┘ ╬┴╩─┼╘┼ ╬┴ ╘╧╩ ╓┼ ╙╘╥┴╬╔├┼.</p>
  76. </section>
  77.  
  78. <section id="errors"><title>∩█╔┬╦╔, ╦╧╘╧╥┘┼ ═╧╟╒╘ ╫╧┌╬╔╦╬╒╘╪ ╫╧ ╫╥┼═╤ ┌┴╨╒╙╦┴</title>
  79.  
  80.     <p>σ╙╠╔ ╫╧ ╫╥┼═╤ ┌┴╨╒╙╦┴ Apache ╨╥╧╔┌╧╩─┼╘ ╦┴╦┴╤-╠╔┬╧ ╞┴╘┴╠╪╬┴╤ ╧█╔┬╦┴,
  81.     ╘╧ ╨┼╥┼─ ╘┼═, ╦┴╦ ┌┴╫┼╥█╔╘╪ ╙╫╧└ ╥┴┬╧╘╒, ╙┼╥╫┼╥ ╨╧█╠┼╘ ╬┴ ╦╧╬╙╧╠╪ ╔╠╔ ╫
  82.     <directive module="core">ErrorLog</directive> ╙╧╧┬▌┼╬╔┼, ╧╨╔╙┘╫┴└▌┼┼
  83.     ─┴╬╬╒└ ╧█╔┬╦╒. ε┴╔┬╧╠┼┼ ╥┴╙╨╥╧╙╘╥┴╬┼╬╬┘═ ╙╧╧┬▌┼╬╔┼═ ╧┬ ╧█╔┬╦┼ ╤╫╠╤┼╘╙╤
  84.     <code>"Unable to bind to Port ..."</code>. ≡╧─╧┬╬┴╤ ╧█╔┬╦┴ ╫╧┌╬╔╦┴┼╘ ╫ ─╫╒╚ ╙╠╒▐┴╤╚:</p>
  85.  
  86.     <ul>
  87.       <li>σ╙╠╔ ╫┘ ╨┘╘┴┼╘┼╙╪ ┌┴╨╒╙╘╔╘╪ ╙┼╥╫┼╥ ╬┴ ╨╥╔╫╔╠┼╟╔╥╧╫┴╬╬╧═ ╨╧╥╘╒, ┬╒─╒▐╔ ┌┴╥┼╟┼╙╘╥╔╥╧╫┴╬╬┘═
  88.       ╫ ╙╔╙╘┼═┼, ╦┴╦ ╧┬┘▐╬┘╩ ╨╧╠╪┌╧╫┴╘┼╠╪; ╔╠╔</li>
  89.  
  90.       <li>σ╙╠╔ ╫┘ ╨┘╘┴┼╘┼╙╪ ┌┴╨╒╙╘╪ ╙┼╥╫┼╥, ╦╧╟─┴ ╫ ╙╔╙╘┼═┼ ╒╓┼ ┼╙╘╪ ╫┘╨╧╠╬╤└▌╔╩╙╤ ─┼═╧╬ Apache
  91.       ╔╠╔ ─╥╒╟╧╩ web-╙┼╥╫┼╥, ╙╠╒█┴└▌╔╩ ╘╧╘ ╓┼ ╙┴═┘╩ ╨╧╥╘</li>
  92.     </ul>
  93.  
  94.     <p>≥┼█┼╬╔┼ ═╬╧╟╔╚ ╨╧─╧┬╬┘╚ ╨╥╧┬╠┼═ ═╧╓╬╧ ╬┴╩╘╔ ╬┴ ╙╘╥┴╬╔├┼
  95.     <a href="faq/">FAQ</a>.</p>
  96. </section>
  97.  
  98. <section id="boot"><title>·┴╨╒╙╦ ╙┼╥╫┼╥┴ ╫═┼╙╘┼ ╙ ┌┴╨╒╙╦╧═ ╫╙┼╩ ╙╔╙╘┼═┘</title>
  99.  
  100.     <p>σ╙╠╔ ╫┘ ╚╧╘╔╘┼, ▐╘╧┬┘ ╙┼╥╫┼╥ ┌┴╨╒╙╦┴╠╙╤ ┴╫╘╧═┴╘╔▐┼╙╦╔ ╨╧╙╠┼ ╨┼╥┼┌┴╟╥╒┌╦╔ ╙╔╙╘┼═┘,
  101.     ─╧┬┴╫╪╘┼ ╫┘┌╧╫ ╙╦╥╔╨╘┴ <code>apachectl</code> ╫ ╙╔╙╘┼═╬┘┼ ╞┴╩╠┘, ╧╘╫┼▐┴└▌╔┼ ┌┴ ┌┴╟╥╒┌╦╒
  102.     ╧╨┼╥┴├╔╧╬╬╧╩ ╙╥┼─┘ (╧┬┘▐╬╧ ▄╘╧ <code>rc.local</code> ╔╠╔ ╞┴╩╠┘ ╫ ╦┴╘┴╠╧╟┼ <code>rc.N</code>).
  103.     ⁿ╘╧ ╨╥╔╫┼─┼╘ ╦ ┌┴╨╒╙╦╒ Apache ╧╘ ╔═┼╬╔ ╨╥╔╫╔╠┼╟╔╥╧╫┴╬╬╧╟╧ ╨╧╠╪┌╧╫┴╘┼╠╤.
  104.     ≈╧ ╔┌┬┼╓┴╬╔┼ ╨╥╧┬╠┼═ ╙ ┬┼┌╧╨┴╙╬╧╙╘╪└ ╙╔╙╘┼═┘, ╒┬┼─╔╘┼╙╪, ▐╘╧ ╙┼╥╫┼╥ ╙╦╧╬╞╔╟╒╥╔╥╧╫┴╬ ╨╥┴╫╔╠╪╬╧.</p>
  105.  
  106.     <p>≤╦╥╔╨╘ <code>apachectl</code> ╥┴┌╥┴┬╧╘┴╬ ╘┴╦╔═ ╧┬╥┴┌╧═, ▐╘╧ ╧╬ ═╧╓┼╘
  107.     ─┼╩╙╘╫╧╫┴╘╪ ╦┴╦ ╙╘┴╬─┴╥╘╬┘╩ init-╙╦╥╔╨╘ ╙╔╙╘┼═┘ SysV; ╧╬ ═╧╓┼╘ ╨╥╔╬╔═┴╘╪
  108.     ┴╥╟╒═┼╬╘┘ <code>start</code>, <code>restart</code>, ╔ <code>stop</code>
  109.     ╔ ╨┼╥┼╫╧─╔╘╪ ╔╚ ╫ ╙╧╧╘╫┼╘╙╘╫╒└▌╔┼ ╙╔╟╬┴╠┘ ╨╥╧├┼╙╙╒ <code>httpd</code>.
  110.     ≡╧▄╘╧═╒ ▐┴▌┼ ╫╙┼╟╧ ╫┴═ ─╧╙╘┴╘╧▐╬╧ ╙─┼╠┴╘╪ ╙╙┘╠╦╒ ╬┴ <code>apachectl</code>
  111.     ╫ ┌┴╨╒╙╦╬╧═ ╦┴╘┴╠╧╟┼ ╨╥╧├┼╙╙┴ init. ε╧ ╨╥┼╓─┼ ▐┼═ ─┼╠┴╘╪ ▄╘╧, ╒┌╬┴╩╘┼
  112.     ╘╧▐╬┘┼ ╘╥┼┬╧╫┴╬╔╤ ╫┴█┼╩ ╙╔╙╘┼═┘.</p>
  113. </section>
  114.  
  115. <section id="info"><title>Σ╧╨╧╠╬╔╘┼╠╪╬┴╤ ╔╬╞╧╥═┴├╔╤</title>
  116.  
  117.     <p>Σ╧╨╧╠╬╔╘┼╠╪╬╒└ ╔╬╞╧╥═┴├╔└ ╨╧ ╧╨├╔╤═ ╦╧═┴╬─╬╧╩ ╙╘╥╧╦╔ <a href="programs/httpd.html">httpd</a>
  118.     ╔ <a href="programs/apachectl.html">apachectl</a>, ┴ ╘┴╦╓┼ ─╥╒╟╔╚
  119.     ╫╙╨╧═╧╟┴╘┼╠╪╬┘╚ ╨╥╧╟╥┴══, ╫┘ ═╧╓┼╘┼ ╬┴╩╘╔ ╬┴ ╙╘╥┴╬╔├┼ <a href="programs/">"≤┼╥╫┼╥
  120.     ╔ ╫╙╨╧═╧╟┴╘┼╠╪╬┘┼ ╨╥╧╟╥┴══┘"</a>. Θ═┼┼╘╙╤ ╘┴╦╓┼ <a href="mod/directives.html">─╧╦╒═┼╬╘┴├╔╤</a>
  121.     ╬┴ ╫╙┼ ═╧─╒╠╔, ╫╚╧─╤▌╔┼ ╫ ─╔╙╘╥╔┬╒╘╔╫ Apache, ╔ ╫╙┼ ─╔╥┼╦╘╔╫┘, ╦╧╘╧╥┘┼ ╧╬╔ ╨╥┼─╧╙╘┴╫╠╤└╘.</p>
  122. </section>
  123.  
  124. </manualpage>
  125.