1<?xml version="1.0" encoding="KOI8-R"?>
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="ru" xml:lang="ru"><head><!--
4        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
5              This file is generated from xml source: DO NOT EDIT
6        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
7      -->
8<title>������ Apache - HTTP ������ Apache</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" /><link rel="stylesheet" type="text/css" href="/style/css/prettify.css" />
12<script src="/style/scripts/prettify.js" type="text/javascript">
13</script>
14
15<link href="/images/favicon.ico" rel="shortcut icon" /></head>
16<body id="manual-page"><div id="page-header">
17<p class="menu"><a href="/mod/">������</a> | <a href="/mod/directives.html">���������</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="/glossary.html">���������</a> | <a href="/sitemap.html">����� �����</a></p>
18<p class="apache">HTTP ������ Apache ������ 2.2</p>
19<img alt="" src="/images/feather.gif" /></div>
20<div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="/images/left.gif" /></a></div>
21<div id="path">
22<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP ������</a> &gt; <a href="http://httpd.apache.org/docs/">������������</a> &gt; <a href="./">������ 2.2</a></div><div id="page-content"><div id="preamble"><h1>������ Apache</h1>
23<div class="toplang">
24<p><span>��������� �����: </span><a href="/de/invoking.html" hreflang="de" rel="alternate" title="Deutsch">&nbsp;de&nbsp;</a> |
25<a href="/en/invoking.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
26<a href="/es/invoking.html" hreflang="es" rel="alternate" title="Espa&#241;ol">&nbsp;es&nbsp;</a> |
27<a href="/fr/invoking.html" hreflang="fr" rel="alternate" title="Fran&#231;ais">&nbsp;fr&nbsp;</a> |
28<a href="/ja/invoking.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |
29<a href="/ko/invoking.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a> |
30<a href="/ru/invoking.html" title="Russian">&nbsp;ru&nbsp;</a> |
31<a href="/tr/invoking.html" hreflang="tr" rel="alternate" title="T&#252;rk&#231;e">&nbsp;tr&nbsp;</a></p>
32</div>
33<div class="outofdate">���� ������� ����� ���� ����������. ��������
34            ���������� ������ ��� ������������ �� ����� ���������� �����������
35            � ���������.</div>
36
37    <p>�� Windows ���������� Apache ������ �������� ��� ������ Windows NT/2000/XP
38    ��� ��� ���������� ���������� Windows 95/ME. ��� ��������� ����� ���������
39    ���������� �� ����� �������, ���������� � ����������, ����������� <a href="platform/windows.html#winsvc">������ Apache ��� Windows � �������� �������</a> �
40    <a href="platform/windows.xml#wincons">������ Apache ��� Windows � �������� �����������
41    ����������</a>.</p>
42
43    <p>� Unix ��������� <code class="program"><a href="/programs/httpd.html">httpd</a></code> ������������ �����
44    �����, ������������� � ������� ������ � ������������� ����������� �������.
45    � ���, ����� ������� ����� ��������� <code class="program"><a href="/programs/httpd.html">httpd</a></code> � ��� � ���������� �����
46    ���������, � �������������� � ���� ���������.</p>
47</div>
48<div id="quickview"><ul id="toc"><li><img alt="" src="/images/down.gif" /> <a href="#startup">��� ���������� � ������ ������� Apache</a></li>
49<li><img alt="" src="/images/down.gif" /> <a href="#errors">������, ������� ����� ���������� �� ����� �������</a></li>
50<li><img alt="" src="/images/down.gif" /> <a href="#boot">������ ������� ������ � �������� ���� �������</a></li>
51<li><img alt="" src="/images/down.gif" /> <a href="#info">�������������� ����������</a></li>
52</ul><h3>��. �����</h3><ul class="seealso"><li><a href="stopping.html">������� � ����������</a></li><li><code class="program"><a href="/programs/httpd.html">httpd</a></code></li><li><code class="program"><a href="/programs/apachectl.html">apachectl</a></code></li></ul><ul class="seealso"><li><a href="#comments_section">Comments</a></li></ul></div>
53<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
54<div class="section">
55<h2><a name="startup" id="startup">��� ���������� � ������ ������� Apache</a></h2>
56
57    <p>���� � ��������� <code class="directive"><a href="/mod/mpm_common.html#listen">Listen</a></code>
58    � ���������������� ����� ������� �������� 80 (���������� �� ���������)
59    ��� ����� ������ �������� ����� ������� 1024, �� ��� ������� Apache
60    ���������� ���� ����������������� �������������, ��� ��� Apache ��������
61    ������������ � ������������������ �����. ����� ����, ��� ������ ����������
62    � �������� ��� ���������������� ��������, ����� ��� �������� ����� log-������,
63    �� ��������� ��������� <em>��������� ��������</em>, ������� � ����� ���������
64    ��� ������ �� ��������� �������� �� ��������. �������� ������� <code>httpd</code>
65    ����������� � ������� ������������������ ������������, � �� ����� ��� ��������
66    ������� ����� ������� ���������. ��� ��� �������������� <a href="mpm.html">��-�������</a>, ������� ������������� ������ � ��������.</p>
67
68    <p>��� ������� ������ <code class="program"><a href="/programs/httpd.html">httpd</a></code> ����� ����� ������������ ������
69    <code class="program"><a href="/programs/apachectl.html">apachectl</a></code>. ���� ������ ������������� ���
70    ���������� ���������, ����������� ��� ���������� ������ ������� ��� ����������
71    ������������� ���������, � ����� ��������� ����������� ���� <code class="program"><a href="/programs/httpd.html">httpd</a></code>.
72    ������ <code class="program"><a href="/programs/apachectl.html">apachectl</a></code> �������� ������� ����� ��������� ������, ��� ���
73    ��� ������ ����� ��������� � ��� ��������� ������ ��� ����������� ��� ������� �����.
74    �� ����� ������ ������� ������ ��������� ��������� � ������ <code class="program"><a href="/programs/apachectl.html">apachectl</a></code>,
75    � ���������, ������� �������� ���������� <code>HTTPD</code> ��� ������� Apache
76    �� ������� ��������, � ������ �����, ������� ����� ������������ ������� <em>������ ���</em>
77    ��� ��� �������.</p>
78
79    <p>������ ����� <code>httpd</code> ������� � ��������� <a href="configuring.html">����������������
80    ����</a> <code>httpd.conf</code>. ���� � ����� ����� �������� ��� �� ����� ������ �������,
81    �� ��� ����� �������� � ����� �����, �������� ������ � ������ <code>-f</code>, ��� ��� ��������
82    � ��������� �������</p>
83
84<div class="example"><p><code>/usr/local/apache2/bin/apachectl -f
85      /usr/local/apache2/conf/httpd.conf</code></p></div>
86
87    <p>���� �� ����� ������� �� �������� ������� �������, �� ������ ������������
88    �� ������� � ����������� �� ���� ��������� ������ �������� � ������������
89    ����������� ���������. ��� ��������� �� ��, ��� ������ ���������� � ������
90    ��������� ���� ������. ������ �� ������, ��������� �������, ������������ �
91    ���� � ������� �������� ��������, ����������� � ��������
92    <code class="directive"><a href="/mod/core.html#documentroot">DocumentRoot</a></code>, � ����� ��������� ����� ������������,
93    ������ �� ������� �� ������� �� ��� �� ��������.</p>
94</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
95<div class="section">
96<h2><a name="errors" id="errors">������, ������� ����� ���������� �� ����� �������</a></h2>
97
98    <p>���� �� ����� ������� Apache ���������� �����-���� ��������� ������,
99    �� ����� ���, ��� ��������� ���� ������, ������ ������ �� ������� ��� �
100    <code class="directive"><a href="/mod/core.html#errorlog">ErrorLog</a></code> ���������, �����������
101    ������ ������. �������� ���������������� ���������� �� ������ ��������
102    <code>"Unable to bind to Port ..."</code>. �������� ������ ��������� � ���� �������:</p>
103
104    <ul>
105      <li>���� �� ��������� ��������� ������ �� ����������������� �����, ������ ������������������
106      � ������� ��� ������� ������������; ���</li>
107
108      <li>���� �� ��������� ������� ������, ����� � ������� ��� ���� ������������� ����� Apache
109      ��� ������ web-������, ��������� ��� �� ����� ����.</li>
110    </ul>
111
112    <p>������� ������ �������� ������� ����� ����� �� ��������
113    <a href="faq/">FAQ</a>.</p>
114</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
115<div class="section">
116<h2><a name="boot" id="boot">������ ������� ������ � �������� ���� �������</a></h2>
117
118    <p>���� �� ������, ����� ������ ���������� ������������� ����� ������������ �������,
119    �������� ����� ������� <code class="program"><a href="/programs/apachectl.html">apachectl</a></code> � ��������� �����, ���������� �� ��������
120    ������������ ����� (������ ��� <code>rc.local</code> ��� ����� � �������� <code>rc.N</code>).
121    ��� �������� � ������� Apache �� ����� ������������������ ������������.
122    �� ��������� ������� � ������������� �������, ���������, ��� ������ ��������������� ���������.</p>
123
124    <p>������ <code class="program"><a href="/programs/apachectl.html">apachectl</a></code> ���������� ����� �������, ��� �� �����
125    ����������� ��� ����������� init-������ ������� SysV; �� ����� ���������
126    ��������� <code>start</code>, <code>restart</code>, � <code>stop</code>
127    � ���������� �� � ��������������� ������� �������� <code class="program"><a href="/programs/httpd.html">httpd</a></code>.
128    ������� ���� ����� ��� ���������� ������� ������ �� <code class="program"><a href="/programs/apachectl.html">apachectl</a></code>
129    � ��������� �������� �������� init. �� ������ ��� ������ ���, �������
130    ������ ���������� ����� �������.</p>
131</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
132<div class="section">
133<h2><a name="info" id="info">�������������� ����������</a></h2>
134
135    <p>�������������� ���������� �� ������ ��������� ������ <code class="program"><a href="/programs/httpd.html">httpd</a></code>
136    � <code class="program"><a href="/programs/apachectl.html">apachectl</a></code>, � ����� ������
137    ��������������� ��������, �� ������ ����� �� �������� <a href="programs/">"������
138    � ��������������� ���������"</a>. ������� ����� <a href="mod/directives.html">������������</a>
139    �� ��� ������, �������� � ����������� Apache, � ��� ���������, ������� ��� �������������.</p>
140</div></div>
141<div class="bottomlang">
142<p><span>��������� �����: </span><a href="/de/invoking.html" hreflang="de" rel="alternate" title="Deutsch">&nbsp;de&nbsp;</a> |
143<a href="/en/invoking.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
144<a href="/es/invoking.html" hreflang="es" rel="alternate" title="Espa&#241;ol">&nbsp;es&nbsp;</a> |
145<a href="/fr/invoking.html" hreflang="fr" rel="alternate" title="Fran&#231;ais">&nbsp;fr&nbsp;</a> |
146<a href="/ja/invoking.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |
147<a href="/ko/invoking.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a> |
148<a href="/ru/invoking.html" title="Russian">&nbsp;ru&nbsp;</a> |
149<a href="/tr/invoking.html" hreflang="tr" rel="alternate" title="T&#252;rk&#231;e">&nbsp;tr&nbsp;</a></p>
150</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&amp;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>
151<script type="text/javascript"><!--//--><![CDATA[//><!--
152var comments_shortname = 'httpd';
153var comments_identifier = 'http://httpd.apache.org/docs/2.2/invoking.html';
154(function(w, d) {
155    if (w.location.hostname.toLowerCase() == "httpd.apache.org") {
156        d.write('<div id="comments_thread"><\/div>');
157        var s = d.createElement('script');
158        s.type = 'text/javascript';
159        s.async = true;
160        s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier;
161        (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s);
162    }
163    else { 
164        d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>');
165    }
166})(window, document);
167//--><!]]></script></div><div id="footer">
168<p class="apache">Copyright 2013 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>
169<p class="menu"><a href="/mod/">������</a> | <a href="/mod/directives.html">���������</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="/glossary.html">���������</a> | <a href="/sitemap.html">����� �����</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!--
170if (typeof(prettyPrint) !== 'undefined') {
171    prettyPrint();
172}
173//--><!]]></script>
174</body></html>