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