<?xml version="1.0" encoding="EUC-KR"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"><head>
<meta content="text/html; charset=EUC-KR" http-equiv="Content-Type" />
<!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-->
<title>Microsoft Windows���� ����ġ ���� - Apache HTTP Server Version 2.5</title>
<link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
<link href="/style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
<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" />
<script src="/style/scripts/prettify.min.js" type="text/javascript">
</script>
<link href="/images/favicon.ico" rel="shortcut icon" /></head>
<body id="manual-page"><div id="page-header">
<p class="menu"><a href="/mod/">���</a> | <a href="/mod/quickreference.html">���þ��</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="/glossary.html">���</a> | <a href="/sitemap.html">����Ʈ��</a></p>
<p class="apache">Apache HTTP Server Version 2.5</p>
<img alt="" src="/images/feather.gif" /></div>
<div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="/images/left.gif" /></a></div>
<div id="path">
<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP Server</a> &gt; <a href="http://httpd.apache.org/docs/">Documentation</a> &gt; <a href="../">Version 2.5</a> &gt; <a href="./">Platform Specific Notes</a></div><div id="page-content"><div id="preamble"><h1>Microsoft Windows���� ����ġ ����</h1>
<div class="toplang">
<p><span>������ ���: </span><a href="/en/platform/windows.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
<a href="/ko/platform/windows.html" title="Korean">&nbsp;ko&nbsp;</a></p>
</div>
<div class="outofdate">�� ������ �ֽ��� ���� �ƴմϴ�.
�ֱٿ� ����� ������ ���� ������ ����ϼ���.</div>
<p>�� ������ Microsoft Windows���� ����ġ 2.0�� ��ġ, ����,
�����ϴ� ����� �����Ѵ�. �߸�� �κ��� �ְų� �ٸ� �������
������ �ַ���, <a href="http://httpd.apache.org/bug_report.html">���� ����
������</a>�� ����ϱ� �ٶ���.</p>
<p>�� ������ ����ġ ���̳ʸ� �������� ��ġ�Ѵٰ� �����Ѵ�.
(�Ƹ��� ���� Ȥ�� ���׸� ã������) ���� ����ġ�� �������Ϸ���
<a href="win_compiling.html">Microsoft Windows�� ����ġ
������</a>�� ����϶�.</p>
<p><strong>���� Microsoft Windows �ü������ ���� ��å��
�� ������ ������ ���� �����Ѵ�:</strong></p>
<ul>
<li><strong>Windows NT:</strong> Windows NT Ŀ���� �������
�ϴ� ��� Windows ������ �ǹ��Ѵ�. Windows NT, Windows
2000, Windows XP, Windows .Net Server 2003�� ��Ī�Ѵ�.</li>
<li><strong>Windows 9x:</strong> �Һ��� �߽��� ������
Windows ������ ���Ѵ�. Windows 95 (OSR2 ����), Windows
98, Windows ME�� ��Ī�Ѵ�.</li>
</ul>
</div>
<div id="quickview"><ul id="toc"><li><img alt="" src="/images/down.gif" /> <a href="#req">�ü�� �䱸����</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#down">Windows�� ����ġ �ٿ�ε�</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#inst">Windows�� ����ġ ��ġ�ϱ�</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#cust">Windows�� ����ġ �����ϱ�</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#winsvc">����ġ�� Service�� �����ϱ�</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#wincons">����ġ�� �ܼ� ���α׷����� �����ϱ�</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#test">���������� ��ġ�Ǿ���� �˻��ϱ�</a></li>
</ul><ul class="seealso"><li><a href="#comments_section">Comments</a></li></ul></div>
<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
<div class="section">
<h2><a name="req" id="req">�ü�� �䱸����</a></h2>
<p>����ġ 2.0�� �����ϱ����� �⺻ Windows �÷����� Windows
NT�̴�. ���̳ʸ� ��ġ���α׷��� Intel�� AMD�� ���� x86 ����
���μ��������� �����Ѵ�. ����ġ�� Windows 9x���� �����
�˻����� �ʾұ⶧���� ���� ���� ���񽺿� ������� �ʱ�
�ٶ���.
</p>
<p>�ü���� ��ġ�� TCP/IP ��Ʈ��ũ�� �����ؾ� �Ѵ�. Windows
95���� �����Ѵٸ�, Winsock 2 ���׷��̵带 ��ġ�ؾ� �Ѵ�.
Windows 95�� Winsock 2�� <a href="http://www.microsoft.com/windows95/downloads/contents/WUAdminTools/S_WUNetworkingTools/W95Sockets2/Default.asp">����</a>����
�ٿ���� �� �ִ�.
</p>
<p>Windows NT 4.0�� ����Ѵٸ� ������ 4�� TCP/IP ������
Winsock ������ ���� �����ѿ��� �ذ�Ǿ�⶧����, ������
6�� ��ġ�ϱ� ��� ���Ѵ�.</p>
</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
<div class="section">
<h2><a name="down" id="down">Windows�� ����ġ �ٿ�ε�</a></h2>
<p>����ġ ������ <a href="http://httpd.apache.org/download.cgi">http://httpd.apache.org/download.cgi</a>����
����ġ �ֽ� ���� ���� ������ ���� �� �ִ�. ���⿡�� �ֽ�
��ǥ�ǰ� ���� Ȥ�� ��Ÿ �׽�Ʈ�����, ����ġ �������� �ٿ�ε���
�� �ִ� HTTP �̷��� FTP �̷� ����� �ִ�. ��� �����ϰ�
�ٿ�������� ����� �̷��� ����ϱ� �ٶ���.</p>
<p>Windows�� ��ġ�Ϸ��� Ȯ���ڰ� <code>.msi</code>�� Windows��
����ġ ������ �ٿ�޾ƾ� �Ѵ�. �� ������ ���ٷ� ������ ��
�ִ� ����ġ�� ������ Microsoft ��ġ�����̴�. ��� �ҽ��ڵ常
����� <code>.zip</code> ������ �ִ�. Microsoft Visual C++
(Visual Studio)�� ����Ͽ� ���� ����ġ�� �������� ���� �ִ�.</p>
</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
<div class="section">
<h2><a name="inst" id="inst">Windows�� ����ġ ��ġ�ϱ�</a></h2>
<p>��ġ�Ϸ��� Microsoft Installer 1.2 �̻� ������ �ʿ��ϴ�.
Windows 9x�� ����Ѵٸ� <a href="http://www.microsoft.com/downloads/release.asp?ReleaseID=32831">����</a>����
Microsoft Installer�� 2.0 �������� ���׷��̵��� �� �ְ�,
Windows NT 4.0�� 2000�� ����Ѵٸ� <a href="http://www.microsoft.com/downloads/release.asp?ReleaseID=32832">����</a>����
2.0 ���� ������Ʈ�� ���� �� �ִ�. Windows XP�� ������Ʈ��
�ʿ䰡 ���.</p>
<p>���̳ʸ� ��ġ���Ϸδ� ���� ��ǻ�Ϳ� ���� �ٸ� ����ġ
2.0 ������ ��ġ�� �� ������ �����϶�. �׷��� 1.3
����<strong>��</strong> 2.0 ������ ���� ��ǻ�Ϳ� �ƹ� ��������
��ġ�� �� �ִ�. ���� ��ǻ�Ϳ� �ΰ��� �ٸ� 2.0 ������ ��ġ�Ϸ���
<a href="win_compiling.html">�ҽ��� �������Ͽ� ����ġ��
��ġ</a>�ؾ� �Ѵ�.</p>
<p>������ �ٿ���� ����ġ <code>.msi</code> ������ �����Ѵ�.
��ġ�Ҷ� ������ ���� ���� �����:</p>
<ol>
<li><p><strong>��Ʈ��ũ ������ (Network Domain).</strong>
��ϵ� ������ DNS �������� �Է��Ѵ�. ���� ���, ������
��ü DNS �̸��� <code>server.mydomain.net</code>�̶��
���⿡ <code>mydomain.net</code>�� �Է��Ѵ�.</p></li>
<li><p><strong>������ (Server Name).</strong> ������ ��ü
DNS �̸�. ���� ��� ���⿡ <code>server.mydomain.net</code>��
�Է��Ѵ�.</p></li>
<li><p><strong>���� ���ڿ��� �ּ� (Administrator's Email
Address).</strong> ���⿡ ���� ���ڳ� ���������� ���ڿ���
�ּҸ� �Է��Ѵ�. �⺻������ Ŭ���̾�Ʈ���� ������ ����
�� �ּҸ� ����Ѵ�.</p></li>
<li><p><strong>����� ��� (For whom to install
Apache)</strong> ���� ��ġ�ϴ� ����ġ�� 80�� ��Ʈ����
��û�� ��ٸ��� �Ϸ��� <code>for All Users, on Port 80,
as a Service - Recommended</code> (��� �����, 80�� ��Ʈ,
service�� - ��õ)�� �����Ѵ�. ����ġ�� service�� �����Ѵ�
(��, ����ġ�� ������ �α����� ����� �� ����ȴ�).
���������� �׽�Ʈ�غ��ų� �̹� 80�� ��Ʈ�� ����ϴ� �ٸ�
�������� �ִٸ� <code>only for the Current User, on Port
8080, when started Manually</code> (���� ����ڸ�, 8080��
��Ʈ, ���� ����)�� �����Ѵ�.</p></li>
<li><p><strong>��ġ ���� (The installation type).</strong>
��� ���߿� �ʿ��� �ҽ��ڵ�� ���̺귯���� ������ ���
���� ��ġ�Ϸ��� <code>Typical</code>�� �����Ѵ�.
<code>Custom</code>�� �����ϸ� ��ġ�� ������ ������ ��
�ִ�. ��ü ��ġ�� ��ũ�� �� ���� �� 13 �ް�����Ʈ
���� �ʿ��ϴ�. �� ��ġ�� ������Ʈ ũ�⸦ <em>������</em>
���̴�.</p></li>
<li><p><strong>��ġ ��� (Where to install).</strong>
�⺻ ��δ� <code>C:\Program Files\Apache Group</code>�̰�,
�̰��� <code>Apache2</code>��� ���丮�� �����.</p></li>
</ol>
<p>��ġ�� ���� ����ġ�� <code>conf</code> �������丮��
�ִ� ���ϵ��� ������ ��ġ ���丮�� �°� �����Ѵ�. �׷���
�� ���丮�� ���������� �̹� �ִٸ� �״�� �д�. ���,
�ش� ������ ���ο� ���纻�� Ȯ���� <code>.default</code>��
���δ�. ���� ���, <code>conf\httpd.conf</code>�� �̹� �ִٸ�
<code>conf\httpd.conf.default</code>�� �̸��� �����Ѵ�.
��ġ�� <code>.default</code> ������ ������ ���� ���캸��,
�ʿ��ϴٸ� ���� ���������� �����ؾ� �Ѵ�.</p>
<p>��, �̹� <code>htdocs\index.html</code>�̶�� ������
�ִٸ� �״�� �д� (<code>index.html.default</code>���
���������� �ʴ´�). ��, ������ ����ġ�� ��ġ���ִ��� �����ϰ�
����ġ�� ���� ��ġ�� �� �ִ�. ���� ��ġ�ϱ� �� ������
�ߴ��ϰ�, ��ġ�� ���ο� ������ �����ؾ� �Ѵ�.</p>
<p>����ġ ��ġ�� �ʿ��ϴٸ� <code>conf</code> �������丮��
�ִ� ���������� �����ؾ� �Ѵ�. ������ ����ġ�� ��ġ�� ���丮��
<code>htdocs</code> �������丮�� �ִ� ������ �����ϵ���
�������ִ�. ������ ����ġ�� ����ϱ� �� �����ؾ� �� �ɼ���
����. �׷��� ���� �����غ� �� �ֵ��� �⺻ �������Ϸε� �����Ѵ�.</p>
</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
<div class="section">
<h2><a name="cust" id="cust">Windows�� ����ġ �����ϱ�</a></h2>
<p>����ġ�� <code>conf</code> �������丮�� �ִ� ���Ϸ�
�����Ѵ�. �� ������ ���н���� ������, Windows�� ����ġ
Ư���� ���þ � �ִ�. ��밡���� ��� ���þ ������
<a href="/mod/directives.html">���þ� ���</a>�� ����϶�.</p>
<p>Windows�� ����ġ�� �ֵ� ��������:</p>
<ul>
<li><p>Windows�� ����ġ�� ���߾����� ����� ����ϱ⶧����,
���н��� �޸� ��û���� �ٸ� ���μ����� ������� �ʴ´�.
��� ����ġ ���μ����� �׻�, �θ� ���μ����� ��û�� ó���ϴ�
�ڽ� ���μ���, 2���̴�. �ڽ� ���μ����� �ִ� ���� ���������
��û���� ó���Ѵ�.
</p>
<p>���μ��� �� ���þ �ٸ���:</p>
<p><code class="directive"><a href="/mod/mpm_common.html#maxrequestsperchild">MaxRequestsPerChild</a></code>: �����
����, �ڽ� ���μ����� ��û�� �󸶸�ŭ ó���ϰ� ��������
�����Ѵ�. �׷��� ���н��� �޸� ���μ����� �ѹ� �� ��û����
ó�������ʰ� �ѹ� ��� ��û�� �����ϱ⶧����, �����Ѵٸ�
�ſ� ū ���� �����ϱ� ���Ѵ�. �����ϴ� �⺻��
<code>MaxRequestsPerChild 0</code>�� ����ϸ� �ڽ� ���μ�����
�����ʰ� ������ ��û�� �����Ѵ�.</p>
<div class="warning"><strong>���: �ڽ� ���μ����� ����
������ ������ �������������� ���� �д´�.
<code>httpd.conf</code>�� �����ߴٸ�, �ڽ� ���μ�����
�������� �ʰų� ����ġ���� ��� �߻��� �� �ִ�.</strong></div>
<p><code class="directive"><a href="/mod/mpm_common.html#threadsperchild">ThreadsPerChild</a></code>:
�� ���þ�� ���� �߰��Ǿ��. �� ���þ�� ������ �����
������ ������ �����Ѵ�. �� ���� ������ �ѹ� ó���� ��
�ִ� �ִ� ���ᰳ���̱⶧����, ����Ʈ�� ���ӷ��� ���ٸ�
����� ū ���� �����ؾ� �Ѵ�. �����ϴ� �⺻����
<code>ThreadsPerChild 50</code>�̴�.</p></li>
<li><p>���ϸ��� �ƱԸ�Ʈ�� �޴� ���þ�� ���н� ���ϸ���
�ƴ� Windows ���ϸ��� ����ؾ� �Ѵ�. �׷��� ����ġ ���ο���
���н��� �̸��� ����ϱ⶧���� �齽������ �ƴ� ��������
����ؾ� �Ѵ�. ����̺� ���ڸ� ����� �� �ִ�. ����̺긦
�������� ������ ����ġ ���������� �ִ� ����̺긦
����Ѵ�.</p></li>
<li><p>Windows�� ����ġ�� ������ �ٽ� ���������� �ʰ�
�����߿� ����� �о���� �� �ִ�. �⺻������ ����ġ��
�������ϸ� <code>\Apache2\modules</code> ���丮�� ����
���ð����� ����� ��ġ�Ѵ�. �� ��� Ȥ�� �ٸ� �����
����Ϸ��� ���� ��� <code class="directive"><a href="/mod/mod_so.html#loadmodule">LoadModule</a></code> ���þ ����Ѵ�.
���� ���, status ����� ����Ѵٸ�
(<code>access.conf</code>�� status��� ���þ�� �Բ�)
�Ʒ��� ���� �����Ѵ�:</p>
<div class="example"><p><code>
LoadModule status_module modules/mod_status.so
</code></p></div>
<p><a href="/mod/mod_so.html#creating">�о���� �� �ִ�
��� �����</a>�� ���� ������ �ִ�.</p></li>
<li><p>����ġ�� Microsoft IIS�� �ٸ� Windows ������ ����ϴ�
ISAPI (Internet Server Application Programming Interface)
Ȯ���� (��, ���ͳ� ���� ���α׷�) �о���� ���� �ִ�.
<a href="/mod/mod_isapi.html">�� �ڼ��� ������ �ִ�</a>.
����ġ�� ISAPI ���͸� �о���� �� <strong>������</strong>
�����϶�.</p></li>
<li><p>CGI ��ũ��Ʈ�� ����Ѵٸ� <code class="directive"><a href="/mod/core.html#scriptinterpretersource">ScriptInterpreterSource</a></code> ���þ
����Ͽ� ����ġ�� ��ũ��Ʈ�� ���������͸� ã�� �����
������ �� �ִ�.</p></li>
<li><p>Windows���� <code>.htaccess</code>�� ���� ���ϸ���
�ٷ�� ���Ƿ�, <code class="directive"><a href="/mod/core.html#accessfilename">AccessFilename</a></code> ���þ ����Ͽ�
���丮�� �������� �̸��� �����ϸ� ���ϴ�.</p></li>
<li><p>Windows NT��� ����ġ ���۽� �߻��� ���� Windows
�̺�Ʈ �α׿� ����Ѵ�. �׷��� ����ġ�� ���� ����ϴ�
<code>error.log</code> ������ ����� �� ��� ��쿡 ����Ѵ�.
Windows �̺�Ʈ �α״� Windows NT 4.0������ �̺�Ʈ ���
���α׷�����, �ֽ� Windows ����� �̺�Ʈ ��� MMC
�����ο��� �� �� �ִ�.</p>
<div class="note"><strong>Windows 9x���� Windows �̺�Ʈ �αװ� ��⶧����
���۽� �߻��� ���� ������� �ʴ´�.</strong></div></li>
</ul>
</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
<div class="section">
<h2><a name="winsvc" id="winsvc">����ġ�� Service�� �����ϱ�</a></h2>
<p>Windows NT������ ����ġ�� service�� ������ �� �ִ�. Windows
9x���� �ſ� �������� ������� ����� ����� �����Ѵ�.</p>
<p>��ġ�� �ڵ����� ����ġ�� service�� ��ġ�� �� �ִ�. "���
�����"�� �����ϸ�, ����ġ service�� ��������. "����
����ڸ�"�� �����ϴ��� ��ġ�� ���� ����ġ�� service��
����� �� �ִ�. service�� ��ġ�Ϸ��� Administrators �׷���
�������̾�� �Ѵ�.</p>
<p>����ġ���� Apache Service Monitor��� ������ �ִ�. ��
������ ����ϸ� ��Ʈ���� �ִ� �ٸ� ��ǻ�Ϳ� ��ġ�� ����ġ
���µ� Ȯ���ϰ� ���� �� �ִ�. monitor�� ����ġ service��
���Ϸ��� ���� service�� (��ġ�� �ڵ����� Ȥ�� ����) ��ġ�ؾ�
�Ѵ�.
</p>
<p>����ġ <code>bin</code> �������丮���� ����� ������Ʈ��
������ ���� �Է��ϸ� ����ġ�� Windows NT service�� ��ġ�Ѵ�:</p>
<div class="example"><p><code>
apache -k install
</code></p></div>
<p>��ġ�� service �̸��� �����ϰ� �ʹٸ� ���� ��ɾ ����Ѵ�.
��ǻ�Ϳ� ����ġ�� ������ ��ġ���ִٸ� �̸��� �ٸ��� �־��
�Ѵ�.</p>
<div class="example"><p><code>
apache -k install -n "MyServiceName"
</code></p></div>
<p>service�� ����� ���������� ���� �����Ϸ��� ������ ����
�Ѵ�:</p>
<div class="example"><p><code>
apache -k install -n "MyServiceName" -f "c:\files\my.conf"
</code></p></div>
<p><code>-k install</code> �ܿ� �ٸ� �Ķ���͸� �������
������, service �̸��� <code>Apache2</code>�� �ǰ� ����������
<code>conf\httpd.conf</code>�� �ȴ�.
</p>
<p>����ġ service�� �����ϱ� ����. ������:</p>
<div class="example"><p><code>
apache -k uninstall
</code></p></div>
<p>������ ���� ������ ����ġ service�� ������ �� �ִ�:</p>
<div class="example"><p><code>
apache -k uninstall -n "MyServiceName"
</code></p></div>
<p>���� ����ġ service ����, �����, ����� Apache Service
Monitor�� <code>NET START Apache2</code>, <code>NET STOP
Apache2</code> ���� ��ɾ� Ȥ�� Windows ���� ��â����
�Ѵ�. � ����� ����ϵ��� ����ġ service�� �����ϱ� ��
���������� �˻��غ��� �Ѵ�:</p>
<div class="example"><p><code>
apache -n "MyServiceName" -t
</code></p></div>
<p>����� �ɼ����ε� ����ġ service�� ������ �� �ִ�. ��ġ��
����ġ serivce�� �����Ϸ���:</p>
<div class="example"><p><code>
apache -k start
</code></p></div>
<p>����� �ɼ����� ����ġ service�� �����Ϸ���:</p>
<div class="example"><p><code>
apache -k stop
</code></p></div>
<p>Ȥ��</p>
<div class="example"><p><code>
apache -k shutdown
</code></p></div>
<p>�������� service�� ������Ͽ� ���������� �ٽ� �е���
�� �� �ִ�:</p>
<div class="example"><p><code>
apache -k restart
</code></p></div>
<p>�⺻������ ��� ����ġ service�� �ý��� �����
(<code>LocalSystem</code> ����) �������� �����ϵ��� ��ϵȴ�.
Windows ���ȱ����� <code>LocalSystem</code> ������ ���Ͻý���,
named pipes, DCOM, secure RPC �� � ����� ����ϵ���
��Ʈ���� ������ �� ���. �׷��� �ش� ��ǻ�Ϳ����� ���� ������
�����.
</p>
<div class="warning"><strong><code>LocalSystem</code> ��������
��Ʈ�� ������ ���� ���� ����! ����ġ�� ��Ʈ�� �ڿ� �����ؾ�
�Ѵٸ�, �Ʒ����� �����ϴ� ������� ����ġ�� ���� ������
������ ������.</strong></div>
<p>����ġ service�� �����ϱ����� ������ ������ ���� ����
�ִ�. Ư�� ����ġ�� ��Ʈ�� �ڿ� �����ؾ� �Ѵٸ� �� �����
������ ���Ѵ�.</p>
<ol>
<li>�Ϲ� ������ ����� ������ ����� ��ȣ�� ����϶�.</li>
<li>���� ���� ������ <code>���񽺷� �α׿�</code>��
<code>� ü���� �Ϻη� Ȱ��</code> ������
�ο��Ѵ�. Windows NT 4.0������ User Manager for Domains����
������ �ο��� �� �ְ�, Windows 2000�� XP������ �Ƹ���
"�׷� ��å"�� ����ؾ� �Ѵ�. "���� ���� ����" MMC
�����ο��� ���� �������� ���� �ִ�.
</li>
<li>���� ���� ������ Users �׷쿡 ���ϴ��� Ȯ���Ѵ�.</li>
<li>��� ������ ��ũ��Ʈ ����� (���� ���
<code>htdocs</code>�� <code>cgi-bin</code>) ���� �б� ��
���� (RX) ������ �ο��Ѵ�.</li>
<li>����ġ <code>logs</code> ���丮�� ���� (RWXD) ������
�ο��Ѵ�.</li>
<li><code>Apache.exe</code> �������Ͽ� �б� �� ���� (RX)
������ �ο��Ѵ�.</li>
</ol>
<div class="note">����ġ service�� �����ϴ� ����ڿ��� �ּ��� ���� (RWXD)
������ �ʿ��� <code>logs</code> �������丮�� �����ϰ�
Apache2 ���丮 ��ü�� �б� �� ���� (RX) ������ �ο��ϴ�
���� ����.</div>
<p>������ "���� �α׿�"�� "���񽺷� �α׿�" ������ �ִٸ�,
�� �������� �α׿��Ͽ� ������ ��ũ��Ʈ�� �����ϰ� ����������
������ �ܼ�â���� ����ġ�� ������ �� �ִ��� �˻��غ� ��
�ִ�. ���⼭ ������ ��ٸ� ����ġ�� service�� �����ص� ������
���.</p>
<div class="note"><strong>Error code 2186</strong>�� ����ġ�� �ʿ���
��Ʈ�� �ڿ� ������ �� ��ٴ� ���� service�� "�α׿�"
������ Ȯ���϶�. ��, ����ġ�� �����ϴ� ������ ������
�������.</div>
<p>����ġ�� service�� �����ϸ� Windows Service Control
Manager���� ������ �� �� �ִ�. ���� ���, �����ǿ���
"����"�� ����Ͽ� ����ġ�� �����ϴ� ��� ������ ���� ������
���� �� �ִ�:</p>
<div class="example"><p><code>
Could not start the Apache2 service on \\COMPUTER <br />
Error 1067; The process terminated unexpectedly.
</code></p></div>
<p>����ġ service�� �����Ҷ� ������ ������ �Ϲ����� �̷�
���� ���´�. ���� ��� �������� �˷��� ����ġ�� �ܼ�
���α׷����� �����غ���.</p>
<p>Windows 9x���� ����ġ�� Windows NT�� service�� �����
����� �����Ѵ�. �׷��� <strong>�ſ� ��������</strong> ����̴�.
���� ���񽺿� ����Ҹ�ŭ ���������� �ʰ� ������ ��������
������ ���� ���. �����ϹǷ� Ȥ�ó� ����Ѵٸ� �����ؼ�
����ؾ� �Ѵ�!</p>
<p>�ΰ��� service�� �߿��� �������� ������ ����:</p>
<ul>
<li><p>����ġ�� ���������� �����ϸ� ��濡�� �����Ѵ�.
���� ���, ����ũž�� �ٷΰ��⸦ ���� ���� �����
�����ϴ� ���,</p>
<div class="example"><p><code>
apache -n "MyServiceName" -k start
</code></p></div>
<p>service�� ���������� �����ϸ� �ܼ�â�� ���ٰ� �ݹ�
������. httpd.conf �������Ͽ� �߸�� ������ �ִ� ��
����ġ ���۽� ���� �߻��ϸ� �ܼ�â�� ��� ���δ�. �ܼ�â��
������ ������ �ľ��ϴµ� ������ �ִ� ������ �����ش�.</p></li>
<li><p>Windows 9x�� <code>NET START</code>�� <code>NET
STOP</code> ��ɾ �������� �ʴ´�. ���������Ʈ����
<code>-k</code> �ɼ��� ����Ͽ� ����ġ service�� �����ؾ�
�Ѵ�.
</p></li>
<li><p>
����ġ�� Windows 9x�� ��Ʈ�� ������ ���� Ư�� ����ڷ�
����ġ�� �������� ���Ѵ�. ��� Windows 9x�� ������ ����������
�ʴ´�. �̰��� �ٷ� Apache Software Foundation�� Windows
9x �ý����� �� �������� ����ϱ� ������ �ʴ� ������.
����ڰ� �� �������� �����ϰ� ����ġ ���� �н��� ��������,
�ƴϸ� ������ �缳 ��Ʈ���� ��ġ�� ��Ʈ��� ������ ����,
Windows 9x�� ������ ���̴�.</p></li>
</ul>
<p>����ġ�� �ܼ� ���α׷����� �������� Ȯ���Ͽ��ٸ� Windows
NT������ ���� ��ɾ�� ���� service�� ��ġ, ����, ������
�� �ִ�. ��, Apache Service Monitor�� ����Ͽ� Windows 9x
���� service�� ���� �� �ִ�.</p>
</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
<div class="section">
<h2><a name="wincons" id="wincons">����ġ�� �ܼ� ���α׷����� �����ϱ�</a></h2>
<p>�Ϲ������� ����ġ�� service�� �����ϱ� ���Ѵ�. �׷���
����࿡�� �����ϴ°� ���� ��찡 �ִ� (Windows 9x������
service�� ���������� �������� �ʱ⶧���� ����࿡�� ����ġ��
�����ϴ� ����� ���Ѵ�).</p>
<p>����ġ�� �ܼ� ���α׷����� �����Ϸ���, ����࿡�� ����
��ɾ ����Ѵ�:</p>
<div class="example"><p><code>
apache
</code></p></div>
<p>����ġ�� Control-C�� ������ ������ ������ ����ȴ�.</p>
<p>��, <code>���� �޴� --&gt; ���α׷� --&gt; Apache HTTP
Server 2.0.xx --&gt; Control Apache Server</code>�� ��ġ��
Start Apache in Console �ٷΰ���� ����ġ�� ������ �� �ִ�.
�ٷΰ��⸦ �����ϸ� �ܼ�â�� ���� �� �ȿ��� ����ġ�� �����Ѵ�.
����ġ�� service�� ��ġ���� �ʾҴٸ�, ����ġ�� �����ϴ�
�ܼ�â���� Control-C�� ���� ����ġ�� �ߴ��Ҷ����� â�� ���ִ�.
�� ��� ������ ���ʾȿ� �����Ѵ�. �׷���, ����ġ�� service��
��ġ�Ͽ��ٸ� �ٷΰ���� service�� �����Ѵ�. ����ġ service��
�̹� �������̶�� �ٷΰ���� �ƹ��ϵ� ���� �ʴ´�.</p>
<p>�ٸ� �ܼ�â�� ���� ������ ���� �Է��Ͽ� �������� ����ġ��
������ �� �ִ�:</p>
<div class="example"><p><code>
apache -k shutdown
</code></p></div>
<p>�� ����� ����ġ�� ���� �۾��� ��ġ�� ���ݰ� ������ ��
�ֱ⶧���� Control-C ���� ����.</p>
<p>��, ����ġ�� ������� �� �ִ�. �� ��� ���������� �ٽ�
�д´�. �������� �۾��� �߰��� �����ʰ� �Ϸ��Ѵ�. ����ġ��
������Ϸ���:</p>
<div class="example"><p><code>
apache -k restart
</code></p></div>
<div class="note">���н��� ����ġ�� �ͼ��� ����� ����: �� ��ɾ��
<code>kill -TERM <em>pid</em></code>�� <code>kill -USR1
<em>pid</em></code>�� Windows���̴�. ����� �ɼ�
<code>-k</code>�� ���н� <code>kill</code> ��ɾ� �̸���
���� �����.</div>
<p>����ġ �ܼ�â�� ��� Ȥ�� ������ ���ڱ� ��ġ�� ���� �޴�
--&gt; ���α׷��� ��� ������Ʈ�� �����Ѵ�. ����ġ�� ��ġ��
����� ���� <code>apache</code> ��ɾ �����غ��� �߻���
������ ���캻��. �׸��� logs ����� ����, ����������
�߸�Ǿ���� <code>error.log</code> ������ ���캻��. ����ġ��
��ġ�Ҷ� �⺻���� ����ߴٸ� ������ ����:</p>
<div class="example"><p><code>
c: <br />
cd "\Program Files\Apache Group\Apache2\bin" <br />
apache
</code></p></div>
<p>����ġ�� ������ ������ ��ٸ��ų� Control-C�� ������.
�׸��� ������ ���� �Է��Ѵ�:</p>
<div class="example"><p><code>
cd ..\logs <br />
more &lt; error.log
</code></p></div>
<p>����ġ�� �ٷ궧 ����ġ�� ��� ���������� ã���� �ƴ�
���� �߿��ϴ�. �ΰ��� ������� ����࿡�� ���������� ������
�� �ִ�:</p>
<ul>
<li><p><code>-f</code>�� ���������� ����� Ȥ�� ����θ�
�����Ѵ�:</p>
<div class="example"><p><code>
apache -f "c:\my server files\anotherconfig.conf"
</code></p></div>
<p>Ȥ��</p>
<div class="example"><p><code>
apache -f files\anotherconfig.conf
</code></p></div></li>
<li><p><code>-n</code>�� ����ġ service�� �����ϰ�, �ش�
service�� ���������� ����Ѵ�:</p>
<div class="example"><p><code>
apache -n "MyServiceName"
</code></p></div>
</li>
</ul>
<p>�� ��� ��� ���������� ������ <code class="directive"><a href="/mod/core.html#serverroot">ServerRoot</a></code>�� �����ؾ� �Ѵ�.</p>
<p><code>-f</code>�� <code>-n</code>���� ���������� ��������
������, ����ġ�� <code>conf\httpd.conf</code>�� ���� ������
�����ϵ� ���ϸ��� ����Ѵ�. �� �⺻ ��δ� ��ġ ���丮��
������̴�. ������ ���� <code>-V</code> �ɼ����� ����ġ��
�����ϸ� <code>SERVER_CONFIG_FILE</code>�̶� �׸񿡼� ������
����� ���������� �� �� �ִ�:</p>
<div class="example"><p><code>
apache -V
</code></p></div>
<p>����ġ�� ���� ���� <code class="directive"><a href="/mod/core.html#serverroot">ServerRoot</a></code>�� ã�´�:</p>
<ol>
<li><code>-C</code> ����� �ɼǿ� ����� <code class="directive"><a href="/mod/core.html#serverroot">ServerRoot</a></code> ���þ�.</li>
<li><code>-d</code> ����� �ɼ�.</li>
<li>���� �۾� ���丮.</li>
<li>���̳ʸ� ��ġ�� �ߴٸ� ��ġ�Ҷ� ���� registry �׸�.</li>
<li>������ �����ϵ� server root. �⺻����
<code>/apache</code>�̰�, <code>apache -V</code>�� �����ϸ�
<code>HTTPD_ROOT</code>��� �׸񿡼� Ȯ���� �� �ִ�.</li>
</ol>
<p>��ġ�Ҷ� �������� ������Ʈ���� ���� Ư���� ������Ʈ��
Ű�� �����. Ű�� ��ġ�� ��ġ ���� ��� �ٸ���. install
Apache for all users�� �����Ͽ��ٸ�
<code>HKEY_LOCAL_MACHINE</code> �Ʒ��� ������ ���� Ű��
����� (���� �����ȣ�� ����ġ ����� �ٸ���):
</p>
<div class="example"><p><code>
HKEY_LOCAL_MACHINE\SOFTWARE\Apache Group\Apache\2.0.43
</code></p></div>
<p>"��� �����"�� ������� ����ġ�� ��ġ�Ͽ��ٸ�
<code>HKEY_CURRENT_USER</code> �Ʒ� Ű�� ����. ������
���� �α׿��� ����ڿ� ��� �ٸ���:</p>
<div class="example"><p><code>
HKEY_CURRENT_USER\SOFTWARE\Apache Group\Apache\2.0.43
</code></p></div>
<p>Ű �̸��� ������ �����ϵDZ⶧���� ���� ������ �ǵ帮���ʰ�
���ο� ������ ��ġ�Ͽ� �׽�Ʈ�غ� �� �ִ�. ���� �� ������
�ٸ� ����� ���� ���丮�� ��ġ�����ʵ��� �����ؾ� �Ѵ�.</p>
<p>���̳ʸ� ��ġ�� ���� ���� ��� ����ġ�� ������Ʈ�� Ű��
��ٰ� ������ �� �ִ�. ������ �ٸ� ������� ���������� ã��
�� �ִٸ� �� ��? �����ص� �ȴ�.</p>
<p>�� ���� <code class="directive"><a href="/mod/core.html#serverroot">ServerRoot</a></code>
���丮�̸�, �� ���丮�� <code>conf</code>��� �������丮��
�ִ�. ����ġ�� �����ϸ� �� �������丮����
<code>httpd.conf</code> ������ �д´�. �� ���Ͽ� ������
<code class="directive"><a href="/mod/core.html#serverroot">ServerRoot</a></code> ���þ
������Ʈ�� Ű�� ���� ���丮�� �ٸ��ٸ�, ����ġ�� ������Ʈ������
���� ���� �����ϰ� ������ �������Ͽ� ���� ���丮�� ����Ѵ�.
����ġ ���丮�� ���������� �ٸ� ��ҷ� �����ϸ� �ݵ��
<code>httpd.conf</code> ���Ͽ� �ִ� <code class="directive"><a href="/mod/core.html#serverroot">ServerRoot</a></code> ���þ �� ��ġ��
�����϶�.</p>
</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
<div class="section">
<h2><a name="test" id="test">���������� ��ġ�Ǿ���� �˻��ϱ�</a></h2>
<p>(�ܼ�â�̳� service�� ����) ����ġ�� �����ϸ� (����������
<code class="directive"><a href="/mod/mpm_common.html#listen">Listen</a></code> ���þ
�����ϰų� ����ġ�� "���� ����ڸ�" ������� ��ġ���� �ʴ�
���) 80�� ��Ʈ�� ��ٸ���. ������ �����ϰ� URL�� �Է��Ͽ�
������ �⺻ �������� �����ϴ�:</p>
<div class="example"><p><code>
http://localhost/
</code></p></div>
<p>����ġ�� ����ġ ���? ��ũ�� �ִ� ȯ���������� �������
�Ѵ�. �ƹ� �ϵ� �Ͼ�� �ʰų� ���� ������, <code>logs</code>
�������丮�� �ִ� <code>error.log</code> ������ �������.
ȣ��Ʈ�� ��Ʈ���� ��������� �ʰų� DNS (Domain Name Service)
������ ������ �ִٸ� ���� URL�� ����ؾ� �Ѵ�:</p>
<div class="example"><p><code>
http://127.0.0.1/
</code></p></div>
<p>�⺻ ��ġ�� �����ϸ� <code>conf</code> �������丮��
�ִ� ������ ������ �����Ѵ�. ��, Windows NT ����ġ service
������ ������ ��� ���� ����࿡�� ����ġ�� �����Ͽ� ����
�߻������ʴ��� Ȯ���ؾ� �Ѵ�.</p>
<p>����ġ�� �ٸ� TCP/IP ���α׷��� ���� ��Ʈ�� ������ ��
<strong>��⶧����</strong> ����ġ�� �����ϱ� �� �ٸ�
���񽺸� �ߴ�, ����, �缳���ؾ� ������ �𸥴�. �ٸ� ��������
Ư�� ��ȭ�� �������� �浹�� �� �ִ�.
</p>
</div></div>
<div class="bottomlang">
<p><span>������ ���: </span><a href="/en/platform/windows.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
<a href="/ko/platform/windows.html" title="Korean">&nbsp;ko&nbsp;</a></p>
</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>
<script type="text/javascript"><!--//--><![CDATA[//><!--
var comments_shortname = 'httpd';
var comments_identifier = 'http://httpd.apache.org/docs/trunk/platform/windows.html';
(function(w, d) {
if (w.location.hostname.toLowerCase() == "httpd.apache.org") {
d.write('<div id="comments_thread"><\/div>');
var s = d.createElement('script');
s.type = 'text/javascript';
s.async = true;
s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier;
(d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s);
}
else {
d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>');
}
})(window, document);
//--><!]]></script></div><div id="footer">
<p class="apache">Copyright 2015 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>
<p class="menu"><a href="/mod/">���</a> | <a href="/mod/quickreference.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[//><!--
if (typeof(prettyPrint) !== 'undefined') {
prettyPrint();
}
//--><!]]></script>
</body></html>