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: 1.14 -->
7 Copyright 2004 The Apache Software Foundation
9 Licensed under the Apache License, Version 2.0 (the "License");
10 you may not use this file except in compliance with the License.
11 You may obtain a copy of the License at
13 http://www.apache.org/licenses/LICENSE-2.0
15 Unless required by applicable law or agreed to in writing, software
16 distributed under the License is distributed on an "AS IS" BASIS,
17 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 See the License for the specific language governing permissions and
19 limitations under the License.
22 <modulesynopsis metafile="mod_userdir.xml.meta">
24 <name>mod_userdir</name>
25 <description>»ç¿ëÀÚº° µð·ºÅ丮</description>
27 <sourcefile>mod_userdir.c</sourcefile>
28 <identifier>userdir_module</identifier>
31 <p>ÀÌ ¸ðµâÀ» »ç¿ëÇϸé <code>http://example.com/~user/</code> ½ÄÀ¸·Î
32 »ç¿ëÀÚº° µð·ºÅ丮¿¡ Á¢±ÙÇÒ ¼ö ÀÖ´Ù.</p>
35 <seealso><a href="../urlmapping.html">URLÀ» ÆÄÀϽýºÅÛ¿¡ ´ëÀÀ</a></seealso>
36 <seealso><a href="../howto/public_html.html">public_html
37 ÅõÅ丮¾ó</a></seealso>
42 <description>»ç¿ëÀÚº° µð·ºÅ丮 À§Ä¡</description>
43 <syntax>UserDir <em>directory-filename</em></syntax>
44 <default>UserDir public_html</default>
45 <contextlist><context>server config</context> <context>virtual
46 host</context></contextlist>
50 <p><directive>UserDir</directive> Áö½Ã¾î´Â »ç¿ëÀÚÀÇ ¹®¼¿¡ ´ëÇÑ
51 ¿äûÀ» ¹ÞÀ»¶§ »ç¿ëÀÚ È¨µð·ºÅ丮 ¾È¿¡¼ »ç¿ëÇÒ ½ÇÁ¦ µð·ºÅ丮¸¦
52 ÁöÁ¤ÇÑ´Ù. <em>Directory-filename</em>Àº ´ÙÀ½ Áß ÇϳªÀÌ´Ù:</p>
55 <li>¾Æ·¡¿Í °°Àº µð·ºÅ丮¸í ȤÀº ÆÐÅÏ.</li>
57 <li><code>disabled</code> Å°¿öµå.
58 <code>enabled</code> Å°¿öµå·Î (¾Æ·¡ Âü°í) Á÷Á¢ À̸§À» ÁöÁ¤ÇÏÁö ¾Ê¾Ò´Ù¸é
59 <em>¸ðµç</em> »ç¿ëÀÚ¸í-µð·ºÅ丮 º¯È¯À» ÇÏÁö ¾Ê´Â´Ù.</li>
61 <li><code>disabled</code> Å°¿öµå µÚ¿¡ °ø¹éÀ¸·Î ±¸ºÐÇÑ »ç¿ëÀÚ¸í ¸ñ·Ï.
62 »ç¿ëÀÚ¸íÀÌ <code>enabled</code> ±¸¹®¿¡ ÀÖ´Ù°í ÇÏ´õ¶óµµ, ÀÌ ¸ñ·Ï¿¡
63 ÀÖ´Â »ç¿ëÀÚ¸íÀº µð·ºÅ丮 º¯È¯À» ÇÏÁö <em>¾Ê´Â´Ù</em>.</li>
65 <li><code>enabled</code> Å°¿öµå µÚ¿¡ °ø¹éÀ¸·Î ±¸ºÐÇÑ »ç¿ëÀÚ¸í ¸ñ·Ï.
66 Àüü disableÀ» »ç¿ëÇÏ°í »ç¿ëÀÚ¸íÀÌ <code>disabled</code> ±¸¹®¿¡
67 ¾ø´õ¶óµµ, »ç¿ëÀÚ¸íÀ» µð·ºÅ丮 º¯È¯ÇÑ´Ù.</li>
70 <p><code>Userdir</code> Áö½Ã¾î¿¡ <code>enabled</code>³ª
71 <code>disabled</code> Å°¿öµå¸¦ »ç¿ëÇÏÁö ¾ÊÀ¸¸é, ¾Æ±Ô¸ÕÆ®¸¦
72 ÆÄÀϸí ÆÐÅÏÀ¸·Î ó¸®ÇÏ¿© µð·ºÅ丮·Î º¯È¯ÇÑ´Ù.
73 <code>http://www.foo.com/~bob/one/two.html</code>¿¡ ´ëÇÑ ¿äûÀº
74 ´ÙÀ½°ú °°ÀÌ º¯È¯µÈ´Ù:</p>
77 <tr><th>»ç¿ëÇÑ UserDir Áö½Ã¾î</th>
78 <th>º¯È¯ÇÑ °æ·Î</th></tr>
79 <tr><td>UserDir public_html</td><td>~bob/public_html/one/two.html</td></tr>
80 <tr><td>UserDir /usr/web</td><td>/usr/web/bob/one/two.html</td></tr>
81 <tr><td>UserDir /home/*/www</td><td>/home/bob/www/one/two.html</td></tr>
84 <p>´ÙÀ½ Áö½Ã¾î´Â Ŭ¶óÀ̾ðÆ®¿¡°Ô ¸®´ÙÀÌ·º¼ÇÀ» º¸³½´Ù:</p>
87 <tr><th>»ç¿ëÇÑ UserDir Áö½Ã¾î</th>
88 <th>º¯È¯ÇÑ °æ·Î</th></tr>
89 <tr><td>UserDir http://www.foo.com/users</td><td>http://www.foo.com/users/bob/one/two.html</td></tr>
91 http://www.foo.com/*/usr</td><td>http://www.foo.com/bob/usr/one/two.html</td></tr>
93 http://www.foo.com/~*/</td><td>http://www.foo.com/~bob/one/two.html</td></tr>
97 <strong>ÀÌ Áö½Ã¾î¸¦ »ç¿ëÇÒ¶§ ÁÖÀÇÇ϶ó; ¿¹¸¦ µé¾î,
98 <code>"UserDir ./"</code>´Â <code>"/~root"</code>¸¦ ¾Æ¸¶µµ ¹Ù¶÷Á÷ÇÏÁö ¾Ê°Ô
99 <code>"/"</code>·Î º¯È¯ÇÑ´Ù. ¼³Á¤¿¡ "<code>UserDir
100 disabled root</code>"¸¦ Æ÷ÇÔÇÏ±æ °·ÂÈ÷ ±ÇÇÑ´Ù. ÀÚ¼¼ÇÑ Á¤º¸¸¦ ¾Ë·Á¸é
102 module="core">Directory</directive> Áö½Ã¾î¿Í <a
103 href="../misc/security_tips.html">º¸¾È ÆÁ</a>µµ Âü°íÇ϶ó.</strong>
108 <p>¸î¸î »ç¿ëÀÚ¿¡°Ô¸¸ <code>UserDir</code> µð·ºÅ丮¸¦ Çã¿ëÇÑ´Ù¸é,
112 UserDir disabled<br />
113 UserDir enabled user1 user2 user3
116 <p>´ëºÎºÐÀÇ »ç¿ëÀÚ¿¡°Ô <code>UserDir</code> µð·ºÅ丮¸¦ Çã¿ëÇÏ°í
117 ÀϺθ¸ °ÅºÎÇÑ´Ù¸é, ´ÙÀ½°ú °°´Ù:</p>
120 UserDir enabled<br />
121 UserDir disabled user4 user5 user6
124 <p>´Ù¸¥ »ç¿ëÀÚ µð·ºÅ丮¸¦ ÁöÁ¤ÇÒ ¼öµµ ÀÖ´Ù.
125 ´ÙÀ½°ú °°Àº ¸í·É¾î¸¦ »ç¿ëÇÑ´Ù¸é:</p>
127 Userdir public_html /usr/web http://www.foo.com/
129 <p>http://www.foo.com/~bob/one/two.html ¿äûÀ» Çϸé,
130 ¸ÕÀú ~bob/public_html/one/two.html ÆäÀÌÁö¸¦ ã°í,
131 /usr/web/bob/one/two.htmlÀ» ãÀº ÈÄ, ¸¶Áö¸·À¸·Î
132 http://www.foo.com/bob/one/two.htmlÀ¸·Î ¸®´ÙÀÌ·º¼ÇÀ» º¸³½´Ù.</p>
133 <p>¸®´ÙÀÌ·º¼ÇÀ» »ç¿ëÇÑ´Ù¸é ¸ñ·ÏÀÇ ¸¶Áö¸·¿¡ µÎ¾î¾ß ÇÑ´Ù.
134 ¾ÆÆÄÄ¡´Â ¸®´ÙÀÌ·º¼ÇÀÌ ¼º°øÇß´ÂÁö ¾Ë ¼ö ¾ø±â¶§¹®¿¡, ¸®´ÙÀÌ·º¼ÇÀ»
135 ¸ñ·Ï ¾Õ¿¡ µÎ¸é Ç×»ó ¸®´ÙÀÌ·º¼ÇÀ» »ç¿ëÇÏ°Ô µÈ´Ù.</p>
139 <seealso><a href="../howto/public_html.html">public_html
140 ÅõÅ丮¾ó</a></seealso>