blob: 4c2e6ffee759a57f77c0be99307df923b35153a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
|
<?xml version='1.0' encoding='EUC-KR' ?>
<!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
<!-- English Revision: 1.12 -->
<!--
Copyright 2004 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<manualpage metafile="public_html.xml.meta">
<parentdocument href="./">How-To / Tutorials</parentdocument>
<title>����ں� �����丮</title>
<summary>
<p>���� ����ڰ� �ִ� �ý��ۿ��� <directive
module="mod_userdir">UserDir</directive> ���þ ����ϸ�
�� ����ڴ� �ڽ��� Ȩ���丮 �ȿ� ������Ʈ�� ���� �� �ִ�.
URL <code>http://example.com/~username/</code>�� �����ϸ�
����� "<code>username</code>"�� Ȩ���丮���� <directive
module="mod_userdir">UserDir</directive> ���þ�� ������
�������丮�� �ִ� �������� �������� �ȴ�.</p>
</summary>
<seealso><a href="../urlmapping.html">URL�� ���Ͻý��ۿ� ����</a></seealso>
<section id="related">
<title>����ں� �����丮</title>
<related>
<modulelist>
<module>mod_userdir</module>
</modulelist>
<directivelist>
<directive module="mod_userdir">UserDir</directive>
<directive module="core">DirectoryMatch</directive>
<directive module="core">AllowOverride</directive>
</directivelist>
</related>
</section>
<section id="userdir">
<title>UserDir�� ���ϰ�� �����ϱ�</title>
<p><directive module="mod_userdir">UserDir</directive>
���þ�� ����ں� �������� ������ ���丮�� �����Ѵ�. ��
���þ��� ������ ����������.</p>
<p>�������� ���������ʴ� ��θ� �����ϸ� �� �������
Ȩ���丮�� ������� ���丮 ��η� ó���Ѵ�. ���� ���,
�Ʒ� ������ ���:</p>
<example>
UserDir public_html
</example>
<p>URL <code>http://example.com/~rbowen/file.html</code>��
���� ��� <code>/home/rbowen/public_html/file.html</code>��
���Ѵ�.</p>
<p>�������� �����ϴ� ��θ� �����ϸ� ������ ���丮��
����ڸ��� ���� ���丮 ��θ� ����Ѵ�. ���� ���, �Ʒ�
������ ���:</p>
<example>
UserDir /var/html
</example>
<p>URL <code>http://example.com/~rbowen/file.html</code>��
���� ��� <code>/var/html/rbowen/file.html</code>�� ���Ѵ�.</p>
<p>��ǥ (*)�� ������ ��θ� �����ϸ� ��ǥ�� ����ڸ�����
��ü�� ��θ� ����Ѵ�. ���� ���, �Ʒ� ������ ���:</p>
<example>
UserDir /var/www/*/docs
</example>
<p>URL <code>http://example.com/~rbowen/file.html</code>��
���� ��� <code>/var/www/rbowen/docs/file.html</code>��
���Ѵ�.</p>
</section>
<section id="enable">
<title>����� �̿��� ����� �����ϱ�</title>
<p>UserDir ������ �ִ� ������ ����Ͽ� ����ں� �����丮
����� �̿��� �� �ִ� ����ڸ� ������ �� �ִ�:</p>
<example>
UserDir enabled<br />
UserDir disabled root jro fish
</example>
<p>�� ������ <code>disabled</code> ���忡 ������ �����
�����ϰ� ��� ����ڿ��� �����丮 ����� ����Ѵ�. ��,
������ ���� ��� ����ڸ� �����ϰ� ����� ������� ����
���� �ִ�:</p>
<example>
UserDir disabled<br />
UserDir enabled rbowen krietz
</example>
<p><directive module="mod_userdir">UserDir</directive>
������ �ִ� �ٸ� ���鵵 �����϶�.</p>
</section>
<section id="cgi">
<title>�� ����ں� cgi ���丮 �����ϱ�</title>
<p>����ڸ��� cgi-bin ���丮�� �ο��Ϸ��� <directive
module="core" type="section">Directory</directive> ���þ
����Ͽ� ����� Ȩ���丮�� Ư�� �������丮�� cgi �����ϰ�
�����.</p>
<example>
<Directory /home/*/public_html/cgi-bin/><br />
Options ExecCGI<br />
SetHandler cgi-script<br />
</Directory>
</example>
<p><code>UserDir</code>�� <code>public_html</code>�̶��
�����ϸ�, ������ ���� �� �ȿ� �ִ� cgi ���α�
<code>example.cgi</code>�� ������ �� �ִ�.</p>
<example>
http://example.com/~rbowen/cgi-bin/example.cgi
</example>
</section>
<section id="htaccess">
<title>����ڰ� ������ ������ �� �ֵ��� �����</title>
<p>����ڰ� �ڽ��� �������� ���� ������ ������ �����Ϸ���,
<code>.htaccess</code> ������ ����� �� �־�� �Ѵ�. <directive
module="core">AllowOverride</directive>�� ����ڰ� ������
�� �ִ� ���þ ������ ������ �����϶�. ��� �����ϴ�����
���� �ڼ��� ������ <a href="htaccess.html">.htaccess
���丮��</a>�� �����϶�.</p>
</section>
</manualpage>
|