sections.html.ko.euc-kr revision 888cb40bdeec5abf452bd85d6bf63b26d5913d4c
<?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><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-->
<title>���� ���� - Apache HTTP Server</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.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/directives.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></div><div id="page-content"><div id="preamble"><h1>���� ����</h1>
<div class="toplang">
<p><span>������ ���: </span><a href="/en/sections.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
<a href="/fr/sections.html" hreflang="fr" rel="alternate" title="Fran&#231;ais">&nbsp;fr&nbsp;</a> |
<a href="/ja/sections.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |
<a href="/ko/sections.html" title="Korean">&nbsp;ko&nbsp;</a> |
<a href="/tr/sections.html" hreflang="tr" rel="alternate" title="T&#252;rk&#231;e">&nbsp;tr&nbsp;</a></p>
</div>
<div class="outofdate">�� ������ �ֽ��� ���� �ƴմϴ�.
�ֱٿ� ����� ������ ���� ������ ����ϼ���.</div>
<p><a href="configuring.html">��������</a>�� �ִ�
���þ�� ���� ��ü�� ���ǰų�, Ư�� ���丮, ����, ȣ��Ʈ,
URL���� ���� �� �ִ�. �� ������ �ٸ� ���þ��� ��������
�����ϱ����� ���� �����̳� <code>.htaccess</code> ������
����ϴ� ����� �����Ѵ�.</p>
</div>
<div id="quickview"><ul id="toc"><li><img alt="" src="/images/down.gif" /> <a href="#types">���� ������ ����</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#file-and-web">���Ͻý��۰� ����</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#virtualhost">����ȣ��Ʈ</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#proxy">���Ͻ�</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#whatwhere">�ȿ� � ���þ ����� ��
�ֳ�?</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#mergin">���ǵ��� �����ϴ� ���</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="types" id="types">���� ������ ����</a></h2>
<table class="related"><tr><th>��õ� ���</th><th>��õ� ���þ�</th></tr><tr><td><ul><li><code class="module"><a href="/mod/core.html">core</a></code></li><li><code class="module"><a href="/mod/mod_proxy.html">mod_proxy</a></code></li></ul></td><td><ul><li><code class="directive"><a href="/mod/core.html#directory">&lt;Directory&gt;</a></code></li><li><code class="directive"><a href="/mod/core.html#directorymatch">&lt;DirectoryMatch&gt;</a></code></li><li><code class="directive"><a href="/mod/core.html#files">&lt;Files&gt;</a></code></li><li><code class="directive"><a href="/mod/core.html#filesmatch">&lt;FilesMatch&gt;</a></code></li><li><code class="directive"><a href="/mod/core.html#ifdefine">&lt;IfDefine&gt;</a></code></li><li><code class="directive"><a href="/mod/core.html#ifmodule">&lt;IfModule&gt;</a></code></li><li><code class="directive"><a href="/mod/core.html#location">&lt;Location&gt;</a></code></li><li><code class="directive"><a href="/mod/core.html#locationmatch">&lt;LocationMatch&gt;</a></code></li><li><code class="directive"><a href="/mod/mod_proxy.html#proxy">&lt;Proxy&gt;</a></code></li><li><code class="directive"><a href="/mod/mod_proxy.html#proxymatch">&lt;ProxyMatch&gt;</a></code></li><li><code class="directive"><a href="/mod/core.html#virtualhost">&lt;VirtualHost&gt;</a></code></li></ul></td></tr></table>
<p>���ǿ��� �ΰ��� ���� �ִ�. ��κ��� �ſ�û���� ó���ȴ�.
�ش��ϴ� ��û���� �ȿ� ������ ���þ ����Ѵ�. �ݴ��, <code class="directive"><a href="/mod/core.html#ifdefine">&lt;IfDefine&gt;</a></code>�� <code class="directive"><a href="/mod/core.html#ifmodule">&lt;IfModule&gt;</a></code>�� ������
�����Ҷ��� ���� ó���Ѵ�. �����Ҷ� ���°� ���̸� �ȿ� �ִ�
���þ ��� ��û�� ���ȴ�. ���� �ƴϸ� �ȿ� �ִ� ���þ��
�����Ѵ�.</p>
<p><code class="directive"><a href="/mod/core.html#ifdefine">&lt;IfDefine&gt;</a></code>
���þ�� <code>httpd</code> ����࿡ ������ �Ķ���Ͱ� �ִ�
��쿡�� �ȿ� ������ ���þ ����Ѵ�. ���� ������ ���� ���,
������ <code>httpd -DClosedForNow</code>�� ������ ��쿡��
��� ��û�� �ٸ� ����Ʈ�� �����̷��ǵȴ�:</p>
<div class="example"><p><code>
&lt;IfDefine ClosedForNow&gt;<br />
Redirect / http://otherserver.example.com/<br />
&lt;/IfDefine&gt;
</code></p></div>
<p><code class="directive"><a href="/mod/core.html#ifmodule">&lt;IfModule&gt;</a></code>
���þ Ư�� ����� ������ ���Ե� ��쿡�� �ȿ� �� ���þ
����Ѵٴ� ���� �����ϰ�� �ſ� ����ϴ�. ����� ������ ��������
�������ϰų� �������� ���������� �������� �տ� <code class="directive"><a href="/mod/mod_so.html#loadmodule">LoadModule</a></code> ���� �־�� �Ѵ�. ��
���þ�� Ư�� ����� ��ġ������ ��� ���������� �ٸ� �ʿ䰡
�������� ����ؾ� �Ѵ�. ����� ��� ��� ������ ������ ����������
�� �ֱ� ������ ������ ����ϱ� ���ϴ� ���þ �ȿ� �θ� �ȵȴ�.</p>
<p>���� ������ <code class="module"><a href="/mod/mod_mime_magic.html">mod_mime_magic</a></code>�� �������� <code class="directive"><a href="/mod/mod_mime_magic.html#mimemagicfiles">MimeMagicFiles</a></code> ���þ
ó���Ѵ�.</p>
<div class="example"><p><code>
&lt;IfModule mod_mime_magic.c&gt;<br />
MimeMagicFile conf/magic<br />
&lt;/IfModule&gt;
</code></p></div>
<p><code class="directive"><a href="/mod/core.html#ifdefine">&lt;IfDefine&gt;</a></code>��
<code class="directive"><a href="/mod/core.html#ifmodule">&lt;IfModule&gt;</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="file-and-web" id="file-and-web">���Ͻý��۰� ����</a></h2>
<p>���� ���� ���Ǵ� ���� ������ ���Ͻý��۰� ����(webspace)��
Ư�� ��ҿ� ���� ������ �����ϴ� �͵��̴�. ���� �� ���� ���̸�
�����ϴ� ���� �߿��ϴ�. ���Ͻý����� �ü�� ���忡�� ��ũ��
���� �����̴�. ���� ���, �⺻������ ����ġ�� ��ġ�� �ϸ� ���н�
���Ͻý����� ��� <code>/usr/local/apache2</code>, ��������
���Ͻý����� ��� <code>"c:/Program Files/Apache
Group/Apache2"</code>�� ��ġ�ȴ�. (����ġ�� ��������� ����
�׻�, ���������� �ƴ�, �������� ������� �����϶�.) �ݴ��
������ �������� �����ϰ� Ŭ���̾�Ʈ�� ���Ե� ����Ʈ�� �����̴�.
�׷��� ���н����� �⺻ ����ġ ��ġ�� �� ��� ������� ���
<code>/dir/</code>�� ���Ͻý��� ���
<code>/usr/local/apache2/htdocs/dir/</code>�� �ش��Ѵ�. ������
����Ÿ���̽� ��� �������� ��� �� �ֱ⶧���� �ݵ��
���Ͻý��ۿ� ���� ������ �ʿ�� ���.</p>
<h3><a name="filesystem" id="filesystem">���Ͻý��� ����</a></h3>
<p><code class="directive"><a href="/mod/core.html#directory">&lt;Directory&gt;</a></code>��
<code class="directive"><a href="/mod/core.html#files">&lt;Files&gt;</a></code> ���þ��
����ǥ������ ����ϴ� ���þ�� ���Ͻý����� Ư�� �κп� ���þ
����Ѵ�. <code class="directive"><a href="/mod/core.html#directory">&lt;Directory&gt;</a></code> ���þ ���Ե� ���þ����
������ ���Ͻý��� ���丮�� �� ���� ���丮�� ���ȴ�. <a href="howto/htaccess.html">.htaccess ����</a>�� ����ص� ����
����. ���� ������ ���� ���, ���丮 ���(index)��
<code>/var/web/dir1</code> ���� ���丮���� ���丮 ���(index)��
�����ϴ�.</p>
<div class="example"><p><code>
&lt;Directory /var/web/dir1&gt;<br />
Options +Indexes<br />
&lt;/Directory&gt;
</code></p></div>
<p><code class="directive"><a href="/mod/core.html#files">&lt;Files&gt;</a></code> ���ǿ� ���Ե� ���þ���� �
���丮�� �ִ��� ������ ������ �̸��� ���� ���Ͽ� ���ȴ�.
���������� �ּ����κп� �ִ� ���� ������ ���� ���, ��ҿ�
������ <code>private.html</code>�̶� �̸��� �� ������ ������
�ź��Ѵ�.</p>
<div class="example"><p><code>
&lt;Files private.html&gt;<br />
Order allow,deny<br />
Deny from all<br />
&lt;/Files&gt;
</code></p></div>
<p>���Ͻý����� Ư�� �κп� �ִ� ������ ��Ī�ϱ����� <code class="directive"><a href="/mod/core.html#files">&lt;Files&gt;</a></code>�� <code class="directive"><a href="/mod/core.html#directory">&lt;Directory&gt;</a></code> ������ ����
����Ѵ�. ���� ������ ���� ���,
<code>/var/web/dir1/private.html</code>,
<code>/var/web/dir1/subdir2/private.html</code>,
<code>/var/web/dir1/subdir3/private.html</code> ����
<code>/var/web/dir1/</code> ���丮 �Ʒ��� �ִ� �̸���
<code>private.html</code>�� ������ ������ �ź��Ѵ�.</p>
<div class="example"><p><code>
&lt;Directory /var/web/dir1&gt;<br />
&lt;Files private.html&gt;<br />
Order allow,deny<br />
Deny from all<br />
&lt;/Files&gt;<br />
&lt;/Directory&gt;
</code></p></div>
<h3><a name="webspace" id="webspace">���� ����</a></h3>
<p><code class="directive"><a href="/mod/core.html#location">&lt;Location&gt;</a></code>
���þ�� �̿� �ش��ϴ� ����ǥ������ ����ϴ� ���þ�� �ݴ��
Ư�� ������ ������ �ٲ۴�. ���� ������ ���� ���, /private����
�����ϴ� URL-����� ������ �źεȴ�. ���⿡��
<code>http://yoursite.example.com/private</code>,
<code>http://yoursite.example.com/private123</code>,
<code>http://yoursite.example.com/private/dir/file.html</code>
���� <code>/private</code> ���ڿ��� �����ϴ� ��û�� �ش�ȴ�.</p>
<div class="example"><p><code>
&lt;Location /private&gt;<br />
Order Allow,Deny<br />
Deny from all<br />
&lt;/Location&gt;
</code></p></div>
<p><code class="directive"><a href="/mod/core.html#location">&lt;Location&gt;</a></code>
���þ�� ���Ͻý��ۿ� ������ �ʿ䰡 ���. ���� ���� ��� Ư��
URL�� <code class="module"><a href="/mod/mod_status.html">mod_status</a></code>�� �����ϴ� ����ġ ���� �ڵ鷯��
������Ű������ �����ش�. ���Ͻý��ۿ� <code>server-status</code>���
������ �ʿ���.</p>
<div class="example"><p><code>
&lt;Location /server-status&gt;<br />
SetHandler server-status<br />
&lt;/Location&gt;
</code></p></div>
<h3><a name="wildcards" id="wildcards">���ϵ�ī��� ����ǥ����</a></h3>
<p><code class="directive"><a href="/mod/core.html#directory">&lt;Directory&gt;</a></code>,
<code class="directive"><a href="/mod/core.html#files">&lt;Files&gt;</a></code>,
<code class="directive"><a href="/mod/core.html#location">&lt;Location&gt;</a></code>
���þ�� C ǥ�� ���̺귯���� <code>fnmatch</code>�� ����
������ ����ϴ� ���ϵ�ī�� ���ڸ� ����� �� �ִ�.
"*" ���ڴ� � ���ڿ��̶� ��Ÿ����, "?" ���ڴ� � ���� �Ѱ���
��Ÿ����, "[<em>seq</em>]"�� <em>seq</em> �߿� �� ���ڸ� ��Ÿ����.
� ���ϵ�ī�嵵 "/" ���ڸ� ��Ÿ������ ���Ѵ�. �׷��� �� ���ڴ�
���� ����ؾ� �Ѵ�.</p>
<p>�� ������ ������ �ʿ��ϸ� perlȣȯ <a href="glossary.html#regex">����ǥ����</a>�� ����ϴ� <code class="directive"><a href="/mod/core.html#directorymatch">&lt;DirectoryMatch&gt;</a></code>, <code class="directive"><a href="/mod/core.html#filesmatch">&lt;FilesMatch&gt;</a></code>, <code class="directive"><a href="/mod/core.html#locationmatch">&lt;LocationMatch&gt;</a></code>�� �����
�� �ִ�. �׷��� �Ʒ� ������ ���տ� ���� �� ����ǥ���� ������
����ϸ� ���þ ���Ǵ� ����� ��� ���ϴ��� �������.</p>
<p>��� ����� ���丮 ������ �����ϴ� ������ǥ���� ���ϵ�ī��
������ ������ ����:</p>
<div class="example"><p><code>
&lt;Directory /home/*/public_html&gt;<br />
Options Indexes<br />
&lt;/Directory&gt;
</code></p></div>
<p>����ǥ���� ������ ����Ͽ� �ѹ� ���� ������ �׸����Ͽ�
���� ������ �ź��� �� �ִ�:</p>
<div class="example"><p><code>
&lt;FilesMatch \.(?i:gif|jpe?g|png)$&gt;<br />
Order allow,deny<br />
Deny from all<br />
&lt;/FilesMatch&gt;
</code></p></div>
<h3><a name="whichwhen" id="whichwhen">������ ����ϳ�</a></h3>
<p>���Ͻý��� ���ǰ� ���� ���� �� �ϳ��� �����ϴ� ���� ������
�ſ� ����. ���Ͻý��ۿ� �ִ� ��ü�� ���þ ����Ҷ��� �׻�
<code class="directive"><a href="/mod/core.html#directory">&lt;Directory&gt;</a></code>��
<code class="directive"><a href="/mod/core.html#files">&lt;Files&gt;</a></code>��
����Ѵ�. (����Ÿ���̽����� ���� ���������� ����) ���Ͻý��ۿ�
���� �ʴ� ��ü�� ���þ ����Ҷ��� <code class="directive"><a href="/mod/core.html#location">&lt;Location&gt;</a></code>�� ����Ѵ�.</p>
<p>���Ͻý��ۿ� �ִ� ��ü�� ������ �����ϱ����� <code class="directive"><a href="/mod/core.html#location">&lt;Location&gt;</a></code>�� ����ϸ�
��� �ȵȴ�. ���� �ٸ� ���� ���(URL)�� ���� ���Ͻý��� ��ҿ�
������ �� �����Ƿ�, �ɾ�� ������ ��ȸ�� �� �ֱ� �����̴�. ����
������ ���� ���캸��:</p>
<div class="example"><p><code>
&lt;Location /dir/&gt;<br />
Order allow,deny<br />
Deny from all<br />
&lt;/Location&gt;
</code></p></div>
<p>�� ������ <code>http://yoursite.example.com/dir/</code>��
��û�Ѵٸ� �� �۵��Ѵ�. �׷��� ��ҹ��ڸ� ���������ʴ� ���Ͻý�����
����Ѵٸ� ��Եdz�?
<code>http://yoursite.example.com/DIR/</code>�� ��û�Ͽ� ����
������ ��ȸ�� �� �ִ�. �ݴ�� <code class="directive"><a href="/mod/core.html#directory">&lt;Directory&gt;</a></code> ���þ�� ��� ��û�Ͽ�����
������ �� ��ҿ��� ���񽺵Ǵ� ���뿡 ���ȴ�. (���ܴ� ���Ͻý���
��ũ�� ����ϴ� ����. �ɺ���ũ�� ����Ͽ� �� ���丮��
���Ͻý����� ���� ��ҿ� �� �� �ִ�. <code class="directive"><a href="/mod/core.html#directory">&lt;Directory&gt;</a></code> ���þ�� �ɺ���ũ�� ��󰣴�.
�׷��Ƿ� ���� ������ ������ ���ؼ��� ������ <code class="directive"><a href="/mod/core.html#options">Options</a></code> ���þ ����Ͽ� �ɺ���ũ��
�����ؾ� �Ѵ�.)</p>
<p>�Ƹ��� ����� ��ҹ��ڸ� �����ϴ� ���Ͻý����� ����ϹǷ�
�̷� ���� �Ͼ�� �ʴ´ٰ� �������� �𸥴�. �׷��� �ٸ�
������ε� ���� ���� ��ġ�� �� ���Ͻý��� ��ġ�� ������ ��
������ ����϶�. �׷��� �����ϸ� �׻� ���Ͻý��� ������ ����ؾ�
�Ѵ�. �׷��� �� ��Ģ�� ���ܰ� �ϳ� �ִ�. ���� ������
<code>&lt;Location /&gt;</code> ���ǿ� �θ� �� ������ Ư��
URL�� �ƴ� ��� ��û�� ���ǹǷ� �Ϻ��ϰ� �����ϴ�.</p>
</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
<div class="section">
<h2><a name="virtualhost" id="virtualhost">����ȣ��Ʈ</a></h2>
<p><code class="directive"><a href="/mod/core.html#virtualhost">&lt;VirtualHost&gt;</a></code>
������ Ư�� ȣ��Ʈ�� ���Ǵ� ���þ���� �����Ѵ�. �̴� ��
��ǻ�Ϳ��� ���� �ٸ� ������ ����� ���� ȣ��Ʈ�� �����Ҷ�
�����ϴ�. �� �ڼ��� ������ <a href="vhosts/">����ȣ��Ʈ ����</a>��
����϶�.</p>
</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
<div class="section">
<h2><a name="proxy" id="proxy">���Ͻ�</a></h2>
<p><code class="directive"><a href="/mod/mod_proxy.html#proxy">&lt;Proxy&gt;</a></code>��
<code class="directive"><a href="/mod/mod_proxy.html#proxymatch">&lt;ProxyMatch&gt;</a></code>
������ ������ URL�� ���� <code class="module"><a href="/mod/mod_proxy.html">mod_proxy</a></code> ���Ͻ� ������
���� �����ϴ� ��쿡�� ���ȴ�. ���� ������ ���� ���, ���Ͻ�
������ ���� <code>cnn.com</code> ������Ʈ�� ������ �� ���.</p>
<div class="example"><p><code>
&lt;Proxy http://cnn.com/*&gt;<br />
Order allow,deny<br />
Deny from all<br />
&lt;/Proxy&gt;
</code></p></div>
</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
<div class="section">
<h2><a name="whatwhere" id="whatwhere">�ȿ� � ���þ ����� ��
�ֳ�?</a></h2>
<p>� ���� ���Ǿȿ� ����� �� �ִ� ���þ �˷��� ���þ���
<a href="mod/directive-dict.html#Context">������</a>�� Ȯ���϶�.
<code class="directive"><a href="/mod/core.html#directory">&lt;Directory&gt;</a></code>����
��밡���� ���þ�� <code class="directive"><a href="/mod/core.html#directorymatch">&lt;DirectoryMatch&gt;</a></code>, <code class="directive"><a href="/mod/core.html#files">&lt;Files&gt;</a></code>, <code class="directive"><a href="/mod/core.html#filesmatch">&lt;FilesMatch&gt;</a></code>, <code class="directive"><a href="/mod/core.html#location">&lt;Location&gt;</a></code>, <code class="directive"><a href="/mod/core.html#locationmatch">&lt;LocationMatch&gt;</a></code>, <code class="directive"><a href="/mod/mod_proxy.html#proxy">&lt;Proxy&gt;</a></code>, <code class="directive"><a href="/mod/mod_proxy.html#proxymatch">&lt;ProxyMatch&gt;</a></code> ���ǿ����� ��밡���ϴ�.
�׷���, ���ܰ� �ִ�:</p>
<ul>
<li><code class="directive"><a href="/mod/core.html#allowoverride">AllowOverride</a></code> ���þ��
<code class="directive"><a href="/mod/core.html#directory">&lt;Directory&gt;</a></code>
���ǿ����� ����� �� �ִ�.</li>
<li><code>FollowSymLinks</code>, <code>SymLinksIfOwnerMatch</code>,
<code class="directive"><a href="/mod/core.html#options">Options</a></code>�� <code class="directive"><a href="/mod/core.html#directory">&lt;Directory&gt;</a></code> �����̳�
<code>.htaccess</code> ���Ͽ����� ����� �� �ִ�.</li>
<li><code class="directive"><a href="/mod/core.html#options">Options</a></code> ���þ��
<code class="directive"><a href="/mod/core.html#files">&lt;Files&gt;</a></code>��
<code class="directive"><a href="/mod/core.html#filesmatch">&lt;FilesMatch&gt;</a></code>
���ǿ��� ����� �� ���.</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="mergin" id="mergin">���ǵ��� �����ϴ� ���</a></h2>
<p>���� ������ �ſ� Ư���� ������� ���ȴ�. �� �� ����
���þ �ؼ��ϴ� ��� �߿��� ������ �ֱ⶧���� �� �����
�����ϴ� ���� �߿��ϴ�.</p>
<p>�����ϴ� ���:</p>
<ol>
<li> (����ǥ������ ��������ʴ�) <code class="directive"><a href="/mod/core.html#directory">&lt;Directory&gt;</a></code>�� <code>.htaccess</code>��
���ÿ� �Ͼ�� (��쿡 ��� <code>.htaccess</code>��
<code class="directive"><a href="/mod/core.html#directory">&lt;Directory&gt;</a></code>��
�����ϵ��� ������ �� �ִ�)</li>
<li><code class="directive"><a href="/mod/core.html#directorymatch">&lt;DirectoryMatch&gt;</a></code> (�׸���
<code>&lt;Directory ~&gt;</code>)</li>
<li><code class="directive"><a href="/mod/core.html#files">&lt;Files&gt;</a></code>�� <code class="directive"><a href="/mod/core.html#filesmatch">&lt;FilesMatch&gt;</a></code>�� ���ÿ� �Ͼ��</li>
<li><code class="directive"><a href="/mod/core.html#location">&lt;Location&gt;</a></code>�� <code class="directive"><a href="/mod/core.html#locationmatch">&lt;LocationMatch&gt;</a></code>�� ���ÿ� �Ͼ��</li>
</ol>
<p><code class="directive"><a href="/mod/core.html#directory">&lt;Directory&gt;</a></code>�� �����ϰ� �� ���ǵ���
�������Ͽ� ���� ���� ó���ȴ�. (���� �� 1) <code class="directive"><a href="/mod/core.html#directory">&lt;Directory&gt;</a></code>�� ���丮
������ ���� ª�� �Ϳ��� �������� ó���ȴ�. �׷��� ���� ���,
<code>&lt;Directory /var/web/dir&gt;</code>��
<code>&lt;Directory /var/web/dir/subdir&gt;</code> ����
ó���Ѵ�. ���� ���丮�� ��Ī�ϴ� ���� <code class="directive"><a href="/mod/core.html#directory">&lt;Directory&gt;</a></code> ������
�ִٸ� �̵��� �������� ���� ó���Ѵ�. <code class="directive"><a href="/mod/core.html#include">Include</a></code> ���þ�� ������ ������
<code class="directive"><a href="/mod/core.html#include">Include</a></code> ���þ� ��ġ��
������ ���� ������ �ִ� ��ó�� ó���Ѵ�.</p>
<p><code class="directive"><a href="/mod/core.html#virtualhost">&lt;VirtualHost&gt;</a></code> ���� �ȿ� ���Ե� ������
����ȣ��Ʈ ���� �ۿ� �ִ� �ش� ���� <em>���Ŀ�</em> ���ȴ�.
�׷��� ����ȣ��Ʈ �ȿ��� �ּ����� ���������� ������ �� �ִ�.</p>
<p><code class="module"><a href="/mod/mod_proxy.html">mod_proxy</a></code>�� ��û �����Ҷ�, <code class="directive"><a href="/mod/mod_proxy.html#proxy">&lt;Proxy&gt;</a></code> ������
ó����� <code class="directive"><a href="/mod/core.html#directory">&lt;Directory&gt;</a></code> ���ǰ� ����.</p>
<p>������ ������ ������ ���� ������ ��� �����Ѵ�.</p>
<div class="note"><h3>����� ����</h3>
������
<code>&lt;Location&gt;</code>/<code>&lt;LocationMatch&gt;</code>��
(<code>Aliases</code>�� <code>DocumentRoot</code>�� ����Ͽ�
URL�� ���ϸ����� ��ȯ�ϴ�) �̸��� �ܰ� ���� ó���ȴ�.
������ ���� ���Ŀ��� ������ �����Ѵ�.
</div>
<h3><a name="merge-examples" id="merge-examples">����</a></h3>
<p>������ �����ϴ� �� �����ϴ� ����. �̵� ��� ��û��
���ȴٰ� �����ϸ� ���þ�� A &gt; B &gt; C &gt; D &gt; E
��� ó���ȴ�.</p>
<div class="example"><p><code>
&lt;Location /&gt;<br />
E<br />
&lt;/Location&gt;<br />
<br />
&lt;Files f.html&gt;<br />
D<br />
&lt;/Files&gt;<br />
<br />
&lt;VirtualHost *&gt;<br />
&lt;Directory /a/b&gt;<br />
B<br />
&lt;/Directory&gt;<br />
&lt;/VirtualHost&gt;<br />
<br />
&lt;DirectoryMatch "^.*b$"&gt;<br />
C<br />
&lt;/DirectoryMatch&gt;<br />
<br />
&lt;Directory /a/b&gt;<br />
A<br />
&lt;/Directory&gt;<br />
<br />
</code></p></div>
<p>�� �������� ���� ������ ����. <code class="directive"><a href="/mod/core.html#location">&lt;Location&gt;</a></code> ������ ���߿� ó���ϹǷ�
<code class="directive"><a href="/mod/core.html#directory">&lt;Directory&gt;</a></code>
���ǿ� �ִ� �������Ѱ� ������ ������ ������ ������ �����ϴ�.
��, �����ϴ� ��� �߿��ϹǷ� �����϶�!</p>
<div class="example"><p><code>
&lt;Location /&gt;<br />
Order deny,allow<br />
Allow from all<br />
&lt;/Location&gt;<br />
<br />
# ��! �� &lt;Directory&gt; ������ �ƹ��� ȿ�� ���<br />
&lt;Directory /&gt;<br />
Order allow,deny<br />
Allow from all<br />
Deny from badguy.example.com<br />
&lt;/Directory&gt;
</code></p></div>
</div></div>
<div class="bottomlang">
<p><span>������ ���: </span><a href="/en/sections.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
<a href="/fr/sections.html" hreflang="fr" rel="alternate" title="Fran&#231;ais">&nbsp;fr&nbsp;</a> |
<a href="/ja/sections.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |
<a href="/ko/sections.html" title="Korean">&nbsp;ko&nbsp;</a> |
<a href="/tr/sections.html" hreflang="tr" rel="alternate" title="T&#252;rk&#231;e">&nbsp;tr&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>This section is experimental!</strong><br />Comments placed here should not be expected
to last beyond the testing phase of this system, nor do we in any way guarantee that we'll read them.</div>
<script type="text/javascript"><!--//--><![CDATA[//><!--
var disqus_shortname = 'httpd';
var disqus_identifier = 'http://httpd.apache.org/docs/2.4/sections.html.ko';
(function(w, d) {
var disabled = true;
if (w.location.hostname.toLowerCase() == "httpd.apache.org" && disabled !== true) {
d.write('<div id="disqus_thread"><\/div>');
var s = d.createElement('script');
s.type = 'text/javascript';
s.async = true;
s.src = 'http' + '://' + disqus_shortname + '.disqus.com/embed.js';
(d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s);
}
else {
d.write('<div id="disqus_thread">Comments are disabled for this page at the moment.<\/div>');
}
})(window, document);
//--><!]]></script></div><div id="footer">
<p class="apache">Copyright 2012 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/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[//><!--
if (typeof(prettyPrint) !== 'undefined') {
prettyPrint();
}
//--><!]]></script>
</body></html>