1<?xml version="1.0" encoding="EUC-KR"?> 2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 3<html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"><head><!-- 4 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 5 This file is generated from xml source: DO NOT EDIT 6 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 7 --> 8<title>suEXEC ���� - Apache HTTP Server</title> 9<link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> 10<link href="/style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> 11<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" /> 12<script src="/style/scripts/prettify.min.js" type="text/javascript"> 13</script> 14 15<link href="/images/favicon.ico" rel="shortcut icon" /></head> 16<body id="manual-page"><div id="page-header"> 17<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> 18<p class="apache">Apache HTTP Server Version 2.4</p> 19<img alt="" src="/images/feather.gif" /></div> 20<div class="up"><a href="./"><img title="<-" alt="<-" src="/images/left.gif" /></a></div> 21<div id="path"> 22<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="./">Version 2.4</a></div><div id="page-content"><div id="preamble"><h1>suEXEC ����</h1> 23<div class="toplang"> 24<p><span>������ ���: </span><a href="/en/suexec.html" hreflang="en" rel="alternate" title="English"> en </a> | 25<a href="/fr/suexec.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | 26<a href="/ja/suexec.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | 27<a href="/ko/suexec.html" title="Korean"> ko </a> | 28<a href="/tr/suexec.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> 29</div> 30<div class="outofdate">�� ������ �ֽ��� ���� �ƴմϴ�. 31 �ֱٿ� ����� ������ ���� ������ ����ϼ���.</div> 32 33 <p><strong>suEXEC</strong> ����� ����ġ�� <strong>CGI</strong>�� 34 <strong>SSI</strong> ���α��� �������� ������ ����� ID�� 35 �ƴ� �ٸ� ����� ID�� �����ϵ��� �Ѵ�. ���� CGI�� SSI ���α��� 36 �����ϸ� �������� ������ ����ڿ� ���� ����ڷ� �����Ѵ�.</p> 37 38 <p>�� ����� ������ ����ϸ� ����ڰ� ���� CGI�� SSI ���α��� 39 �����ϰ� �����Ҷ� ���� �� �ִ� ���������� ����� ���� 40 �� �ִ�. ���� suEXEC�� �������ϰ� �����Ǹ� ���� ������ 41 ��ǻ�Ϳ� ���ο� ���� ������ ���� �� �ִ�. ���� <em>setuid root</em> 42 ���α��� �̷� ���α��� ���� ������ ����ϴٸ� suEXEC�� 43 ��������ʱ� ������� �ٶ���.</p> 44 </div> 45<div id="quickview"><ul id="toc"><li><img alt="" src="/images/down.gif" /> <a href="#before">�����ϱ� ��</a></li> 46<li><img alt="" src="/images/down.gif" /> <a href="#model">suEXEC ���ȸ�</a></li> 47<li><img alt="" src="/images/down.gif" /> <a href="#install">suEXEC ������ ��ġ</a></li> 48<li><img alt="" src="/images/down.gif" /> <a href="#enable">suEXEC Ű�� ����</a></li> 49<li><img alt="" src="/images/down.gif" /> <a href="#usage">suEXEC ����ϱ�</a></li> 50<li><img alt="" src="/images/down.gif" /> <a href="#debug">suEXEC ������ϱ�</a></li> 51<li><img alt="" src="/images/down.gif" /> <a href="#jabberwock">�ٽ� �ѹ� �����϶�: ���� ����</a></li> 52</ul><ul class="seealso"><li><a href="#comments_section">Comments</a></li></ul></div> 53<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 54<div class="section"> 55<h2><a name="before" id="before">�����ϱ� ��</a></h2> 56 57 <p>�����ϱ� �� �켱 ����ġ��� �� ������ ������ �����.</p> 58 59 <p>���� <strong>setuid</strong>�� <strong>setgid</strong> 60 ����� ������ ���н��� �ü���� ����Ѵٰ� �����Ѵ�. ��� 61 ��ɾ� ���鵵 ���� ������ �Ѵ�. suEXEC�� �����ϴ� �ٸ� �÷����� 62 ����ϴٸ� ������ �ٸ� �� �ִ�.</p> 63 64 <p>�ι�°, ����� ��ǻ�� ������ �⺻ ����� �� �ͼ��ϴٰ� 65 �����Ѵ�. ����� <strong>setuid/setgid</strong> ��ɰ� 66 �̵��� �ý��۰� ���ȿ� ��ġ�� ���� ��� ���� ���ذ� ���Եȴ�.</p> 67 68 <p>����°, suEXEC �ڵ��� <strong>������������</strong> 69 ������ ����Ѵٰ� �����Ѵ�. �����ڿ� ���� ��Ÿ���͵��� 70 suEXEC�� ��õ� ��� �ڵ带 ���ɽ����� �����ϰ� �˻��ߴ�. 71 �ڵ带 �����ϰ� �ϰ� Ȯ���� ������ �����ϱ����� ��� ���Ǹ� 72 ����. �� �ڵ带 �����ϸ� ����ġ���� ������ ���ο� ���� 73 ������ ���� �� �ִ�. ���� ���α��ֿ� ���� �ſ� �� �˰� 74 �ڵ带 ���캸������ ����ġ��� �۾��� ������ �ǻ簡 ��ٸ� 75 suEXEC �ڵ带 ���������ʱ� <strong>������</strong> ���Ѵ�.</p> 76 77 <p>��°���� ����������, ����ġ���� suEXEC�� ����ġ 78 �⺻��ġ�� �������� <strong>�ʱ��</strong> �����ߴ�. �ᱹ 79 ���ڰ� ���Ǹ� ��←�� suEXEC�� �����ؾ� �Ѵ�. suEXEC�� 80 ���� ������ �� ������� ���ڴ� �Ϲ����� ��ġ����� suEXEC�� 81 ��ġ�� �� �ִ�. suEXEC ����� ����ϴ� �ý����� ������ å������ 82 ���ڴ� �� ���������� �����ְ� ���캸�� �����ؾ� �Ѵ�. 83 �̷� ���� ������ suEXEC�� ����Ҹ�ŭ �����ְ� ��ȣ�� 84 ������� suEXEC�� ����ϵ��� ����ġ���� ���ϱ� �����̴�.</p> 85 86 <p>������ ����ϱ� ���ϴ°�? ����? ����. ���� ��������!</p> 87</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 88<div class="section"> 89<h2><a name="model" id="model">suEXEC ���ȸ�</a></h2> 90 91 <p>suEXEC�� �����ϰ� ��ġ�ϱ� �� �츮�� ���ȸ��� ���� 92 �����Ѵ�. �̸� ���� ��Ȯ�� suEXEC �ȿ����� ���� ���� �Ͼ�� 93 �ý����� ������ ���� ������ �����ؾ� ���� �� �� ������ �� 94 �ִ�.</p> 95 96 <p><strong>suEXEC</strong>�� ����ġ �������� �θ��� setuid 97 "wrapper" ���α��� ������� �Ѵ�. �� wrapper�� ���ڰ� 98 �ּ����� �ٸ� userid�� �����ϵ��� ������ CGI�� SSI ���α��� 99 HTTP ��û�� ���� �Ҹ���. �̷� ��û�� ���� ����ġ�� suEXEC 100 wrapper���� ���α���� ���α��� ������ ����ڿ� �� 101 ID�� �����Ѵ�.</p> 102 103 <p>���� wrapper�� ���� ������ ���� ����� ���и� �����Ѵ�. 104 �� ������ �ϳ��� �����ϸ� ���α��� ���з� ��ϵǰ� ���� 105 ���� �����Ѵ�. �������� ������ ������ ����Ѵ�:</p> 106 107 <ol> 108 <li> 109 <strong>wrapper�� �����ϴ� ����ڰ� �ý����� �������� 110 ������ΰ�?</strong> 111 112 <p class="indent"> 113 wrapper�� �����ϴ� ����ڰ� ������ �ý����� ��������� 114 Ȯ���Ѵ�. 115 </p> 116 </li> 117 118 <li> 119 <strong>������ ���� �ƱԸ�Ʈ�� wrapper�� �����ϴ°�?</strong> 120 121 <p class="indent"> 122 wrapper�� ������ ���� �ƱԸ�Ʈ�� �־�߸� ����ȴ�. 123 ����ġ �������� �� ������ �ȴ�. wrapper�� ������ ���� 124 �ƱԸ�Ʈ�� �������ϸ� ��ŷ�Ǿ�ų� ����ġ�� suEXEC�� 125 ���� ������ �ִ� ���̴�. 126 </p> 127 </li> 128 129 <li> 130 <strong>�� ����ڰ� wrapper�� �����ϵ��� ���Ǿ�?</strong> 131 132 <p class="indent"> 133 �� ����ڰ� wrapper�� �����ϵ��� ���Ǿ�? ���� 134 �� �����(����ġ �����)���� �� ���α��� ������ 135 �� �ִ�. 136 </p> 137 </li> 138 139 <li> 140 <strong>������ CGI�� SSI ���α��� ������������ ���������� 141 �����°�?</strong> 142 143 <p class="indent"> 144 ������ CGI�� SSI ���α��� '/'�� �����ϰų� ������ 145 '..'�� �����°�? �̵��� ����� �� ���. ������ CGI/SSI 146 ���α��� suEXEC ���� root (�Ʒ� 147 <code>--with-suexec-docroot=<em>DIR</em></code> ���) 148 ���� �־�� �Ѵ�. 149 </p> 150 </li> 151 152 <li> 153 <strong>������ ����ڸ��� ��ȿ�Ѱ�?</strong> 154 155 <p class="indent"> 156 ������ ����ڰ� �����ϴ°�? 157 </p> 158 </li> 159 160 <li> 161 <strong>������ ����� ��ȿ�Ѱ�?</strong> 162 163 <p class="indent"> 164 ������ ���� �����ϴ°�? 165 </p> 166 </li> 167 168 <li> 169 <strong>������ ����ڰ� superuser�� <em>�ƴѰ�</em>?</strong> 170 171 172 <p class="indent"> 173 ���� suEXEC�� <code><em>root</em></code>�� CGI/SSI 174 ���α��� ������ �� ��� �Ѵ�. 175 </p> 176 </li> 177 178 <li> 179 <strong>������ userid�� �ּ� ID ���ں��� <em>ū��</em>?</strong> 180 181 <p class="indent"> 182 �������� �ּ� ����� ID ���ڸ� �����Ѵ�. ���� CGI/SSI 183 ���α��� ������ �� �ִ� userid�� �ּ�ġ�� ������ 184 �� �ִ�. "�ý��ۿ�" ������ �����Ҷ� �����ϴ�. 185 </p> 186 </li> 187 188 <li> 189 <strong>������ ���� superuser ���� <em>�ƴѰ�</em>?</strong> 190 191 <p class="indent"> 192 ���� suEXEC�� <code><em>root</em></code> ���� CGI/SSI 193 ���α��� ������ �� ��� �Ѵ�. 194 </p> 195 </li> 196 197 <li> 198 <strong>������ groupid�� �ּ� ID ���ں��� <em>ū��</em>?</strong> 199 200 <p class="indent"> 201 �������� �ּ� �� ID ���ڸ� �����Ѵ�. ���� CGI/SSI 202 ���α��� ������ �� �ִ� groupid�� �ּ�ġ�� ������ 203 �� �ִ�. "�ý��ۿ�" ���� �����Ҷ� �����ϴ�. 204 </p> 205 </li> 206 207 <li> 208 <strong>wrapper�� ���������� ������ ����ڿ� ���� 209 �� �� �ִ°�?</strong> 210 211 <p class="indent"> 212 �� �ܰ迡�� ���α��� setuid�� setgid ȣ���� �Ͽ� 213 ������ ����ڿ� ���� �ȴ�. ��, �� ���ٸ���� 214 ����ڰ� �ش�� ��� ������ �ʱ�ȭ�ȴ�. 215 </p> 216 </li> 217 218 <li> 219 <strong>CGI/SSI ���α��� �ִ� ���丮�� ���丮�� 220 ������ �� �ִ°�?</strong> 221 222 <p class="indent"> 223 ���丮�� �������� �ʴٸ� ������ ���� �� ���. �̰����� 224 ���丮�� ������ �� ��ٸ� ���丮�� �������� ���� 225 ���̴�. 226 </p> 227 </li> 228 229 <li> 230 <strong>���丮�� ����ġ ���� �ȿ� �ִ°�?</strong> 231 232 <p class="indent"> 233 ������ �Ϲ����� �κ��� ��û�� ��� ��û�ϴ� ���丮�� 234 suEXEC ���� root �Ʒ� �ִ°�? UserDir�� ��û�� ��� 235 ��û�ϴ� ���丮�� suEXEC userdir�� ������ (<a href="#install">suEXEC ���� �ɼ�</a> ���) ���丮 236 �Ʒ��� �ִ°�? 237 </p> 238 </li> 239 240 <li> 241 <strong>�ٸ� ������ ���丮�� ��������� <em>��°�</em>?</strong> 242 243 <p class="indent"> 244 ���丮�� �ٸ� ������� ����α� �������ʴ´�. ���� 245 �����ڸ��� ���丮 ������ ������ �� �ִ�. 246 </p> 247 </li> 248 249 <li> 250 <strong>������ CGI/SSI ���α��� �����ϴ°�?</strong> 251 252 <p class="indent"> 253 ���������ʴٸ� ������ ���� ���. 254 </p> 255 </li> 256 257 <li> 258 <strong>�ٸ� ������ ������ CGI/SSI ���α��� ��������� 259 <em>��°�</em>?</strong> 260 261 <p class="indent"> 262 �����ڿ� ������ CGI/SSI ���α��� �����ϱ� �������ʴ´�. 263 </p> 264 </li> 265 266 <li> 267 <strong>������ CGI/SSI ���α��� setuid�� setgid�� 268 <em>�ƴѰ�</em>?</strong> 269 270 <p class="indent"> 271 �츮�� ���α��� �ٽ� UID/GID�� �����ϱ� �������ʴ´�. 272 </p> 273 </li> 274 275 <li> 276 <strong>������ �����/���� ���α��� �����/��� ������?</strong> 277 278 <p class="indent"> 279 ����ڰ� ������ �������ΰ�? 280 </p> 281 </li> 282 283 <li> 284 <strong>������ ������ ���� ���μ����� ȯ�溯���� û���� 285 �� �ִ°�?</strong> 286 287 <p class="indent"> 288 suEXEC�� (�������� ������) ������ ���� PATH�� ���, 289 (�̰͵� �������� ����) ������ ȯ�溯�� ��Ͽ� ���ŵ� 290 ������ ����� ���μ����� ȯ�溯���� �����. 291 </p> 292 </li> 293 294 <li> 295 <strong>���������� ������ CGI/SSI ���α��� ������ 296 �� �ִ°�?</strong> 297 298 <p class="indent"> 299 ���⼭ suEXEC�� ������ ������ CGI/SSI ���α��� �����Ѵ�. 300 </p> 301 </li> 302 </ol> 303 304 <p>�̰��� suEXEC wrapper ���ȸ��� ǥ�� �����̴�. �ټ� 305 �����ϰ� CGI/SSI ���迡 ���ο� ������ ������, ������ ���ο� 306 �ΰ� �Ѵܰ辿 ���ɽ����� ���������.</p> 307 308 <p>�� ���� ���� ���� ������ � ������ �ִ����� ������ 309 suEXEC �������� � ���� ������ ���� �� �ִ����� ���� �� 310 ������ <a href="#jabberwock">"�ٽ� �ѹ� �����϶�"</a> ���� 311 ����϶�.</p> 312</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 313<div class="section"> 314<h2><a name="install" id="install">suEXEC ������ ��ġ</a></h2> 315 316 <p>���� ����ִ� ������ �����Ѵ�.</p> 317 318 <p><strong>suEXEC ���� �ɼ�</strong><br /> 319 </p> 320 321 <dl> 322 <dt><code>--enable-suexec</code></dt> 323 324 <dd>�� �ɼ��� �⺻������ ��ġ�ǰų� Ȱ��ȭ�����ʴ� suEXEC 325 ����� Ȱ��ȭ�Ѵ�. APACI�� suEXEC�� �Ƶ��̷��� 326 <code>--enable-suexec</code> �ɼǿܿ� 327 <code>--with-suexec-xxxxx</code> �ɼ��� �ּ��� �Ѱ� 328 �ʿ��ϴ�.</dd> 329 330 <dt><code>--with-suexec-bin=<em>PATH</em></code></dt> 331 332 <dd><code>suexec</code> ���̳ʸ� ��δ� ���Ȼ� ������ 333 ������ ��ϵǾ� �Ѵ�. ��� �⺻���� �����Ϸ��� �� �ɼ��� 334 ����Ѵ�. <em>���� ���</em> 335 <code>--with-suexec-bin=/usr/sbin/suexec</code></dd> 336 337 <dt><code>--with-suexec-caller=<em>UID</em></code></dt> 338 339 <dd>���� ����ġ�� �����ϴ� <a href="mod/mpm_common.html#user">����ڸ�</a>. ���α��� 340 ������ �� �ִ� ������ ����ڴ�.</dd> 341 342 <dt><code>--with-suexec-userdir=<em>DIR</em></code></dt> 343 344 <dd>suEXEC ������ ���Ǵ� ����� Ȩ���丮�� �������丮�� 345 �����Ѵ�. �� ���丮�� �ִ� ��� ���������� ������� 346 suEXEC�� ����Ƿ�, ��� ���α��� "�����ؾ�" �Ѵ�. (���� 347 ���, ���� "*"�� ���) "������" UserDir ���þ ����Ѵٸ� 348 ���� ���� �����ؾ� �Ѵ�. UserDir ���þ passwd ���Ͽ� 349 ���� ����� Ȩ���丮�� �ٸ��� suEXEC�� ���������� 350 �۵����� �ʴ´�. �⺻���� "public_html"�̴�.<br /> 351 ����ȣ��Ʈ���� ���� �ٸ� UserDir�� ����Ѵٸ� ��� �� 352 �θ� ���丮 �ȿ� �ֵ��� �����ؾ� �ϰ�, �� �θ� ���丮���� 353 ���� ��´�. <strong>�̷��� �������� ������, "~userdir" 354 cgi ��û�� �۵����� �ʴ´�!</strong></dd> 355 356 <dt><code>--with-suexec-docroot=<em>DIR</em></code></dt> 357 358 <dd>����ġ�� DocumentRoot�� �����Ѵ�. �̴� suEXEC�� ����� 359 �� �ִ� (UserDirs�� ������) ������ ���̴�. �⺻ ���丮�� 360 <code>--datadir</code> ���� "/htdocs"�� ���� ���̴�. 361 <em>���� ���</em> "<code>--datadir=/home/apache</code>"�� 362 �����ߴٸ� suEXEC wrapper�� document root�� 363 "/home/apache/htdocs" ���丮�� ����Ѵ�.</dd> 364 365 <dt><code>--with-suexec-uidmin=<em>UID</em></code></dt> 366 367 <dd>suEXEC���� ���������� ������� �ּ� UID�� �����Ѵ�. 368 ��κ��� �ý��ۿ��� 500�̳� 100�� �����ϴ�. �⺻���� 369 100�̴�.</dd> 370 371 <dt><code>--with-suexec-gidmin=<em>GID</em></code></dt> 372 373 <dd>suEXEC���� ���������� ���� �ּ� GID�� �����Ѵ�. 374 ��κ��� �ý��ۿ��� 100�� �����ϹǷ� �� ���� �⺻���̴�.</dd> 375 376 <dt><code>--with-suexec-logfile=<em>FILE</em></code></dt> 377 378 <dd>��� suEXEC �۵��� ���� (���ó� ����� ���� ������) 379 ����� �α����ϸ��� �����Ѵ�. �⺻������ �α������� �̸��� 380 "suexec_log"�̰� ǥ�� �α����� ���丮�� 381 (<code>--logfiledir</code>) ��ġ�Ѵ�.</dd> 382 383 <dt><code>--with-suexec-safepath=<em>PATH</em></code></dt> 384 385 <dd>CGI �������Ͽ� �Ѱ��� ������ PATH ȯ�溯���� �����Ѵ�. 386 �⺻���� "/usr/local/bin:/usr/bin:/bin"�̴�.</dd> 387 </dl> 388 389 <p><strong>suEXEC wrapper�� �������ϰ� ��ġ�ϱ�</strong><br /> 390 <code>--enable-suexec</code> �ɼ����� suEXEC ����� �����ϰ��� 391 ��� <code>make</code> ��ɾ �����ϸ� <code>suexec</code> 392 ���������� (����ġ�� �Բ�) �ڵ����� ��������.<br /> 393 ������ �������� �� <code>make install</code> ��ɾ 394 �����Ͽ� ��ġ�� �� �ִ�. ���̳ʸ����� <code>suexec</code>�� 395 <code>--sbindir</code> �ɼ����� ������ ���丮�� ��ġ�ȴ�. 396 �⺻ ��ġ�� "/usr/local/apache2/sbin/suexec"�̴�.<br /> 397 ��ġ ������ <strong><em>root ����</em></strong>�� �ʿ����� 398 �����϶�. wrapper�� ����� ID�� �����ϱ����ؼ��� �����ڰ� 399 <code><em>root</em></code>�̰� ���ϸ��� setuserid �����Ʈ�� 400 �����Ǿ� �Ѵ�.</p> 401 402 <p><strong>���������� ���Ѽ���</strong><br /> 403 suEXEC wrapper�� �ڽ��� ������ ����ڰ� ���� �ɼ� 404 <code>--with-suexec-caller</code>�� ������ �ùٸ� ��������� 405 Ȯ���� ������, �� �˻� ���� suEXEC�� ����ϴ� �ý���ȣ�� 406 Ȥ�� ���̺귯�� �Լ��� ���۵Ǿ��� �� �ִ�. �̸� ����ϸ� 407 �Ϲ������� ���� �����̹Ƿ� ���� ����ġ�� �����ϴ� �츸�� 408 suEXEC�� ������ �� �ֵ��� ���Ͻý��� ������ �����ؾ� �Ѵ�.</p> 409 410 <p>���� ���, �������� ������ ���� �����ϰ�:</p> 411 412<div class="example"><p><code> 413 User www<br /> 414 Group webgroup<br /> 415</code></p></div> 416 417 <p><code>suexec</code>�� "/usr/local/apache2/sbin/suexec"�� 418 ��ġ�Ͽ��ٸ�, ������ �����ؾ� �Ѵ�:</p> 419 420<div class="example"><p><code> 421 chgrp webgroup /usr/local/apache2/bin/suexec<br /> 422 chmod 4750 /usr/local/apache2/bin/suexec<br /> 423</code></p></div> 424 425 <p>���� ���� ����ġ�� �����ϴ� �츸�� suEXEC wrapper�� 426 ������ �� �ִ�.</p> 427</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 428<div class="section"> 429<h2><a name="enable" id="enable">suEXEC Ű�� ����</a></h2> 430 431 <p>����ġ�� �����Ҷ� <code>--sbindir</code> �ɼ����� ������ 432 ���丮���� <code>suexec</code> ������ (�⺻�� 433 "/usr/local/apache2/sbin/suexec") ã�´�. ����ġ�� 434 ���������� ������ suEXEC wrapper�� �߰��ϸ� ���� �α�(error 435 log)�� ������ ���� ����Ѵ�:</p> 436 437<div class="example"><p><code> 438 [notice] suEXEC mechanism enabled (wrapper: <em>/path/to/suexec</em>) 439</code></p></div> 440 441 <p>���� �����߿� �̷� ������ ��ٸ� ������ ����� ��ҿ��� 442 wrapper ���α��� ã�� ���߰ų�, ���������� <em>setuid 443 root</em>�� ��ġ�����ʾұ� ������ ���̴�.</p> 444 445 <p>ó������ suEXEC ����� ����ϰ� �Ͱ� �̹� ����ġ ������ 446 �������̶��, ����ġ�� ���̰� �ٽ� �����ؾ� �Ѵ�. ������ 447 HUP�̳� USR1 �ñ׳η� ������ϴ� �����δ� ������� �ʴ�. </p> 448 <p>suEXEC�� �Ȼ���Ϸ��� <code>suexec</code> ������ ������ 449 ����ġ�� ���̰� ������ؾ� �Ѵ�. </p> 450</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 451<div class="section"> 452<h2><a name="usage" id="usage">suEXEC ����ϱ�</a></h2> 453 454 <p>CGI ���α� ��û�� ��� <code class="directive"><a href="/mod/mod_suexec.html#suexecusergroup">SuexecUserGroup</a></code> ���þ 455 ����� ����ȣ��Ʈ�� ��û�� �Ͽ��ų� <code class="module"><a href="/mod/mod_userdir.html">mod_userdir</a></code>�� 456 ��û�� ó���ϴ� ��쿡�� suEXEC wrapper�� ȣ���Ѵ�.</p> 457 458 <p><strong>����ȣ��Ʈ:</strong><br /> suEXEC wrapper�� 459 ����ϴ� �Ѱ��� ����� <code class="directive"><a href="/mod/core.html#virtualhost">VirtualHost</a></code> ���ǿ� <code class="directive"><a href="/mod/mod_suexec.html#suexecusergroup">SuexecUserGroup</a></code> ���þ 460 ����ϴ� ���̴�. �� ���þ �ּ��� ����� ID�� �ٸ��� 461 �����ϸ� CGI �ڿ��� ��� ��û�� <code class="directive"><a href="/mod/core.html#virtualhost"><VirtualHost></a></code>���� 462 ������ <em>User</em>�� <em>Group</em>���� ����ȴ�. �� 463 ���þ���� <code class="directive"><a href="/mod/core.html#virtualhost"><VirtualHost></a></code>�� ������ �ּ��� 464 userid�� ����Ѵ�.</p> 465 466 <p><strong>����� ���丮:</strong><br /> 467 <code class="module"><a href="/mod/mod_userdir.html">mod_userdir</a></code>�� ��û�� ó���Ѵٸ� suEXEC 468 wrapper�� ȣ���Ͽ�, ��û�� ����� ���丮�� �ش��ϴ� ����� 469 ID�� CGI ���α��� �����Ѵ�. �� ����� �����Ϸ��� ����� 470 ID�� CGI�� ������ �� �ְ� ��ũ��Ʈ�� ���� <a href="#model">���� 471 �˻�</a> ���� �����ؾ� �Ѵ�. <a href="#install">���� 472 �ɼ�</a> <code>--with-suexec-userdir</code>�� ����϶�.</p> </div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 473<div class="section"> 474<h2><a name="debug" id="debug">suEXEC ������ϱ�</a></h2> 475 476 <p>suEXEC wrapper�� �α� ������ ������ �ٷ� 477 <code>--with-suexec-logfile</code> �ɼ����� ������ ���Ͽ� 478 ����. wrapper�� �ùٷ� �����ϰ� ��ġ�ߴٸ� ��� �߸�Ǿ���� 479 �� �α����Ͽ� ������ error_log�� �������.</p> 480 481</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 482<div class="section"> 483<h2><a name="jabberwock" id="jabberwock">�ٽ� �ѹ� �����϶�: ���� ����</a></h2> 484 485 <p><strong>����!</strong> �� ������ �������� ���� �� �ִ�. 486 ����ġ���� <a href="http://httpd.apache.org/docs/2.4/suexec.html">�¶��� 487 ����</a>���� �� ������ �ֽ����� ����϶�.</p> 488 489 <p>wrapper�� ���� ������ �����ϴ� ��� ��̷ο� ���� �ִ�. 490 suEXEC�� ��õ� "����"�� �����ϱ� �� �̵��� ���캸�� �ٶ���.</p> 491 492 <ul> 493 <li><strong>suEXEC ���� ����</strong></li> 494 495 <li> 496 ���丮 ���� ���� 497 498 <p class="indent"> 499 ���Ȱ� ȿ������ ���� ��� suEXEC ��û�� ����ȣ��Ʈ�� 500 ��� �ֻ��� document root Ȥ�� userdir ��û�� ��� 501 �ֻ��� ���� document root �ȿ��� ���ؾ� �Ѵ�. ���� 502 ���, ����ȣ��Ʈ �װ��� �����ߴٸ� ����ȣ��Ʈ���� 503 suEXEC�� �̿��ϱ����� ����ȣ��Ʈ�� document root�� 504 �� ����ġ ���� �������� �ۿ� ������ �ʿ䰡 �ִ�. 505 (������ ������.) 506 </p> 507 </li> 508 509 <li> 510 suEXEC�� PATH ȯ�溯�� 511 512 <p class="indent"> 513 �����ϸ� ������ �� �ִ�. ��� �����ϴ� ��� ��ΰ� 514 <strong>���� �� �ִ�</strong> ���丮���� Ȯ���϶�. 515 �� �������� �������� �װ��� �ִ� Ʈ���̸� �����ϱ� 516 ������ ���� ���̴�. 517 </p> 518 </li> 519 520 <li> 521 suEXEC �ڵ� �����ϱ� 522 523 <p class="indent"> 524 �ݺ��ؼ� ��������, ����� ������ �ϴ��� �� �õ��Ѵٸ� 525 <strong>ū ����</strong>�� ���� �� �ִ�. � ��쿡�� 526 ������������. 527 </p> 528 </li> 529 </ul> 530 531</div></div> 532<div class="bottomlang"> 533<p><span>������ ���: </span><a href="/en/suexec.html" hreflang="en" rel="alternate" title="English"> en </a> | 534<a href="/fr/suexec.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | 535<a href="/ja/suexec.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | 536<a href="/ko/suexec.html" title="Korean"> ko </a> | 537<a href="/tr/suexec.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> 538</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&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> 539<script type="text/javascript"><!--//--><![CDATA[//><!-- 540var comments_shortname = 'httpd'; 541var comments_identifier = 'http://httpd.apache.org/docs/2.4/suexec.html'; 542(function(w, d) { 543 if (w.location.hostname.toLowerCase() == "httpd.apache.org") { 544 d.write('<div id="comments_thread"><\/div>'); 545 var s = d.createElement('script'); 546 s.type = 'text/javascript'; 547 s.async = true; 548 s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; 549 (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); 550 } 551 else { 552 d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); 553 } 554})(window, document); 555//--><!]]></script></div><div id="footer"> 556<p class="apache">Copyright 2014 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> 557<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[//><!-- 558if (typeof(prettyPrint) !== 'undefined') { 559 prettyPrint(); 560} 561//--><!]]></script> 562</body></html>