1<?xml version="1.0" encoding="EUC-KR"?> 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="ko" xml:lang="ko"><head><!-- 4 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 5 This file is generated from xml source: DO NOT EDIT 6 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 7 --> 8<title>mod_alias - Apache HTTP Server</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.min.js" type="text/javascript"> 13</script> 14 15<link href="/images/favicon.ico" rel="shortcut icon" /></head> 16<body> 17<div id="page-header"> 18<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> 19<p class="apache">Apache HTTP Server Version 2.4</p> 20<img alt="" src="/images/feather.gif" /></div> 21<div class="up"><a href="./"><img title="<-" alt="<-" src="/images/left.gif" /></a></div> 22<div id="path"> 23<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.4</a> > <a href="./">���</a></div> 24<div id="page-content"> 25<div id="preamble"><h1>����ġ ��� mod_alias</h1> 26<div class="toplang"> 27<p><span>������ ���: </span><a href="/en/mod/mod_alias.html" hreflang="en" rel="alternate" title="English"> en </a> | 28<a href="/fr/mod/mod_alias.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | 29<a href="/ja/mod/mod_alias.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | 30<a href="/ko/mod/mod_alias.html" title="Korean"> ko </a> | 31<a href="/tr/mod/mod_alias.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> 32</div> 33<div class="outofdate">�� ������ �ֽ��� ���� �ƴմϴ�. 34 �ֱٿ� ����� ������ ���� ������ ����ϼ���.</div> 35<table class="module"><tr><th><a href="module-dict.html#Description">����:</a></th><td>���Ͻý����� �ٸ� �κе��� ���� ���������� �����ϰ�, 36 URL �����̷����� �����Ѵ�</td></tr> 37<tr><th><a href="module-dict.html#Status">����:</a></th><td>Base</td></tr> 38<tr><th><a href="module-dict.html#ModuleIdentifier">����:</a></th><td>alias_module</td></tr> 39<tr><th><a href="module-dict.html#SourceFile">�ҽ�����:</a></th><td>mod_alias.c</td></tr></table> 40<h3>���</h3> 41 42 <p>�� ����� �����ϴ� ���þ���� ����Ͽ� ������ ��û�� 43 ������ URL�� �����ϰų� ������ �� �ִ�. <code class="directive"><a href="#alias">Alias</a></code>�� <code class="directive"><a href="#scriptalias">ScriptAlias</a></code> ���þ�� URL�� 44 ���Ͻý��� ��η� �����Ѵ�. ���� <code class="directive"><a href="/mod/core.html#documentroot">DocumentRoot</a></code> �Ʒ��� ��� ������ 45 ������ ������ �� �ִ�. ��, <code class="directive"><a href="#scriptalias">ScriptAlias</a></code> ���þ�� ������ 46 ���丮�� CGI ��ũ��Ʈ�ۿ� ��ٰ� �˸���.</p> 47 48 <p><code class="directive"><a href="#redirect">Redirect</a></code> ���þ�� 49 Ŭ���̾�Ʈ���� �ٸ� URL�� ���ο� ��û�� �ϵ��� �����Ѵ�. 50 �ڿ��� ���ο� ��ҷ� �ű� ��� ���� ����Ѵ�.</p> 51 52 <p><code class="module"><a href="/mod/mod_alias.html">mod_alias</a></code>�� ������ URL ������ ���� 53 ����Ǿ��. ���ǹ��ڿ� ���۰� ���� ������ �۾��� 54 <code class="module"><a href="/mod/mod_rewrite.html">mod_rewrite</a></code>�� �����ϴ� ����� �̿��϶�.</p> 55 56</div> 57<div id="quickview"><h3 class="directives">���þ��</h3> 58<ul id="toc"> 59<li><img alt="" src="/images/down.gif" /> <a href="#alias">Alias</a></li> 60<li><img alt="" src="/images/down.gif" /> <a href="#aliasmatch">AliasMatch</a></li> 61<li><img alt="" src="/images/down.gif" /> <a href="#redirect">Redirect</a></li> 62<li><img alt="" src="/images/down.gif" /> <a href="#redirectmatch">RedirectMatch</a></li> 63<li><img alt="" src="/images/down.gif" /> <a href="#redirectpermanent">RedirectPermanent</a></li> 64<li><img alt="" src="/images/down.gif" /> <a href="#redirecttemp">RedirectTemp</a></li> 65<li><img alt="" src="/images/down.gif" /> <a href="#scriptalias">ScriptAlias</a></li> 66<li><img alt="" src="/images/down.gif" /> <a href="#scriptaliasmatch">ScriptAliasMatch</a></li> 67</ul> 68<h3>����</h3> 69<ul id="topics"> 70<li><img alt="" src="/images/down.gif" /> <a href="#order">ó�� ��</a></li> 71</ul><h3>���</h3> 72<ul class="seealso"> 73<li><code class="module"><a href="/mod/mod_rewrite.html">mod_rewrite</a></code></li> 74<li><a href="/urlmapping.html">URL�� ���Ͻý��ۿ� ����</a></li> 75</ul><ul class="seealso"><li><a href="#comments_section">Comments</a></li></ul></div> 76<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 77<div class="section"> 78<h2><a name="order" id="order">ó�� ��</a></h2> 79 80<p>���� �ٸ� �����ҿ��� Alias�� Redirect�� ����ϸ� �ٸ� ���þ�� 81���� ǥ�� <a href="/sections.html#mergin">���� ���</a>�� 82��� ó���Ѵ�. ���� ���� �����ҿ� (���� ���, ���� <code class="directive"><a href="/mod/core.html#virtualhost"><VirtualHost></a></code> ���ǿ�) 83Alias�� Redirect�� ����ϸ� �Ʒ� ���� ó���Ѵ�.</p> 84 85<p>���� ��� Redirect�� ó���� �� Alias�� ó���Ѵ�. ���� 86<code class="directive"><a href="#redirect">Redirect</a></code>�� <code class="directive"><a href="#redirectmatch">RedirectMatch</a></code>�� �ش��ϴ� ��û�� 87���� Alias���� �ʴ´�. ���� Alias�� Redirect�� �������Ͽ��� 88ù��°�� ������ ���� ����Ѵ�.</p> 89 90<p>���� ���� ���þ ������ ������ο� �ش��ϴ� ��� ��� 91���þ ����ϱ����ؼ��� ���� ���� ��θ� ���� ����ؾ� �Ѵ�. 92���� ���, ���� ������ �ǵ��Ѵ�� �����Ѵ�:</p> 93 94<div class="example"><p><code> 95Alias /foo/bar /baz<br /> 96Alias /foo /gaq 97</code></p></div> 98 99<p>���� ���� �� ���þ� �� �ٲٸ� <code>/foo/bar</code> 100<code class="directive"><a href="#alias">Alias</a></code> ���� 101<code>/foo</code> <code class="directive"><a href="#alias">Alias</a></code>�� 102����ϹǷ� �� �ι�° ���þ �����Ѵ�.</p> 103 104</div> 105<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 106<div class="directive-section"><h2><a name="Alias" id="Alias">Alias</a> <a name="alias" id="alias">���þ�</a></h2> 107<table class="directive"> 108<tr><th><a href="directive-dict.html#Description">����:</a></th><td>URL�� Ư�� ���Ͻý��� ��ҷ� �����Ѵ�</td></tr> 109<tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code>Alias <var>URL-path</var> 110<var>file-path</var>|<var>directory-path</var></code></td></tr> 111<tr><th><a href="directive-dict.html#Context">������:</a></th><td>�ּ�������, ����ȣ��Ʈ</td></tr> 112<tr><th><a href="directive-dict.html#Status">����:</a></th><td>Base</td></tr> 113<tr><th><a href="directive-dict.html#Module">���:</a></th><td>mod_alias</td></tr> 114</table> 115 116 <p><code class="directive">Alias</code> ���þ ����ϸ� ���Ͻý��ۿ��� 117 <code class="directive"><a href="/mod/core.html#documentroot">DocumentRoot</a></code> �ۿ� �ִ� 118 ������ ������ �� �ִ�. <var>url-path</var>�� �����ϴ� 119 (%�� ���ڵ��) URL�� <var>directory-path</var>�� �����ϴ� 120 ���Ͽ� �����Ѵ�.</p> 121 122 <div class="example"><h3>����:</h3><p><code> 123 Alias /image /ftp/pub/image 124 </code></p></div> 125 126 <p>http://myserver/image/foo.gif�� ��û�ϸ� ������ 127 /ftp/pub/image/foo.gif ������ �Ѱ��ش�.</p> 128 129 <p><var>url-path</var> ���� /�� �����ϸ�, URL ���� /�� 130 ����ؾ߸� ������ ������ �����϶�. ��, <code>Alias /icons/ 131 /usr/local/apache/icons/</code> ������ url <code>/icons</code>�� 132 ��谡 ���.</p> 133 134 <p>������ <em>���</em>�� �����ϴ� ���� <code class="directive"><a href="/mod/core.html#directory"><Directory></a></code> ������ 135 �ʿ������� ��. �� ���þ�� <code class="directive"><a href="/mod/core.html#directory"><Directory></a></code> ������ �˻��ϱ� �� 136 ó���ϹǷ�, ������ ��� ������ ������ �´�. (���� 137 <code class="directive"><a href="/mod/core.html#location"><Location></a></code> 138 ������ �� ���þ ó���ϱ� �� �ѹ� �˻��ϹǷ� ������ 139 URL ���� ��ü�� ������ �ش�.)</p> 140 141 <p>Ư�� <code class="directive"><a href="/mod/core.html#documentroot">DocumentRoot</a></code> 142 �ۿ� �ִ� ���丮�� <code>Alias</code>�� �����ٸ�, ���� 143 ��� ���丮�� ������ �������� �Ѵ�.</p> 144 145 <div class="example"><h3>����:</h3><p><code> 146 Alias /image /ftp/pub/image<br /> 147 <Directory /ftp/pub/image><br /> 148 <span class="indent"> 149 Order allow,deny<br /> 150 Allow from all<br /> 151 </span> 152 </Directory> 153 </code></p></div> 154 155 156</div> 157<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 158<div class="directive-section"><h2><a name="AliasMatch" id="AliasMatch">AliasMatch</a> <a name="aliasmatch" id="aliasmatch">���þ�</a></h2> 159<table class="directive"> 160<tr><th><a href="directive-dict.html#Description">����:</a></th><td>����ǥ������ ����Ͽ� URL�� ���Ͻý��� ��ҷ� 161�����Ѵ�</td></tr> 162<tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code>AliasMatch <var>regex</var> 163<var>file-path</var>|<var>directory-path</var></code></td></tr> 164<tr><th><a href="directive-dict.html#Context">������:</a></th><td>�ּ�������, ����ȣ��Ʈ</td></tr> 165<tr><th><a href="directive-dict.html#Status">����:</a></th><td>Base</td></tr> 166<tr><th><a href="directive-dict.html#Module">���:</a></th><td>mod_alias</td></tr> 167</table> 168 <p>�� ���þ�� <code class="directive"><a href="#alias">Alias</a></code>�� 169 ������, ������ URL�� �պκи� ���ϴ� ��� ǥ�� ����ǥ������ 170 ����Ѵ�. ������ ����ǥ������ URL ��ο� ���Ͽ� �´ٸ�, 171 ������ ��ȣ�� ���� �κ��� ��ü�Ͽ� ���ϸ����� ����Ѵ�. 172 ���� ���, ������ ���� <code>/icons</code> ���丮�� ����� 173 �� �ִ�:</p> 174 175 <div class="example"><p><code> 176 AliasMatch ^/icons(.*) /usr/local/apache/icons$1 177 </code></p></div> 178 179</div> 180<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 181<div class="directive-section"><h2><a name="Redirect" id="Redirect">Redirect</a> <a name="redirect" id="redirect">���þ�</a></h2> 182<table class="directive"> 183<tr><th><a href="directive-dict.html#Description">����:</a></th><td>Ŭ���̾�Ʈ�� �ٸ� URL�� �����ϵ��� ��û�ϴ� �ܺ� 184�����̷����� ������</td></tr> 185<tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code>Redirect [<var>status</var>] <var>URL-path</var> 186<var>URL</var></code></td></tr> 187<tr><th><a href="directive-dict.html#Context">������:</a></th><td>�ּ�������, ����ȣ��Ʈ, directory, .htaccess</td></tr> 188<tr><th><a href="directive-dict.html#Override">Override �ɼ�:</a></th><td>FileInfo</td></tr> 189<tr><th><a href="directive-dict.html#Status">����:</a></th><td>Base</td></tr> 190<tr><th><a href="directive-dict.html#Module">���:</a></th><td>mod_alias</td></tr> 191</table> 192 <p>Redirect ���þ�� ���� URL�� ���ο� URL�� �����Ѵ�. 193 Ŭ���̾�Ʈ���� ���ο� URL�� ������, Ŭ���̾�Ʈ�� ���ο� 194 �ּҷ� �ٽ� �ѹ� �����Ѵ�. (%�� ���ڵ��) <var>URL-path</var>�� 195 �����ϴ� ��û�� ������ (%�� ���ڵ��) <var>URL</var>�� �����ϴ� 196 ���ο� URL�� �����̷��� ���� ������.</p> 197 198 <div class="example"><h3>����:</h3><p><code> 199 Redirect /service http://foo2.bar.com/service 200 </code></p></div> 201 202 <p>Ŭ���̾�Ʈ�� http://myserver/service/foo.txt�� ��û�ϸ� 203 ��� http://foo2.bar.com/service/foo.txt�� �����϶�� ������ 204 �´�.</p> 205 206<div class="note"><h3>����</h3> <p>Redirect ���þ�� �������Ͽ��� 207������ ��� ������ Alias�� ScriptAlias ���þ�� �켱������ 208����. ��, .htaccess �����̳� <code class="directive"><a href="/mod/core.html#directory"><Directory></a></code> ���ǿ��� ����ϴ��� 209<var>URL-path</var>���� ����ΰ� �ƴ϶� �ݵ�� ������ URL�� 210����ؾ� �Ѵ�.</p></div> 211 212 <p><var>status</var> �ƱԸ�Ʈ�� ��������������, "�ӽ� 213 (temporary)" (HTTP ���� 302) �����̷����� ������. ��, 214 Ŭ���̾�Ʈ���� �ڿ��� �ӽ÷� �Ű�ٰ� �˸���. <var>status</var> 215 �ƱԸ�Ʈ�� ����Ͽ� �ٸ� HTTP �����ڵ带 ��ȯ�� �� �ִ�:</p> 216 217 <dl> 218 <dt>permanent</dt> 219 220 <dd>�ڿ��� ������ �Ű����� ���ϴ� ���� �����̷��� ���¸� 221 (301) ��ȯ�Ѵ�.</dd> 222 223 <dt>temp</dt> 224 225 <dd>�ӽ� �����̷��� ���¸� (302) ��ȯ�Ѵ�. �⺻���̴�.</dd> 226 227 <dt>seeother</dt> 228 229 <dd>�ڿ��� ��ü�Ǿ����� ���ϴ� "���� (See Other)" ���¸� 230 (303) ��ȯ�Ѵ�.</dd> 231 232 <dt>gone</dt> 233 234 <dd>�ڿ��� ������ �����Ǿ����� ���ϴ� "�Ҹ� (Gone)" ���¸� 235 (410) ��ȯ�Ѵ�. �� ���¸� ����ϸ� <var>URL</var> �ƱԸ�Ʈ�� 236 ����� �� ���.</dd> 237 </dl> 238 239 <p><var>status</var>�� ���� �����ڵ带 ����Ͽ� �ٸ� �����ڵ嵵 240 ��ȯ�� �� �ִ�. ���°� 300�� 399 ���̶�� <var>URL</var> 241 �ƱԸ�Ʈ�� ����ؾ� �ϰ�, �ƴ϶�� ���ؾ� �Ѵ�. ��, ����ġ 242 �ڵ忡 ���°� ���ǵ��־�� �Ѵ� (http_protocol.c�� 243 <code>send_error_response</code> �Լ� ���).</p> 244 245 <div class="example"><h3>����:</h3><p><code> 246 Redirect permanent /one http://example.com/two<br /> 247 Redirect 303 /three http://example.com/other 248 </code></p></div> 249 250 251</div> 252<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 253<div class="directive-section"><h2><a name="RedirectMatch" id="RedirectMatch">RedirectMatch</a> <a name="redirectmatch" id="redirectmatch">���þ�</a></h2> 254<table class="directive"> 255<tr><th><a href="directive-dict.html#Description">����:</a></th><td>���� URL�� ����ǥ���Ŀ� �ش��ϸ� �ܺ� �����̷����� 256������</td></tr> 257<tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code>RedirectMatch [<var>status</var>] <var>regex</var> 258<var>URL</var></code></td></tr> 259<tr><th><a href="directive-dict.html#Context">������:</a></th><td>�ּ�������, ����ȣ��Ʈ, directory, .htaccess</td></tr> 260<tr><th><a href="directive-dict.html#Override">Override �ɼ�:</a></th><td>FileInfo</td></tr> 261<tr><th><a href="directive-dict.html#Status">����:</a></th><td>Base</td></tr> 262<tr><th><a href="directive-dict.html#Module">���:</a></th><td>mod_alias</td></tr> 263</table> 264 <p>�� ���þ�� <code class="directive"><a href="#redirect">Redirect</a></code>�� ������, ������ 265 URL�� �պκи� ���ϴ� ��� ǥ�� ����ǥ������ ����Ѵ�. 266 ������ ����ǥ������ URL ��ο� ���Ͽ� �´ٸ�, ������ ��ȣ�� 267 ���� �κ��� ��ü�Ͽ� ���ϸ����� ����Ѵ�. ���� ���, ������ 268 ��� GIF ���� ��û�� ���� �ٸ� ������ ����� �̸��� ���� 269 JPEG ���Ϸ� �����̷����� ������:</p> 270 271 <div class="example"><p><code> 272 RedirectMatch (.*)\.gif$ http://www.anotherserver.com$1.jpg 273 </code></p></div> 274 275</div> 276<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 277<div class="directive-section"><h2><a name="RedirectPermanent" id="RedirectPermanent">RedirectPermanent</a> <a name="redirectpermanent" id="redirectpermanent">���þ�</a></h2> 278<table class="directive"> 279<tr><th><a href="directive-dict.html#Description">����:</a></th><td>Ŭ���̾�Ʈ�� �ٸ� URL�� �����ϵ��� ��û�ϴ� �ܺ� 280���� �����̷����� ������</td></tr> 281<tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code>RedirectPermanent <var>URL-path</var> <var>URL</var></code></td></tr> 282<tr><th><a href="directive-dict.html#Context">������:</a></th><td>�ּ�������, ����ȣ��Ʈ, directory, .htaccess</td></tr> 283<tr><th><a href="directive-dict.html#Override">Override �ɼ�:</a></th><td>FileInfo</td></tr> 284<tr><th><a href="directive-dict.html#Status">����:</a></th><td>Base</td></tr> 285<tr><th><a href="directive-dict.html#Module">���:</a></th><td>mod_alias</td></tr> 286</table> 287 <p>�� ���þ�� Ŭ���̾�Ʈ���� �����̷����� ���������� (���� 288 301) �˸���. <code>Redirect permanent</code>�� ��Ȯ�� ����.</p> 289 290</div> 291<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 292<div class="directive-section"><h2><a name="RedirectTemp" id="RedirectTemp">RedirectTemp</a> <a name="redirecttemp" id="redirecttemp">���þ�</a></h2> 293<table class="directive"> 294<tr><th><a href="directive-dict.html#Description">����:</a></th><td>Ŭ���̾�Ʈ�� �ٸ� URL�� �����ϵ��� ��û�ϴ� �ܺ� 295�ӽ� �����̷����� ������</td></tr> 296<tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code>RedirectTemp <var>URL-path</var> <var>URL</var></code></td></tr> 297<tr><th><a href="directive-dict.html#Context">������:</a></th><td>�ּ�������, ����ȣ��Ʈ, directory, .htaccess</td></tr> 298<tr><th><a href="directive-dict.html#Override">Override �ɼ�:</a></th><td>FileInfo</td></tr> 299<tr><th><a href="directive-dict.html#Status">����:</a></th><td>Base</td></tr> 300<tr><th><a href="directive-dict.html#Module">���:</a></th><td>mod_alias</td></tr> 301</table> 302 <p>�� ���þ�� Ŭ���̾�Ʈ���� �����̷����� �ӽ������� (���� 303 302) �˸���. <code>Redirect temp</code>�� ��Ȯ�� ����.</p> 304 305</div> 306<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 307<div class="directive-section"><h2><a name="ScriptAlias" id="ScriptAlias">ScriptAlias</a> <a name="scriptalias" id="scriptalias">���þ�</a></h2> 308<table class="directive"> 309<tr><th><a href="directive-dict.html#Description">����:</a></th><td>URL�� Ư�� ���Ͻý��� ��ҷ� �����ϰ� ����� CGI 310��ũ��Ʈ��� �˸���</td></tr> 311<tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code>ScriptAlias <var>URL-path</var> 312<var>file-path</var>|<var>directory-path</var></code></td></tr> 313<tr><th><a href="directive-dict.html#Context">������:</a></th><td>�ּ�������, ����ȣ��Ʈ</td></tr> 314<tr><th><a href="directive-dict.html#Status">����:</a></th><td>Base</td></tr> 315<tr><th><a href="directive-dict.html#Module">���:</a></th><td>mod_alias</td></tr> 316</table> 317 <p><code class="directive">ScriptAlias</code> ���þ�� <code class="directive"><a href="#alias">Alias</a></code> ���þ�� ���������, 318 �߰��� ��� ���丮�� <code class="module"><a href="/mod/mod_cgi.html">mod_cgi</a></code>�� cgi-script 319 �ڵ鷯�� ó���� CGI ��ũ��Ʈ�� �ִٰ� �˸���. 320 <var>URL-path</var>�� �����ϴ� (%�� ���ڵ��) URL�� ���Ͻý����� 321 ������� �ι�° �ƱԸ�Ʈ�� �����ϴ� ��ũ��Ʈ�� �����Ѵ�.</p> 322 323 <div class="example"><h3>����:</h3><p><code> 324 ScriptAlias /cgi-bin/ /web/cgi-bin/ 325 </code></p></div> 326 327 <p><code>http://myserver/cgi-bin/foo</code>�� ��û�ϸ� ������ 328 <code>/web/cgi-bin/foo</code> ��ũ��Ʈ�� �����Ѵ�.</p> 329 330</div> 331<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 332<div class="directive-section"><h2><a name="ScriptAliasMatch" id="ScriptAliasMatch">ScriptAliasMatch</a> <a name="scriptaliasmatch" id="scriptaliasmatch">���þ�</a></h2> 333<table class="directive"> 334<tr><th><a href="directive-dict.html#Description">����:</a></th><td>����ǥ������ ����Ͽ� URL�� Ư�� ���Ͻý��� ��ҷ� 335�����ϰ� ����� CGI ��ũ��Ʈ��� �˸���</td></tr> 336<tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code>ScriptAliasMatch <var>regex</var> 337<var>file-path</var>|<var>directory-path</var></code></td></tr> 338<tr><th><a href="directive-dict.html#Context">������:</a></th><td>�ּ�������, ����ȣ��Ʈ</td></tr> 339<tr><th><a href="directive-dict.html#Status">����:</a></th><td>Base</td></tr> 340<tr><th><a href="directive-dict.html#Module">���:</a></th><td>mod_alias</td></tr> 341</table> 342 <p>�� ���þ�� <code class="directive"><a href="#scriptalias">ScriptAlias</a></code>�� ������, ������ 343 URL�� �պκи� ���ϴ� ��� ǥ�� ����ǥ������ ����Ѵ�. 344 ������ ����ǥ������ URL ��ο� ���Ͽ� �´ٸ�, ������ ��ȣ�� 345 ���� �κ��� ��ü�Ͽ� ���ϸ����� ����Ѵ�. ���� ���, ������ 346 ���� ǥ������ <code>/cgi-bin</code>�� ����� �� �ִ�:</p> 347 348 <div class="example"><p><code> 349 ScriptAliasMatch ^/cgi-bin(.*) /usr/local/apache/cgi-bin$1 350 </code></p></div> 351 352</div> 353</div> 354<div class="bottomlang"> 355<p><span>������ ���: </span><a href="/en/mod/mod_alias.html" hreflang="en" rel="alternate" title="English"> en </a> | 356<a href="/fr/mod/mod_alias.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | 357<a href="/ja/mod/mod_alias.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | 358<a href="/ko/mod/mod_alias.html" title="Korean"> ko </a> | 359<a href="/tr/mod/mod_alias.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> 360</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&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> 361<script type="text/javascript"><!--//--><![CDATA[//><!-- 362var comments_shortname = 'httpd'; 363var comments_identifier = 'http://httpd.apache.org/docs/2.4/mod/mod_alias.html'; 364(function(w, d) { 365 if (w.location.hostname.toLowerCase() == "httpd.apache.org") { 366 d.write('<div id="comments_thread"><\/div>'); 367 var s = d.createElement('script'); 368 s.type = 'text/javascript'; 369 s.async = true; 370 s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; 371 (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); 372 } 373 else { 374 d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); 375 } 376})(window, document); 377//--><!]]></script></div><div id="footer"> 378<p class="apache">Copyright 2014 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> 379<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[//><!-- 380if (typeof(prettyPrint) !== 'undefined') { 381 prettyPrint(); 382} 383//--><!]]></script> 384</body></html>