public_html.xml.ko revision 5652dbe450e4fcfdf36d4cfb42d7f2345ded29a4
<?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>
&lt;Directory /home/*/public_html/cgi-bin/&gt;<br />
Options ExecCGI<br />
SetHandler cgi-script<br />
&lt;/Directory&gt;
</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>