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_dir - 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_dir</h1> 26<div class="toplang"> 27<p><span>������ ���: </span><a href="/en/mod/mod_dir.html" hreflang="en" rel="alternate" title="English"> en </a> | 28<a href="/ja/mod/mod_dir.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | 29<a href="/ko/mod/mod_dir.html" title="Korean"> ko </a> | 30<a href="/tr/mod/mod_dir.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>"������ ������" �����̷����� �����ϰ� ���丮 35index ������ �����Ѵ�</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>dir_module</td></tr> 38<tr><th><a href="module-dict.html#SourceFile">�ҽ�����:</a></th><td>mod_dir.c</td></tr></table> 39<h3>���</h3> 40 41 <p>���丮�� index�� ���� ���� �Ѱ��� ������� ����ȴ�:</p> 42 43 <ul> 44 <li>����ڰ� �ۼ��� ���� <code>index.html</code>�̶�� 45 ����. <code class="directive"><a href="#directoryindex">DirectoryIndex</a></code> 46 ���þ�� �� ������ �̸��� �����Ѵ�. <code class="module"><a href="/mod/mod_dir.html">mod_dir</a></code>�� 47 �� ���þ �����Ѵ�.</li> 48 49 <li>�ƴ϶�� ������ ���� ���. <code class="module"><a href="/mod/mod_autoindex.html">mod_autoindex</a></code>�� 50 �� ����� �����Ѵ�.</li> 51 </ul> 52 <p>�� ����� ���� ������ ���Ѵٸ� �ڵ� index ���� ������ 53 ��� (Ȥ�� ��ü��) �� �ִ�.</p> 54 55 <p><code>dirname</code>�� ���丮��� ������ URL 56 <code>http://servername/foo/dirname</code> ��û�� ������ 57 "������ ������" �����̷����� ������. ���丮���� ������ 58 �������� �ʿ��ϴ�. ���� <code class="module"><a href="/mod/mod_dir.html">mod_dir</a></code>�� 59 <code>http://servername/foo/dirname/</code>�� �����̷����� 60 ������.</p> 61</div> 62<div id="quickview"><h3 class="directives">���þ��</h3> 63<ul id="toc"> 64<li><img alt="" src="/images/down.gif" /> <a href="#directoryindex">DirectoryIndex</a></li> 65<li><img alt="" src="/images/down.gif" /> <a href="#directoryslash">DirectorySlash</a></li> 66<li><img alt="" src="/images/down.gif" /> <a href="#fallbackresource">FallbackResource</a></li> 67</ul> 68<ul class="seealso"><li><a href="#comments_section">Comments</a></li></ul></div> 69 70<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 71<div class="directive-section"><h2><a name="DirectoryIndex" id="DirectoryIndex">DirectoryIndex</a> <a name="directoryindex" id="directoryindex">���þ�</a></h2> 72<table class="directive"> 73<tr><th><a href="directive-dict.html#Description">����:</a></th><td>Ŭ���̾�Ʈ�� ���丮�� ��û�Ҷ� ã�ƺ� �ڿ� ���</td></tr> 74<tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code>DirectoryIndex 75 <var>local-url</var> [<var>local-url</var>] ...</code></td></tr> 76<tr><th><a href="directive-dict.html#Default">�⺻��:</a></th><td><code>DirectoryIndex index.html</code></td></tr> 77<tr><th><a href="directive-dict.html#Context">������:</a></th><td>�ּ�������, ����ȣ��Ʈ, directory, .htaccess</td></tr> 78<tr><th><a href="directive-dict.html#Override">Override �ɼ�:</a></th><td>Indexes</td></tr> 79<tr><th><a href="directive-dict.html#Status">����:</a></th><td>Base</td></tr> 80<tr><th><a href="directive-dict.html#Module">���:</a></th><td>mod_dir</td></tr> 81</table> 82 <p><code class="directive">DirectoryIndex</code> ���þ�� Ŭ���̾�Ʈ�� 83 ���丮�� ���� /�� �ٿ��� ���丮�� index�� ��û�Ҷ� ã�ƺ� 84 �ڿ� ����� �����Ѵ�. <var>Local-url</var>�� ��û�� ���丮�� 85 ������� ������ (%�� ���ڵ��) URL�̴�. ������ ���丮�� 86 �ִ� ���ϸ��̴�. ���� URL�� ������ �� �ְ�, �� ��� ������ 87 ù��°�� ã�� ������ ������. �ڿ��� ã�� �� ��� 88 <code>Indexes</code> �ɼ��� �����Ͽ��ٸ� ������ ���� ���丮 89 ����� �����.</p> 90 91 <div class="example"><h3>����</h3><p><code> 92 DirectoryIndex index.html 93 </code></p></div> 94 95 <p>�� ��� <code>http://myserver/docs/</code>�� ��û�Ҷ� 96 <code>http://myserver/docs/index.html</code>�� ������ �̸� 97 ������, ��ٸ� ���丮 ����� ������.</p> 98 99 <p>������ �ݵ�� ���丮�� ������� �ʿ�� ���.</p> 100 101 <div class="example"><p><code> 102 DirectoryIndex index.html index.txt /cgi-bin/index.pl 103 </code></p></div> 104 105 <p>�� ��� ���丮�� <code>index.html</code>�̳� 106 <code>index.txt</code>�� ������ CGI ��ũ��Ʈ 107 <code>/cgi-bin/index.pl</code>�� �����Ѵ�.</p> 108 109</div> 110<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 111<div class="directive-section"><h2><a name="DirectorySlash" id="DirectorySlash">DirectorySlash</a> <a name="directoryslash" id="directoryslash">���þ�</a></h2> 112<table class="directive"> 113<tr><th><a href="directive-dict.html#Description">����:</a></th><td>������ ������ �����̷����� Ű�� ����</td></tr> 114<tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code>DirectorySlash On|Off</code></td></tr> 115<tr><th><a href="directive-dict.html#Default">�⺻��:</a></th><td><code>DirectorySlash On</code></td></tr> 116<tr><th><a href="directive-dict.html#Context">������:</a></th><td>�ּ�������, ����ȣ��Ʈ, directory, .htaccess</td></tr> 117<tr><th><a href="directive-dict.html#Override">Override �ɼ�:</a></th><td>Indexes</td></tr> 118<tr><th><a href="directive-dict.html#Status">����:</a></th><td>Base</td></tr> 119<tr><th><a href="directive-dict.html#Module">���:</a></th><td>mod_dir</td></tr> 120<tr><th><a href="directive-dict.html#Compatibility">����:</a></th><td>����ġ 2.0.51 ���ĺ���</td></tr> 121</table> 122 <p><code class="directive">DirectorySlash</code> ���þ�� 123 <code class="module"><a href="/mod/mod_dir.html">mod_dir</a></code>�� ���丮�� ����Ű�� URL�� �������� 124 ���θ� �����Ѵ�.</p> 125 126 <p>����ڰ� ������ ���������� ���丮�� �ش��ϴ� �ڿ��� 127 ��û�ϸ�, <code class="module"><a href="/mod/mod_dir.html">mod_dir</a></code>�� ���� ������ ���� ������ 128 ����ڸ� ������ �������� <em>����</em> ������ �ڿ����� 129 �����̷����Ѵ�.</p> 130 131 <ul> 132 <li>����ڴ� �ᱹ �ڿ��� ���� URL�� ��û�ϰ� �ȴ�</li> 133 <li><code class="module"><a href="/mod/mod_autoindex.html">mod_autoindex</a></code>�� �ùٷ� �����Ѵ�. �� 134 ����� ��ٸ� �� ����� ��ũ�� �߸�� ��θ� ���� �ȴ�.</li> 135 <li><code class="directive"><a href="#directoryindex">DirectoryIndex</a></code>�� 136 ������ �������� �ִ� ���丮 ��û<em>����</em> ó���Ѵ�.</li> 137 <li>html �������� �ִ� ������� URL ������ �ùٷ� �����Ѵ�.</li> 138 </ul> 139 140 <p>���� �� ����� ������ �ʰ�<em>��</em> ���� �� ������ 141 ��ſ��� �˸��� �ʴٸ� ������ ���� �����̷����� ���� ���� 142 �� �ִ�.</p> 143 144 <div class="example"><p><code> 145 # �Ʒ� ���� ��� ���!<br /> 146 <Location /some/path><br /> 147 <span class="indent"> 148 DirectorySlash Off<br /> 149 SetHandler some-handler<br /> 150 </span> 151 </Location> 152 </code></p></div> 153 154 <div class="warning"><h3>���� ���</h3> 155 <p>������ ������ �����̷����� ���� ������ ����� �� �ִ�. 156 (<code>Options +Indexes</code>) <code class="module"><a href="/mod/mod_autoindex.html">mod_autoindex</a></code>�� 157 ����ϰ� <code class="directive"><a href="#directoryindex">DirectoryIndex</a></code>�� 158 (<code>index.html</code> ����) ��ȿ�� �ڿ����� �����Ͽ����� 159 �ش� URL�� �ٸ� Ư���� �ڵ鷯�� ��� ��Ȳ�� ����غ���. 160 �� ��� ������ �������� �ִ� ��û�� <code>index.html</code> 161 ������ �����ش�. <strong>���� ������ �������� ��� ��û�� 162 ���丮 ������ �����ش�</strong>.</p> 163 </div> 164 165</div> 166<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 167<div class="directive-section"><h2><a name="FallbackResource" id="FallbackResource">FallbackResource</a> <a name="fallbackresource" id="fallbackresource">���þ�</a></h2> 168<table class="directive"> 169<tr><th><a href="directive-dict.html#Description">����:</a></th><td>Define a default URL for requests that don't map to a file</td></tr> 170<tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code>FallbackResource disabled | <var>local-url</var></code></td></tr> 171<tr><th><a href="directive-dict.html#Default">�⺻��:</a></th><td><code>None - httpd will return 404 (Not Found)</code></td></tr> 172<tr><th><a href="directive-dict.html#Context">������:</a></th><td>�ּ�������, ����ȣ��Ʈ, directory, .htaccess</td></tr> 173<tr><th><a href="directive-dict.html#Override">Override �ɼ�:</a></th><td>Indexes</td></tr> 174<tr><th><a href="directive-dict.html#Status">����:</a></th><td>Base</td></tr> 175<tr><th><a href="directive-dict.html#Module">���:</a></th><td>mod_dir</td></tr> 176<tr><th><a href="directive-dict.html#Compatibility">����:</a></th><td>Apache HTTP Server 2.2.16 and later - The <code>disabled</code> argument 177is supported since 2.2.24</td></tr> 178</table><p>The documentation for this directive has 179 not been translated yet. Please have a look at the English 180 version.</p></div> 181</div> 182<div class="bottomlang"> 183<p><span>������ ���: </span><a href="/en/mod/mod_dir.html" hreflang="en" rel="alternate" title="English"> en </a> | 184<a href="/ja/mod/mod_dir.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | 185<a href="/ko/mod/mod_dir.html" title="Korean"> ko </a> | 186<a href="/tr/mod/mod_dir.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> 187</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> 188<script type="text/javascript"><!--//--><![CDATA[//><!-- 189var comments_shortname = 'httpd'; 190var comments_identifier = 'http://httpd.apache.org/docs/2.2/mod/mod_dir.html'; 191(function(w, d) { 192 if (w.location.hostname.toLowerCase() == "httpd.apache.org") { 193 d.write('<div id="comments_thread"><\/div>'); 194 var s = d.createElement('script'); 195 s.type = 'text/javascript'; 196 s.async = true; 197 s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; 198 (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); 199 } 200 else { 201 d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); 202 } 203})(window, document); 204//--><!]]></script></div><div id="footer"> 205<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> 206<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[//><!-- 207if (typeof(prettyPrint) !== 'undefined') { 208 prettyPrint(); 209} 210//--><!]]></script> 211</body></html>