mod_alias.html.ko.euc-kr revision 6aadbc6fd703e73d1d419e9f06b84a4338c898f1
<?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">
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-->
<title>mod_alias - 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" />
<body>
<div id="page-header">
<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>
<p class="apache">Apache HTTP Server Version 2.1</p>
<div id="path">
<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="../">Version 2.1</a> > <a href="./">���</a></div>
<div id="page-content">
<div id="preamble"><h1>����ġ ��� mod_alias</h1>
<div class="toplang">
<p><span>������ ���: </span><a href="/en/mod/mod_alias.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="/ja/mod/mod_alias.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
</div>
<table class="module"><tr><th><a href="module-dict.html#Description">����:</a></th><td>���Ͻý����� �ٸ� �κе��� ���� ���������� �����ϰ�,
URL �����̷����� �����Ѵ�</td></tr>
<h3>���</h3>
<p>�� ����� �����ϴ� ���þ���� ����Ͽ� ������ ��û��
������ URL�� �����ϰų� ������ �� �ִ�. <code class="directive"><a href="#alias">Alias</a></code>�� <code class="directive"><a href="#scriptalias">ScriptAlias</a></code> ���þ�� URL��
���Ͻý��� ��η� �����Ѵ�. ���� <code class="directive"><a href="/mod/core.html#documentroot">DocumentRoot</a></code> �Ʒ��� ��� ������
������ ������ �� �ִ�. ��, <code class="directive"><a href="#scriptalias">ScriptAlias</a></code> ���þ�� ������
���丮�� CGI ��ũ��Ʈ�ۿ� ��ٰ� �˸���.</p>
<p><code class="directive"><a href="#redirect">Redirect</a></code> ���þ��
Ŭ���̾�Ʈ���� �ٸ� URL�� ���ο� ��û�� �ϵ��� �����Ѵ�.
�ڿ��� ���ο� ��ҷ� �ű� ��� ���� ����Ѵ�.</p>
����Ǿ��. ���ǹ��ڿ� ���۰� ���� ������ �۾���
<code class="module"><a href="/mod/mod_rewrite.html">mod_rewrite</a></code>�� �����ϴ� ����� �̿��϶�.</p>
</div>
<div id="quickview"><h3 class="directives">���þ��</h3>
<ul id="toc">
</ul>
<h3>����</h3>
<ul id="topics">
</ul><h3>���</h3>
<ul class="seealso">
</ul></div>
<div class="section">
<h2><a name="order" id="order">ó�� ��</a></h2>
<p>���� �ٸ� �����ҿ��� Alias�� Redirect�� ����ϸ� �ٸ� ���þ��
��� ó���Ѵ�. ���� ���� �����ҿ� (���� ���, ���� <code class="directive"><a href="/mod/core.html#virtualhost"><VirtualHost></a></code> ���ǿ�)
Alias�� Redirect�� ����ϸ� �Ʒ� ���� ó���Ѵ�.</p>
<p>���� ��� Redirect�� ó���� �� Alias�� ó���Ѵ�. ����
<code class="directive"><a href="#redirect">Redirect</a></code>�� <code class="directive"><a href="#redirectmatch">RedirectMatch</a></code>�� �ش��ϴ� ��û��
���� Alias���� �ʴ´�. ���� Alias�� Redirect�� �������Ͽ���
ù��°�� ������ ���� ����Ѵ�.</p>
<p>���� ���� ���þ ������ ������ο� �ش��ϴ� ��� ���
���þ ����ϱ����ؼ��� ���� ���� ��θ� ���� ����ؾ� �Ѵ�.
���� ���, ���� ������ �ǵ��Ѵ�� �����Ѵ�:</p>
<div class="example"><p><code>
Alias /foo /gaq
</code></p></div>
<code class="directive"><a href="#alias">Alias</a></code> ����
<code>/foo</code> <code class="directive"><a href="#alias">Alias</a></code>��
����ϹǷ� �� �ι�° ���þ �����Ѵ�.</p>
</div>
<div class="directive-section"><h2><a name="Alias" id="Alias">Alias</a> <a name="alias" id="alias">���þ�</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">����:</a></th><td>URL�� Ư�� ���Ͻý��� ��ҷ� �����Ѵ�</td></tr>
<var>file-path</var>|<var>directory-path</var></code></td></tr>
</table>
<p><code class="directive">Alias</code> ���þ ����ϸ� ���Ͻý��ۿ���
������ ������ �� �ִ�. <var>url-path</var>�� �����ϴ�
(%�� ���ڵ��) URL�� <var>directory-path</var>�� �����ϴ�
���Ͽ� �����Ѵ�.</p>
<div class="example"><h3>����:</h3><p><code>
</code></p></div>
<p>http://myserver/image/foo.gif�� ��û�ϸ� ������
<p><var>url-path</var> ���� /�� �����ϸ�, URL ���� /��
����ؾ߸� ������ ������ �����϶�. ��, <code>Alias /icons/
��谡 ���.</p>
<p>������ <em>���</em>�� �����ϴ� ���� <code class="directive"><a href="/mod/core.html#directory"><Directory></a></code> ������
�ʿ������� ��. �� ���þ�� <code class="directive"><a href="/mod/core.html#directory"><Directory></a></code> ������ �˻��ϱ� ��
ó���ϹǷ�, ������ ��� ������ ������ �´�. (����
������ �� ���þ ó���ϱ� �� �ѹ� �˻��ϹǷ� ������
URL ���� ��ü�� ������ �ش�.)</p>
�ۿ� �ִ� ���丮�� <code>Alias</code>�� �����ٸ�, ����
��� ���丮�� ������ �������� �Ѵ�.</p>
<div class="example"><h3>����:</h3><p><code>
<span class="indent">
Order allow,deny<br />
Allow from all<br />
</span>
</Directory>
</code></p></div>
</div>
<div class="directive-section"><h2><a name="AliasMatch" id="AliasMatch">AliasMatch</a> <a name="aliasmatch" id="aliasmatch">���þ�</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">����:</a></th><td>����ǥ������ ����Ͽ� URL�� ���Ͻý��� ��ҷ�
�����Ѵ�</td></tr>
<var>file-path</var>|<var>directory-path</var></code></td></tr>
</table>
<p>�� ���þ�� <code class="directive"><a href="#alias">Alias</a></code>��
������, ������ URL�� �պκи� ���ϴ� ��� ǥ�� ����ǥ������
����Ѵ�. ������ ����ǥ������ URL ��ο� ���Ͽ� �´ٸ�,
������ ��ȣ�� ���� �κ��� ��ü�Ͽ� ���ϸ����� ����Ѵ�.
���� ���, ������ ���� <code>/icons</code> ���丮�� �����
�� �ִ�:</p>
<div class="example"><p><code>
</code></p></div>
</div>
<div class="directive-section"><h2><a name="Redirect" id="Redirect">Redirect</a> <a name="redirect" id="redirect">���þ�</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">����:</a></th><td>Ŭ���̾�Ʈ�� �ٸ� URL�� �����ϵ��� ��û�ϴ� �ܺ�
�����̷����� ������</td></tr>
<tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code>Redirect [<var>status</var>] <var>URL-path</var>
<var>URL</var></code></td></tr>
<tr><th><a href="directive-dict.html#Context">������:</a></th><td>�ּ�������, ����ȣ��Ʈ, directory, .htaccess</td></tr>
</table>
<p>Redirect ���þ�� ���� URL�� ���ο� URL�� �����Ѵ�.
Ŭ���̾�Ʈ���� ���ο� URL�� ������, Ŭ���̾�Ʈ�� ���ο�
�ּҷ� �ٽ� �ѹ� �����Ѵ�. (%�� ���ڵ��) <var>URL-path</var>��
�����ϴ� ��û�� ������ (%�� ���ڵ��) <var>URL</var>�� �����ϴ�
���ο� URL�� �����̷��� ���� ������.</p>
<div class="example"><h3>����:</h3><p><code>
Redirect /service http://foo2.bar.com/service
</code></p></div>
<p>Ŭ���̾�Ʈ�� http://myserver/service/foo.txt�� ��û�ϸ�
��� http://foo2.bar.com/service/foo.txt�� �����϶�� ������
�´�.</p>
<div class="note"><h3>����</h3> <p>Redirect ���þ�� �������Ͽ���
������ ��� ������ Alias�� ScriptAlias ���þ�� �켱������
����. ��, .htaccess �����̳� <code class="directive"><a href="/mod/core.html#directory"><Directory></a></code> ���ǿ��� ����ϴ���
<var>URL-path</var>���� ����ΰ� �ƴ϶� �ݵ�� ������ URL��
����ؾ� �Ѵ�.</p></div>
<p><var>status</var> �ƱԸ�Ʈ�� ��������������, "�ӽ�
(temporary)" (HTTP ���� 302) �����̷����� ������. ��,
Ŭ���̾�Ʈ���� �ڿ��� �ӽ÷� �Ű�ٰ� �˸���. <var>status</var>
�ƱԸ�Ʈ�� ����Ͽ� �ٸ� HTTP �����ڵ带 ��ȯ�� �� �ִ�:</p>
<dl>
<dt>permanent</dt>
<dd>�ڿ��� ������ �Ű����� ���ϴ� ���� �����̷��� ���¸�
(301) ��ȯ�Ѵ�.</dd>
<dt>temp</dt>
<dd>�ӽ� �����̷��� ���¸� (302) ��ȯ�Ѵ�. �⺻���̴�.</dd>
<dt>seeother</dt>
<dd>�ڿ��� ��ü�Ǿ����� ���ϴ� "���� (See Other)" ���¸�
(303) ��ȯ�Ѵ�.</dd>
<dt>gone</dt>
<dd>�ڿ��� ������ �����Ǿ����� ���ϴ� "�Ҹ� (Gone)" ���¸�
(410) ��ȯ�Ѵ�. �� ���¸� ����ϸ� <var>URL</var> �ƱԸ�Ʈ��
����� �� ���.</dd>
</dl>
<p><var>status</var>�� ���� �����ڵ带 ����Ͽ� �ٸ� �����ڵ嵵
��ȯ�� �� �ִ�. ���°� 300�� 399 ���̶�� <var>URL</var>
�ƱԸ�Ʈ�� ����ؾ� �ϰ�, �ƴ϶�� ���ؾ� �Ѵ�. ��, ����ġ
�ڵ忡 ���°� ���ǵ��־�� �Ѵ� (http_protocol.c��
<code>send_error_response</code> �Լ� ���).</p>
<div class="example"><h3>����:</h3><p><code>
Redirect permanent /one http://example.com/two<br />
Redirect 303 /three http://example.com/other
</code></p></div>
</div>
<div class="directive-section"><h2><a name="RedirectMatch" id="RedirectMatch">RedirectMatch</a> <a name="redirectmatch" id="redirectmatch">���þ�</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">����:</a></th><td>���� URL�� ����ǥ���Ŀ� �ش��ϸ� �ܺ� �����̷�����
������</td></tr>
<tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code>RedirectMatch [<var>status</var>] <var>regex</var>
<var>URL</var></code></td></tr>
<tr><th><a href="directive-dict.html#Context">������:</a></th><td>�ּ�������, ����ȣ��Ʈ, directory, .htaccess</td></tr>
</table>
<p>�� ���þ�� <code class="directive"><a href="#redirect">Redirect</a></code>�� ������, ������
URL�� �պκи� ���ϴ� ��� ǥ�� ����ǥ������ ����Ѵ�.
������ ����ǥ������ URL ��ο� ���Ͽ� �´ٸ�, ������ ��ȣ��
���� �κ��� ��ü�Ͽ� ���ϸ����� ����Ѵ�. ���� ���, ������
��� GIF ���� ��û�� ���� �ٸ� ������ ����� �̸��� ����
JPEG ���Ϸ� �����̷����� ������:</p>
<div class="example"><p><code>
RedirectMatch (.*)\.gif$ http://www.anotherserver.com$1.jpg
</code></p></div>
</div>
<div class="directive-section"><h2><a name="RedirectPermanent" id="RedirectPermanent">RedirectPermanent</a> <a name="redirectpermanent" id="redirectpermanent">���þ�</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">����:</a></th><td>Ŭ���̾�Ʈ�� �ٸ� URL�� �����ϵ��� ��û�ϴ� �ܺ�
���� �����̷����� ������</td></tr>
<tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code>RedirectPermanent <var>URL-path</var> <var>URL</var></code></td></tr>
<tr><th><a href="directive-dict.html#Context">������:</a></th><td>�ּ�������, ����ȣ��Ʈ, directory, .htaccess</td></tr>
</table>
<p>�� ���þ�� Ŭ���̾�Ʈ���� �����̷����� ���������� (����
301) �˸���. <code>Redirect permanent</code>�� ��Ȯ�� ����.</p>
</div>
<div class="directive-section"><h2><a name="RedirectTemp" id="RedirectTemp">RedirectTemp</a> <a name="redirecttemp" id="redirecttemp">���þ�</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">����:</a></th><td>Ŭ���̾�Ʈ�� �ٸ� URL�� �����ϵ��� ��û�ϴ� �ܺ�
�ӽ� �����̷����� ������</td></tr>
<tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code>RedirectTemp <var>URL-path</var> <var>URL</var></code></td></tr>
<tr><th><a href="directive-dict.html#Context">������:</a></th><td>�ּ�������, ����ȣ��Ʈ, directory, .htaccess</td></tr>
</table>
<p>�� ���þ�� Ŭ���̾�Ʈ���� �����̷����� �ӽ������� (����
302) �˸���. <code>Redirect temp</code>�� ��Ȯ�� ����.</p>
</div>
<div class="directive-section"><h2><a name="ScriptAlias" id="ScriptAlias">ScriptAlias</a> <a name="scriptalias" id="scriptalias">���þ�</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">����:</a></th><td>URL�� Ư�� ���Ͻý��� ��ҷ� �����ϰ� ����� CGI
��ũ��Ʈ��� �˸���</td></tr>
<tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code>ScriptAlias <var>URL-path</var>
<var>file-path</var>|<var>directory-path</var></code></td></tr>
</table>
<p><code class="directive">ScriptAlias</code> ���þ�� <code class="directive"><a href="#alias">Alias</a></code> ���þ�� ���������,
�ڵ鷯�� ó���� CGI ��ũ��Ʈ�� �ִٰ� �˸���.
<var>URL-path</var>�� �����ϴ� (%�� ���ڵ��) URL�� ���Ͻý�����
������� �ι�° �ƱԸ�Ʈ�� �����ϴ� ��ũ��Ʈ�� �����Ѵ�.</p>
<div class="example"><h3>����:</h3><p><code>
</code></p></div>
</div>
<div class="directive-section"><h2><a name="ScriptAliasMatch" id="ScriptAliasMatch">ScriptAliasMatch</a> <a name="scriptaliasmatch" id="scriptaliasmatch">���þ�</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">����:</a></th><td>����ǥ������ ����Ͽ� URL�� Ư�� ���Ͻý��� ��ҷ�
�����ϰ� ����� CGI ��ũ��Ʈ��� �˸���</td></tr>
<tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code>ScriptAliasMatch <var>regex</var>
<var>file-path</var>|<var>directory-path</var></code></td></tr>
</table>
<p>�� ���þ�� <code class="directive"><a href="#scriptalias">ScriptAlias</a></code>�� ������, ������
URL�� �պκи� ���ϴ� ��� ǥ�� ����ǥ������ ����Ѵ�.
������ ����ǥ������ URL ��ο� ���Ͽ� �´ٸ�, ������ ��ȣ��
���� �κ��� ��ü�Ͽ� ���ϸ����� ����Ѵ�. ���� ���, ������
���� ǥ������ <code>/cgi-bin</code>�� ����� �� �ִ�:</p>
<div class="example"><p><code>
</code></p></div>
</div>
</div>
<div class="bottomlang">
<p><span>������ ���: </span><a href="/en/mod/mod_alias.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="/ja/mod/mod_alias.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
</div><div id="footer">
<p class="apache">Copyright 1999-2004 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="/faq/">FAQ</a> | <a href="/glossary.html">���</a> | <a href="/sitemap.html">����Ʈ��</a></p></div>
</body></html>