security_tips.html.ko.euc-kr revision 727872d18412fc021f03969b8641810d8896820b
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<?xml version="1.0" encoding="EUC-KR"?>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"><head><!--
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes This file is generated from xml source: DO NOT EDIT
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes -->
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<title>���� �� - Apache HTTP Server</title>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<link href="/style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<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" />
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<script src="/style/scripts/prettify.js" type="text/javascript">
0662ed52e814f8f08ef0e09956413a792584eddffuankg</script>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<link href="/images/favicon.ico" rel="shortcut icon" /></head>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<body id="manual-page"><div id="page-header">
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<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>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<p class="apache">Apache HTTP Server Version 2.5</p>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<img alt="" src="/images/feather.gif" /></div>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="/images/left.gif" /></a></div>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<div id="path">
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP Server</a> &gt; <a href="http://httpd.apache.org/docs/">Documentation</a> &gt; <a href="../">Version 2.5</a> &gt; <a href="./">Miscellaneous Documentation</a></div><div id="page-content"><div id="preamble"><h1>���� ��</h1>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<div class="toplang">
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<p><span>������ ���: </span><a href="/en/misc/security_tips.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<a href="/fr/misc/security_tips.html" hreflang="fr" rel="alternate" title="Fran&#231;ais">&nbsp;fr&nbsp;</a> |
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<a href="/ko/misc/security_tips.html" title="Korean">&nbsp;ko&nbsp;</a> |
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<a href="/tr/misc/security_tips.html" hreflang="tr" rel="alternate" title="T&#252;rk&#231;e">&nbsp;tr&nbsp;</a></p>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes</div>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<div class="outofdate">�� ������ �ֽ��� ���� �ƴմϴ�.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes �ֱٿ� ����� ������ ���� ������ ����ϼ���.</div>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <p>�������� ��Ҷ� ������ �� ���� ��� ��Ʈ�� ���̴�.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes � ���� �Ϲ����̰�, � ���� ����ġ���� �ش��ϴ� ���̴�.</p>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes </div>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<div id="quickview"><ul id="toc"><li><img alt="" src="/images/down.gif" /> <a href="#uptodate">�ֽ������� �����ϱ�</a></li>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<li><img alt="" src="/images/down.gif" /> <a href="#serverroot">ServerRoot ���丮 ����</a></li>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<li><img alt="" src="/images/down.gif" /> <a href="#ssi">Server Side Includes</a></li>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<li><img alt="" src="/images/down.gif" /> <a href="#cgi">�Ϲ����� CGI</a></li>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<li><img alt="" src="/images/down.gif" /> <a href="#nsaliasedcgi">ScriptAlias���� ���� CGI</a></li>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<li><img alt="" src="/images/down.gif" /> <a href="#saliasedcgi">ScriptAlias�� CGI</a></li>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<li><img alt="" src="/images/down.gif" /> <a href="#dynamic">���� ������ ���ϴ� �ٸ� ���</a></li>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<li><img alt="" src="/images/down.gif" /> <a href="#systemsettings">�ý��� ���� ��ȣ�ϱ�</a></li>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<li><img alt="" src="/images/down.gif" /> <a href="#protectserverfiles">�⺻������ ������ �ִ� ���� ��ȣ�ϱ�</a></li>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<li><img alt="" src="/images/down.gif" /> <a href="#watchyourlogs">�α� ���캸��</a></li>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes</ul><ul class="seealso"><li><a href="#comments_section">Comments</a></li></ul></div>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<div class="section">
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<h2><a name="uptodate" id="uptodate">�ֽ������� �����ϱ�</a></h2>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <p>����ġ �������� ����� ���� ������ ����� ���� ������
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ��ü�� �����ϴ�. �׷��� ũ�� �۰� ��ǥ�� �߰ߵǴ� ��������
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ���� �� ���. �׷��� ����Ʈ��� �ֽŹ������� �����ϴ�
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ���� �߿��ϴ�. ����ġ���� ���� �������� �ٿ�ε��ߴٸ�,
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ���ο� ����� ���� ������Ʈ�� �˷��ִ� <a href="http://httpd.apache.org/lists.html#http-announce">����ġ
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ������ ��ǥ ���ϸ�����Ʈ</a>�� �����ϱ� ������ ���Ѵ�.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ����ġ ����Ʈ��� �����ϴ� ���� �����ڵ鵵 ����� ���񽺸�
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes �����Ѵ�.</p>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <p>���� ������ �ڵ嶧���� �������� ����� ���ϴ� ����
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ���� �ʴ�. �׺��� �߰� �ڵ�, CGI ��ũ��Ʈ, ���� �ü����
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ������ ����� ���ϴ� ��찡 ����. �׷��Ƿ� �׻� �����ϸ�
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes �ý����� ��� ����Ʈ��� ������Ʈ�ؾ� �Ѵ�.</p>
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes </div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<div class="section">
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<h2><a name="serverroot" id="serverroot">ServerRoot ���丮 ����</a></h2>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <p>���� root ����ڰ� ����ġ�� ������ ��, ��û�� �����ϱ�����
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <code class="directive"><a href="/mod/mpm_common.html#user">User</a></code> ���þ��
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ������ ����ڷ� ��ȯ�Ѵ�. root�� �����ϴ� ��ɾ �ִٸ�,
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes root �̿��� ����ڰ� �������� ���ϵ��� �����ؾ� �Ѵ�. ��
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ���ϵ��� root�� �� �� �־�� �ϰ�, ���丮�� ��� �������丮��
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ��������. ���� ���, ServerRoot�� /usr/local/apache��
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ����Ѵٸ� root ����ڰ� ������ ���� ���丮�� �����
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg �����Ѵ�:</p>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <div class="example"><p><code>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes mkdir /usr/local/apache <br />
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes cd /usr/local/apache <br />
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes mkdir bin conf logs <br />
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes chown 0 . bin conf logs <br />
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes chgrp 0 . bin conf logs <br />
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes chmod 755 . bin conf logs
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes </code></p></div>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <p>�׷��� /, /usr, /usr/local �� root���� ������ �� �ִ�.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes httpd ���������� ��ġ�Ҷ� ������ ���� ��ȣ�ؾ� �Ѵ�:</p>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <div class="example"><p><code>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes cp httpd /usr/local/apache/bin <br />
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes chown 0 /usr/local/apache/bin/httpd <br />
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes chgrp 0 /usr/local/apache/bin/httpd <br />
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes chmod 511 /usr/local/apache/bin/httpd
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes </code></p></div>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <p>htdocs �������丮�� �ٸ� ����ڵ��� ������ �� �ֵ���
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg ���� �� �ִ� -- root�� �װ��� �ִ� ������ ����������, ��������
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes �ʾƾ� �Ѵ�.</p>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg <p>root�� �ƴ� ����ڰ� root�� �����ϰų� ���Ⱑ���� ������
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ������ �� �ִٸ� �ý����� root ������ ��ĥ �� �ִ�. ����
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ���, ������ httpd ���������� �����Ͽ��ٸ� ������ �����Ҷ�
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ������ �ڵ带 �����ϰ� �ȴ�. logs ���丮�� (root�� �ƴ�
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ����ڿ���) ���Ⱑ���ϴٸ� ������ �α������� �ٸ� �ý������Ϸ�
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes �ɺ���ũ�� �ɾ root�� ���Ͽ� ������ �ڷḦ ��� ��
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes �ִ�. �α������� (root�� �ƴ� ����ڿ���) ���Ⱑ���ϴٸ�
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ������ �α׿� �̻��� �ڷḦ ����� �� �ִ�.</p>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes </div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<div class="section">
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<h2><a name="ssi" id="ssi">Server Side Includes</a></h2>
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
0662ed52e814f8f08ef0e09956413a792584eddffuankg
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg <p>Server Side Includes (SSI)�� ���� ���ڿ��� ���Ȼ� ���
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes �������� �����̴�.</p>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <p>ù��° ������ ������ ���ϸ� �ø��� ���̴�. ����ġ�� ���Ͽ�
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes SSI ���þ �ִ��� ���ο� ������ ��� SSI ������ �м��ؾ�
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes �Ѵ�. ���� ���ϰ� ������, ������ ���� ����� ���� ����ϴ�
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ȯ�濡���� �ɰ��� �� �ִ�.</p>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <p>��, SSI ������ �Ϲ����� CGI ��ũ��Ʈ�� ������ ������
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes �����. SSI ���Ͽ��� "exec cmd"�� ����ϸ� httpd.conf����
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ����ġ�� �����ϵ��� ������ ����ڿ� �׷� �������� CGI
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ��ũ��Ʈ�� ���α׷��� ������ �� �ִ�.</p>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <p>������ Ȱ���ϸ鼭 SSI ������ ������ ����Ű�� �����
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes �ִ�.</p>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <p>SSI ������ ������ �� �ִ� ���ظ� �ݸ��ϱ����� �������ڴ�
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <a href="#cgi">�Ϲ����� CGI</a> �� �����ϴ� �������
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <a href="/suexec.html">suexec</a>�� ����� �� �ִ�</p>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <p>.html�̳� .htm Ȯ���ڸ� SSI ���Ϸ� ����ϴ� ���� �����ϴ�.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes Ư�� ���� ����� �����ϰų� ��ŷ��� ���� ���� ȯ�濡��
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes �����ϴ�. SSI ������ �Ϲ������� ���� ����ϴ� .shtml ����
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ������ Ȯ���ڸ� ������ �Ѵ�. �׷��� ���� ���ϸ� �ּ�ȭ�ϰ�
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes �����Ҹ� ���� ���� �� �ִ�.</p>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg <p>�ٸ� ����� SSI �������� ��ũ��Ʈ�� ���α׷��� ��������
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ���ϵ��� ����� ���̴�. <code class="directive"><a href="/mod/core.html#options">Options</a></code> ���þ�� <code>Includes</code>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ��� <code>IncludesNOEXEC</code>�� ����Ѵ�. �׷��� ��ũ��Ʈ��
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg <code class="directive"><a href="/mod/mod_alias.html#scriptalias">ScriptAlias</a></code> ���þ��
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ������ ���丮�� �ִٸ� &lt;--#include virtual="..." --&gt;��
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ����Ͽ� CGI ��ũ��Ʈ�� ������ �� ������ �����϶�.</p>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg </div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<div class="section">
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<h2><a name="cgi" id="cgi">�Ϲ����� CGI</a></h2>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <p>�ᱹ ����� �׻� CGI ��ũ��Ʈ/���α׷��� ���ڸ� �ŷ��ؾ�
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes �ϰ�, ���ǰ� �Ǽ��̰� CGI�� �������� ���Ȼ� ������ �߰���
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes �� �־�� �Ѵ�. �⺻������ CGI ��ũ��Ʈ�� ������ �����
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes �������� �ý��ۿ��� � ��ɾ�� ������ �� �ֱ⶧����
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes �����ְ� Ȯ������ ������ �ſ� �����ϴ�.</p>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <p>��� CGI ��ũ��Ʈ�� ���� ����ڷ� ����DZ⶧���� �ٸ�
8aa5c68ad507ea2ecfba3b7a8fc3359c79310eadbnicholes ��ũ��Ʈ�� (���ǰ� �Ǽ��̰�) �浹�� ���ɼ��� �ִ�. ����
0e168a1fd4f9d8bbb7ce1034c70bad56e316df07fuankg ���, ����� A�� ����� B�� �ſ� �Ⱦ��Ͽ�, ����� B�� CGI
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes �����ͺ��̽��� ���������� ��ũ��Ʈ�� �ۼ��� �� �ִ�. ����ġ
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes 1.2 ������� ���ԵǾ�� ����ġ �������� Ư���� ��(hook)����
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes �����ϴ� <a href="/suexec.html">suEXEC</a>�� ��ũ��Ʈ��
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes �ٸ� ����ڷ� �����ϴ� ����� �ϳ���. �ٸ� �������� ����
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <a href="http://cgiwrap.unixtools.org/">CGIWrap</a>�� �ִ�.</p>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes </div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<div class="section">
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<h2><a name="nsaliasedcgi" id="nsaliasedcgi">ScriptAlias���� ���� CGI</a></h2>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <p>���� ������ �����Ҷ��� ����ڰ� � ���丮������
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes CGI ��ũ��Ʈ�� �����ϵ��� ����� �� �ִ�:</p>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <ul>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <li>����� ���ǰ� �Ǽ��̰� ����ڰ� �ý����� ��ݿ� �����Ű��
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ��ũ��Ʈ�� �ۼ����� �ʴ´ٰ� �ϴ´�.</li>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <li>�ý����� �ٸ� �κ��� ������ ���ؼ�, �������� ������
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes �ϳ� �� ���� ������ ���� ��ٰ� ���ϴ� ���.</li>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <li>����ڰ� ���, �Ƹ� �ƹ��� ������ �湮�����ʴ� ���.</li>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes </ul>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes </div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<div class="section">
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<h2><a name="saliasedcgi" id="saliasedcgi">ScriptAlias�� CGI</a></h2>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <p>Ư�� ���丮������ CGI�� ������ �� �ֵ��� �����ϸ� ���ڴ�
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes �̵� ���丮�� ������ �� �ִ�. �� ���� scriptalias����
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ���� CGI���� Ȯ���� �����ϴ�. ��, �ŷ��ϴ� ����ڸ� ���丮��
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ������ �� �ְ�, ���ڰ� ���ο� CGI ��ũ��Ʈ/���α׷���
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg �������� ���Ȼ� ������ �˻��� ���̰� �ִٸ�.</p>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <p>��κ��� ����Ʈ�� scriptalias���� ���� CGI ��� ���
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes �� ����� ����Ѵ�.</p>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes </div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<div class="section">
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<h2><a name="dynamic" id="dynamic">���� ������ ���ϴ� �ٸ� ���</a></h2>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <p>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes mod_php, mod_perl, mod_tcl, mod_python ���� ������ �Ϻη�
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes �����ϴ� �Ӻ���� ��ũ��Ʈ�� ������ ���� ����ڷ� (<code class="directive"><a href="/mod/mpm_common.html#user">User</a></code> ���þ� ���) ����DZ⶧����,
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ��ũ��Ʈ ������ �����ϴ� ��ũ��Ʈ�� ���������� ���� ����ڰ�
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ������ �� �ִ� ��� �Ϳ� ������ �� �ִ�. � ��ũ��Ʈ ������
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg ������� ������ ������, �����ϴٰ� �������� �ʴ� ���� ����.</p>
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes </div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<div class="section">
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<h2><a name="systemsettings" id="systemsettings">�ý��� ���� ��ȣ�ϱ�</a></h2>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <p>������ ������ ������ ��Ϸ��� ����ڰ�
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <code>.htaccess</code> ������ ����Ͽ� ����� ������ ���ȱ����
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes �����ϱ� �ٶ��� ���� ���̴�. �׷������� ������ ���� �����
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes �ִ�.</p>
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <p>���� �������Ͽ� ������ �߰��Ѵ�</p>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <div class="example"><p><code>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes &lt;Directory /&gt; <br />
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes AllowOverride None <br />
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes &lt;/Directory&gt;
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes </code></p></div>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <p>�׷��� ��밡���ϵ��� ��������� ����� ���丮�� �����ϰ��
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <code>.htaccess</code> ������ ����� �� ���.</p>
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
0662ed52e814f8f08ef0e09956413a792584eddffuankg </div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<div class="section">
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<h2><a name="protectserverfiles" id="protectserverfiles">�⺻������ ������ �ִ� ���� ��ȣ�ϱ�</a></h2>
0662ed52e814f8f08ef0e09956413a792584eddffuankg
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <p>������� ���� ����ġ�� �⺻ ���ٿ� ���� �߸� �˰��ִ�.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ��, ������ �Ϲ����� URL ���� ��Ģ�� ����Ͽ� ������ ã��
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes �� �ִٸ�, Ư���� ��ġ�� ���� �ʴ��� Ŭ���̾�Ʈ���� ������
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ���񽺵� �� �ִ�.</p>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <p>���� ���, �Ʒ��� ���� ���:</p>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <div class="example"><p><code>
0662ed52e814f8f08ef0e09956413a792584eddffuankg # cd /; ln -s / public_html <br />
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <code>http://localhost/~root/</code> �� �����Ѵ�
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes </code></p></div>
<p>�׷��� Ŭ���̾�Ʈ�� ��ü ���Ͻý����� ���ƴٴ� �� �ִ�.
�̸� �������� ������������ ������ ���� ��ġ�� �Ѵ�:</p>
<div class="example"><p><code>
&lt;Directory /&gt; <br />
Order Deny,Allow <br />
Deny from all <br />
&lt;/Directory&gt;
</code></p></div>
<p>�׷��� ���Ͻý��� ��ġ�� ���� �⺻ ������ �źεȴ�.
���ϴ� ������ ������ �� �ֵ��� ������ ���� <code class="directive"><a href="/mod/core.html#directory">Directory</a></code> ����� �߰��Ѵ�.</p>
<div class="example"><p><code>
&lt;Directory /usr/users/*/public_html&gt; <br />
Order Deny,Allow <br />
Allow from all <br />
&lt;/Directory&gt; <br />
&lt;Directory /usr/local/httpd&gt; <br />
Order Deny,Allow <br />
Allow from all <br />
&lt;/Directory&gt;
</code></p></div>
<p><code class="directive"><a href="/mod/core.html#location">Location</a></code>�� <code class="directive"><a href="/mod/core.html#directory">Directory</a></code> ���þ ���� ����ϴ�
��� Ư���� ���Ǹ� ��←��. ���� ���, <code>&lt;Directory
/&gt;</code>�� ������ �ź��ϴ��� <code>&lt;Location
/&gt;</code> ���þ �̸� ������ �� �ִ�</p>
<p><code class="directive"><a href="/mod/mod_userdir.html#userdir">UserDir</a></code> ���þ
����ϴ� ��쿡�� �����϶�. ���þ "./" ���� �����ϸ�
root ����ڿ� ���� �ٷ� ���� ���� ���� ������ �߻��Ѵ�.
����ġ 1.3 �̻��� ����Ѵٸ� ���� �������Ͽ� �Ʒ� ���� �߰��ϱ�
������ ���Ѵ�:</p>
<div class="example"><p><code>
UserDir disabled root
</code></p></div>
</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
<div class="section">
<h2><a name="watchyourlogs" id="watchyourlogs">�α� ���캸��</a></h2>
<p>������ �������� ���� ���� �־�� �ִ��� �˷��� <a href="/logs.html">�α�����</a>�� ������� �Ѵ�. �α�������
�̹� �Ͼ �ϸ��� ����������, ������ � ����� �־����
�˷��ְ� ���� �ʿ��� ��ŭ �������� Ȯ���ϰ� ���ش�.</p>
<p>�������� ��:</p>
<div class="example"><p><code>
grep -c "/jsp/source.jsp?/jsp/ /jsp/source.jsp??" access_log <br />
grep "client denied" error_log | tail -n 10
</code></p></div>
<p>ù��° ���� <a href="http://online.securityfocus.com/bid/4876/info/">�߸��
Source.JSP ��û���� ���������� �˾Ƴ� �� �ִ� Tomcat��
�����</a>�� �̿��Ϸ��� ��� Ƚ���� �˷��ְ�, �ι�° ����
������ �źε� �ֱ� Ŭ���̾�Ʈ 10���� ������ ���� �����ش�:</p>
<div class="example"><p><code>
[Thu Jul 11 17:18:39 2002] [error] [client foo.bar.com] client denied
by server configuration: /usr/local/apache/htdocs/.htpasswd
</code></p></div>
<p>�� �� ���� �α������� �̹� �߻��� ��Ǹ��� �����Ѵ�.
�׷��� Ŭ���̾�Ʈ�� <code>.htpasswd</code> ���Ͽ� ������
�� �־�ٸ� <a href="/logs.html#accesslog">���� �α�</a>��
������ ���� ����� ���� ���̴�:</p>
<div class="example"><p><code>
foo.bar.com - - [12/Jul/2002:01:59:13 +0200] "GET /.htpasswd HTTP/1.1"
</code></p></div>
<p>��, ����� ���� �������Ͽ��� ���� �κ��� �ּ�ó������
���̴�:</p>
<div class="example"><p><code>
&lt;Files ".ht*"&gt; <br />
Order allow,deny <br />
Deny from all <br />
&lt;Files&gt;
</code></p></div>
</div></div>
<div class="bottomlang">
<p><span>������ ���: </span><a href="/en/misc/security_tips.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
<a href="/fr/misc/security_tips.html" hreflang="fr" rel="alternate" title="Fran&#231;ais">&nbsp;fr&nbsp;</a> |
<a href="/ko/misc/security_tips.html" title="Korean">&nbsp;ko&nbsp;</a> |
<a href="/tr/misc/security_tips.html" hreflang="tr" rel="alternate" title="T&#252;rk&#231;e">&nbsp;tr&nbsp;</a></p>
</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&amp;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>
<script type="text/javascript"><!--//--><![CDATA[//><!--
var comments_shortname = 'httpd';
var comments_identifier = 'http://httpd.apache.org/docs/2.4/misc/security_tips.html.ko';
(function(w, d) {
var disabled = false;
if (w.location.hostname.toLowerCase() == "httpd.apache.org" && disabled !== true) {
d.write('<div id="comments_thread"><\/div>');
var s = d.createElement('script');
s.type = 'text/javascript';
s.async = true;
s.src = 'http://c.apaste.info/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier;
(d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s);
}
else {
d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>');
}
})(window, document);
//--><!]]></script></div><div id="footer">
<p class="apache">Copyright 2012 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>
<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[//><!--
if (typeof(prettyPrint) !== 'undefined') {
prettyPrint();
}
//--><!]]></script>
</body></html>