]> granicus.if.org Git - apache/blob - docs/manual/mod/mod_dir.xml.ko
rebuild docs
[apache] / docs / manual / mod / mod_dir.xml.ko
1 <?xml version="1.0" encoding="EUC-KR" ?>
2 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
3 <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
4 <!-- English Revision: 151408:1586471 (outdated) -->
5
6 <!--
7  Licensed to the Apache Software Foundation (ASF) under one or more
8  contributor license agreements.  See the NOTICE file distributed with
9  this work for additional information regarding copyright ownership.
10  The ASF licenses this file to You under the Apache License, Version 2.0
11  (the "License"); you may not use this file except in compliance with
12  the License.  You may obtain a copy of the License at
13
14      http://www.apache.org/licenses/LICENSE-2.0
15
16  Unless required by applicable law or agreed to in writing, software
17  distributed under the License is distributed on an "AS IS" BASIS,
18  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19  See the License for the specific language governing permissions and
20  limitations under the License.
21 -->
22
23 <modulesynopsis metafile="mod_dir.xml.meta">
24 <name>mod_dir</name>
25 <description>"¸¶Áö¸· ½½·¡½¬" ¸®´ÙÀÌ·º¼ÇÀ» Á¦°øÇÏ°í µð·ºÅ丮
26 index ÆÄÀÏÀ» ¼­ºñ½ºÇÑ´Ù</description>
27 <status>Base</status>
28 <sourcefile>mod_dir.c</sourcefile>
29 <identifier>dir_module</identifier>
30
31 <summary>
32     <p>µð·ºÅ丮ÀÇ index´Â ´ÙÀ½ µÑÁß ÇÑ°¡Áö ¹æ¹ýÀ¸·Î Á¦°øµÈ´Ù:</p>
33
34     <ul>
35       <li>»ç¿ëÀÚ°¡ ÀÛ¼ºÇÑ º¸Åë <code>index.html</code>À̶ó´Â
36       ÆÄÀÏ. <directive module="mod_dir">DirectoryIndex</directive>
37       Áö½Ã¾î´Â ÀÌ ÆÄÀÏÀÇ À̸§À» ÁöÁ¤ÇÑ´Ù. <module>mod_dir</module>°¡
38       ÀÌ Áö½Ã¾î¸¦ Á¦°øÇÑ´Ù.</li>
39
40       <li>¾Æ´Ï¶ó¸é ¼­¹ö°¡ ¸¸µç ¸ñ·Ï. <module>mod_autoindex</module>°¡
41       ÀÌ ±â´ÉÀ» Á¦°øÇÑ´Ù.</li>
42     </ul>
43     <p>µÎ ±â´ÉÀº ¼­·Î º°°³·Î ¿øÇÑ´Ù¸é ÀÚµ¿ index »ý¼ºÀ» ¿ÏÀüÈ÷
44     ¾ø¾Ù (ȤÀº ±³Ã¼ÇÒ) ¼ö ÀÖ´Ù.</p>
45
46     <p><code>dirname</code>ÀÌ µð·ºÅ丮¶ó¸é ¼­¹ö´Â URL
47     <code>http://servername/foo/dirname</code> ¿äûÀ» ¹ÞÀ¸¸é
48     "¸¶Áö¸· ½½·¡½¬" ¸®´ÙÀÌ·º¼ÇÀ» º¸³½´Ù. µð·ºÅ丮¿¡´Â ¸¶Áö¸·
49     ½½·¡½¬°¡ ÇÊ¿äÇÏ´Ù. ±×·¡¼­ <module>mod_dir</module>Àº
50     <code>http://servername/foo/dirname/</code>·Î ¸®´ÙÀÌ·º¼ÇÀ»
51     º¸³½´Ù.</p>
52 </summary>
53
54 <directivesynopsis>
55 <name>DirectoryIndex</name>
56 <description>Ŭ¶óÀ̾ðÆ®°¡ µð·ºÅ丮¸¦ ¿äûÇÒ¶§ Ã£¾Æº¼ ÀÚ¿ø ¸ñ·Ï</description>
57 <syntax>DirectoryIndex
58     <var>local-url</var> [<var>local-url</var>] ...</syntax>
59 <default>DirectoryIndex index.html</default>
60 <contextlist><context>server config</context><context>virtual host</context>
61 <context>directory</context><context>.htaccess</context></contextlist>
62 <override>Indexes</override>
63
64 <usage>
65     <p><directive>DirectoryIndex</directive> Áö½Ã¾î´Â Å¬¶óÀ̾ðÆ®°¡
66     µð·ºÅ丮¸í ³¡¿¡ /¸¦ ºÙ¿©¼­ µð·ºÅ丮ÀÇ index¸¦ ¿äûÇÒ¶§ Ã£¾Æº¼
67     ÀÚ¿ø ¸ñ·ÏÀ» ÁöÁ¤ÇÑ´Ù. <var>Local-url</var>Àº ¿äûÇÑ µð·ºÅ丮¿¡
68     »ó´ëÀûÀΠ¹®¼­ÀÇ (%·Î ÀÎÄÚµùµÈ) URLÀÌ´Ù. º¸ÅëÀº µð·ºÅ丮¿¡
69     Àִ ÆÄÀϸíÀÌ´Ù. ¿©·¯ URLÀ» ÁöÁ¤ÇÒ ¼ö ÀÖ°í, ÀÌ °æ¿ì ¼­¹ö´Â
70     Ã¹¹ø°·Î Ã£Àº ÆÄÀÏÀ» º¸³½´Ù. ÀÚ¿øÀ» Ã£À» ¼ö ¾ø°í
71     <code>Indexes</code> ¿É¼ÇÀ» ¼³Á¤ÇÏ¿´´Ù¸é ¼­¹ö´Â Á÷Á¢ µð·ºÅ丮
72     ¸ñ·ÏÀ» ¸¸µç´Ù.</p>
73
74     <example><title>¿¹Á¦</title>
75       DirectoryIndex index.html
76     </example>
77
78     <p>ÀÌ °æ¿ì <code>http://myserver/docs/</code>¸¦ ¿äûÇÒ¶§
79     <code>http://myserver/docs/index.html</code>ÀÌ ÀÖÀ¸¸é À̸¦
80     º¸³»°í, ¾ø´Ù¸é µð·ºÅ丮 ¸ñ·ÏÀ» º¸³½´Ù.</p>
81
82     <p>¹®¼­°¡ ¹Ýµå½Ã µð·ºÅ丮¿¡ »ó´ëÀûÀÏ ÇÊ¿ä´Â ¾ø´Ù.</p>
83
84     <example>
85       DirectoryIndex index.html index.txt  /cgi-bin/index.pl
86     </example>
87
88     <p>ÀÌ °æ¿ì µð·ºÅ丮¿¡ <code>index.html</code>À̳ª
89     <code>index.txt</code>°¡ ¾øÀ¸¸é CGI ½ºÅ©¸³Æ®
90     <code>/cgi-bin/index.pl</code>À» ½ÇÇàÇÑ´Ù.</p>
91 </usage>
92 </directivesynopsis>
93
94 <directivesynopsis>
95 <name>DirectorySlash</name>
96 <description>¸¶Áö¸· ½½·¡½¬ ¸®´ÙÀÌ·º¼ÇÀ» Å°°í ²ö´Ù</description>
97 <syntax>DirectorySlash On|Off</syntax>
98 <default>DirectorySlash On</default>
99 <contextlist><context>server config</context><context>virtual host</context>
100 <context>directory</context><context>.htaccess</context></contextlist>
101 <override>Indexes</override>
102 <compatibility>¾ÆÆÄÄ¡ 2.0.51 ÀÌÈĺÎÅÍ</compatibility>
103
104 <usage>
105     <p><directive>DirectorySlash</directive> Áö½Ã¾î´Â
106     <module>mod_dir</module>°¡ µð·ºÅ丮¸¦ °¡¸®Å°´Â URLÀ» ¼öÁ¤ÇÒÁö
107     ¿©ºÎ¸¦ °áÁ¤ÇÑ´Ù.</p>
108
109     <p>»ç¿ëÀÚ°¡ ¸¶Áö¸· ½½·¡½¬¾øÀÌ µð·ºÅ丮¿¡ ÇØ´çÇϴ ÀÚ¿øÀ»
110     ¿äûÇϸé, <module>mod_dir</module>´Â º¸Åë ´ÙÀ½°ú °°Àº ÀÌÀ¯·Î
111     »ç¿ëÀÚ¸¦ ¸¶Áö¸· ½½·¡½¬¸¦ <em>ºÙÀÎ</em> µ¿ÀÏÇÑ ÀÚ¿øÀ¸·Î
112     ¸®´ÙÀÌ·º¼ÇÇÑ´Ù.</p>
113
114     <ul>
115     <li>»ç¿ëÀڴ °á±¹ ÀÚ¿øÀÇ Á¤±Ô URLÀ» ¿äûÇÏ°Ô µÈ´Ù</li>
116     <li><module>mod_autoindex</module>°¡ ¿Ã¹Ù·Î µ¿ÀÛÇÑ´Ù. ÀÌ
117     ±â´ÉÀÌ ¾ø´Ù¸é ÀÌ ¸ðµâÀº ¸µÅ©¿¡ À߸øµÈ °æ·Î¸¦ ¾²°Ô µÈ´Ù.</li>
118     <li><directive module="mod_dir">DirectoryIndex</directive>´Â
119     ¸¶Áö¸· ½½·¡½¬°¡ Àִ µð·ºÅ丮 ¿äû<em>¸¸À»</em> Ã³¸®ÇÑ´Ù.</li>
120     <li>html ÆäÀÌÁö¿¡ Àִ »ó´ëÀûÀΠURL ÂüÁ¶°¡ ¿Ã¹Ù·Î µ¿ÀÛÇÑ´Ù.</li>
121     </ul>
122
123     <p>±×·±µ¥ ÀÌ ±â´ÉÀ» ¿øÇÏÁö ¾Ê°Å<em>³ª</em> À§¿¡ µç ÀÌÀ¯°¡
124     ´ç½Å¿¡°Ô ¾Ë¸ÂÁö ¾Ê´Ù¸é ´ÙÀ½°ú °°ÀÌ ¸®´ÙÀÌ·º¼ÇÀ» ÇÏÁö ¾ÊÀ»
125     ¼ö ÀÖ´Ù.</p>
126
127     <example>
128         # ¾Æ·¡ º¸¾È °æ°í Âü°í!<br />
129         &lt;Location /some/path&gt;<br />
130         <indent>
131             DirectorySlash Off<br />
132             SetHandler some-handler<br />
133         </indent>
134         &lt;/Location&gt;
135     </example>
136
137     <note type="warning"><title>º¸¾È °æ°í</title>
138     <p>¸¶Áö¸· ½½·¡½¬ ¸®´ÙÀÌ·º¼ÇÀ» ²ô¸é Á¤º¸°¡ À¯ÃâµÉ ¼ö ÀÖ´Ù.
139     (<code>Options +Indexes</code>) <module>mod_autoindex</module>¸¦
140     »ç¿ëÇÏ°í <directive module="mod_dir">DirectoryIndex</directive>¸¦
141     (<code>index.html</code> °°Àº) À¯È¿ÇÑ ÀÚ¿øÀ¸·Î ¼³Á¤ÇÏ¿´Áö¸¸
142     ÇØ´ç URL¿¡ ´Ù¸¥ Æ¯º°ÇÑ Çڵ鷯°¡ ¾ø´Â »óȲÀ» »ó»óÇغ¸¶ó.
143     ÀÌ °æ¿ì ¸¶Áö¸· ½½·¡½¬°¡ Àִ ¿äûÀº <code>index.html</code>
144     ÆÄÀÏÀ» º¸¿©ÁØ´Ù. <strong>±×·¯³ª ¸¶Áö¸· ½½·¡½¬°¡ ¾ø´Â ¿äûÀº
145     µð·ºÅ丮 ³»¿ëÀ» º¸¿©ÁØ´Ù</strong>.</p>
146     </note>
147 </usage>
148 </directivesynopsis>
149
150 <directivesynopsis>
151 <name>FallbackResource</name>
152 <description>Define a default URL for requests that don't map to a file</description>
153 <contextlist><context>server config</context><context>virtual host</context><context>directory</context><context>.htaccess</context></contextlist>
154 <usage><p>Documentation not yet translated. Please see English version of document.</p></usage>
155 </directivesynopsis>
156
157 </modulesynopsis>