home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 May / PCWorld_2003-05_cd.bin / Komunik / apache / apache_2.0.45-win32-x86-no_ssl.msi / Data.Cab / F232646_suexec.html.ja.jis < prev    next >
Extensible Markup Language  |  2003-03-30  |  26KB  |  537 lines

  1. <?xml version="1.0" encoding="iso-2022-jp"?>
  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="ja" xml:lang="ja"><head><!--
  4.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  5.               This file is generated from xml source: DO NOT EDIT
  6.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  7.       --><title>suEXEC $B%5%]!<%H(B - Apache HTTP $B%5!<%P(B</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 href="./images/favicon.ico" rel="shortcut icon" /></head><body id="manual-page"><div id="page-header"><p class="menu"><a href="./mod/">$B%b%8%e!<%k(B</a> | <a href="./mod/directives.html">$B%G%#%l%/%F%#%V(B</a> | <a href="./faq/">FAQ</a> | <a href="./glossary.html">$BMQ8l(B</a> | <a href="./sitemap.html">$B%5%$%H%^%C%W(B</a></p><p class="apache">Apache HTTP $B%5!<%P(B $B%P!<%8%g%s(B 2.0</p><img alt="" src="./images/feather.gif" /></div><div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div><div id="path"><a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP $B%5!<%P(B</a> > <a href="http://httpd.apache.org/docs-project/">$B%I%-%e%a%s%F!<%7%g%s(B</a> > <a href="./">$B%P!<%8%g%s(B 2.0</a></div><div id="page-content"><div id="preamble"><h1>suEXEC $B%5%]!<%H(B</h1>
  8.     <p><strong>suEXEC</strong>
  9.     $B5!G=$K$h$j!"(BApache $B%f!<%6$O(B Web $B%5!<%P$r(B$B<B9T$7$F$$$k%f!<%6(B ID $B$H$O(B
  10.     $B0[$J$k%f!<%6(B ID $B$G(B <strong>CGI</strong> $B%W%m%0%i%`$d(B <strong>SSI</strong> 
  11.     $B%W%m%0%i%`$r<B9T$9$k$3$H(B$B$,$G$-$^$9!#(BCGI $B%W%m%0%i%`$^$?$O(B SSI
  12.     $B%W%m%0%i%`$r<B9T$9$k>l9g!"DL>o$O(B web $B%5!<%P$HF1$8%f!<%6$G<B9T$5$l$^$9!#(B
  13.     </p>
  14.  
  15.     <p>$BE,@Z$K;HMQ$9$k$H!"$3$N5!G=$K$h$j%f!<%6$,8DJL$N(B CGI
  16.     $B$d(B SSI $B%W%m%0%i%`$r3+H/$7<B9T$9$k$3(B$B$H$G@8$8$k%;%-%e%j%F%#>e$N4m81$r!"(B
  17.     $B$+$J$j8:$i$9$3$H$,$G$-$^$9!#$7$+$7!"(BsuEXEC $B$N@_Dj$,ITE,@Z$@$H!"(B
  18.     $BB?$/$NLdBj$,@8$8!"$"$J$?$N%3%s%T%e!<%?$K?7$7$$%;%-%e%j%F%#%[!<%k$r(B
  19.     $B:n$C$F$7$^$&2DG=@-$,$"$j$^$9!#$"$J$?$,(B root $B$K(B setuid
  20.     $B$5$l$?%W%m%0%i%`$H!"$=$l$i$+$i@8$8$k%;%-%e%j%F%#>e$NLdBj$N4IM}$K(B
  21.     $B>\$7$/$J$$$h$&$J$i!"(BsuEXEC $B$N;HMQ$r8!F$$7$J$$$h$&$K6/$/?d>)$7$^$9!#(B
  22.     </p>
  23.   </div><div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#before">$B;O$a$kA0$K(B</a></li><li><img alt="" src="./images/down.gif" /> <a href="#model">suEXEC $B%;%-%e%j%F%#%b%G%k(B</a></li><li><img alt="" src="./images/down.gif" /> <a href="#install">suEXEC
  24.     $B$N@_Dj$H%$%s%9%H!<%k(B</a></li><li><img alt="" src="./images/down.gif" /> <a href="#enable">suEXEC
  25.     $B$NM-8z2=$HL58z2=(B</a></li><li><img alt="" src="./images/down.gif" /> <a href="#usage">suEXEC $B$N;HMQ(B</a></li><li><img alt="" src="./images/down.gif" /> <a href="#debug">suEXEC $B$N%G%P%C%0(B</a></li><li><img alt="" src="./images/down.gif" /> <a href="#jabberwock">$B$H$+$2$KCm0U(B: $B7Y9p$H;vNc(B</a></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="before" id="before">$B;O$a$kA0$K(B</a></h2>
  26.  
  27.     <p>$B$3$NJ8=q$N@hF,$KHt$VA0$K!"(BApache
  28.     $B%0%k!<%W$H$3$NJ8=q$G$N2>Dj$rCN$C$F$*$/$Y$-$G$7$g$&!#(B
  29.     </p>
  30.  
  31.     <p>$BBh(B 1 $B$K!"$"$J$?$,(B <strong>setuid</strong> $B$H(B
  32.     <strong>setgid</strong> $BA`:n$,2DG=$J(B UNIX
  33.     $BM3Mh$N%*%Z%l!<%F%#%s%0%7%9%F%`$r;H$C$F$$$k$3$H$rA[Dj$7$F$$$^$9!#(B
  34.     $B$3$l$O!"$9$Y$F$N%3%^%s%INc$K$"$F$O$^$j$^$9!#(B
  35.     $B$=$NB>$N%W%i%C%H%[!<%`$G$O!"$b$7(B suEXEC
  36.     $B$,%5%]!<%H$5$l$F$$$?$H$7$F$b@_Dj$O0[$J$k$+$b$7$l$^$;$s!#(B</p>
  37.  
  38.     <p>$BBh(B 2 $B$K!"$"$J$?$,;HMQCf$N%3%s%T%e!<%?$N(B
  39.     $B%;%-%e%j%F%#$K4X$9$k4pK\E*$J35G0$H!"$=$l$i$N4IM}$K$D$$$F>\$7$$$3$H$r(B
  40.     $BA[Dj$7$F$$$^$9!#$3$l$O!"(B<strong>setuid/setgid</strong>
  41.     $BA`:n!"$"$J$?$N%7%9%F%`>e$G$N$=$NA`:n$K$h$kMM!9$J8z2L!"(B
  42.     $B%;%-%e%j%F%#%l%Y%k$K$D$$$F$"$J$?$,M}2r$7$F$$$k$H$$$&$3$H$r4^$_$^$9!#(B
  43.     </p>
  44.  
  45.     <p>$BBh(B 3 $B$K!"(B<strong>$B2~B$$5$l$F$$$J$$(B</strong> suEXEC
  46.     $B%3!<%I$N;HMQ$rA[Dj$7$F$$$^$9!#(BsuEXEC $B$N%3!<%I$O!"(B
  47.     $BB?$/$N%Y!<%?%F%9%?$@$1$G$J$/!"3+H/<T$K$h$C$F$bCm0U?<$/@:::$5$l(B
  48.     $B%F%9%H$5$l$F$$$^$9!#$=$l$i$NCm0U$K$h$j!"4J7i$G?.Mj$G$-$k0BA4$J(B
  49.     $B%3!<%I$N4pHW$,J]>Z$5$l$^$9!#$3$N%3!<%I$r2~JQ$9$k$3$H$G!"(B
  50.     $BM=4|$5$l$J$$LdBj$d?7$7$$%;%-%e%j%F%#>e$N4m81$,@8$8$k$3$H$,$"$j$^$9!#(B
  51.     $B%;%-%e%j%F%#%W%m%0%i%_%s%0$N>\:Y$KDL$8$F$$$F!"(B
  52.     $B:#8e$N8!F$$N$?$a$K@.2L$r(B Apache
  53.     $B%0%k!<%W$H6&M-$7$h$&$H;W$&$N$G$J$1$l$P!"(BsuEXEC
  54.     $B%3!<%I$OJQ$($J$$$3$H$r(B <strong>$B6/$/(B</strong>$B?d>)$7$^$9!#(B</p>
  55.  
  56.     <p>$BBh(B 4 $B$K!"$3$l$,:G8e$G$9$,!"(BsuEXEC $B$r(B Apache
  57.     $B$N%G%U%)%k%H%$%s%9%H!<%k$K$O(B<strong>$B4^$a$J$$(B</strong>$B$3$H$,(B
  58.     Apache $B%0%k!<%W$G7hDj$5$l$F$$$^$9!#$3$l$O!"(BsuEXEC
  59.     $B$N@_Dj$K$O4IM}<T$N>\:Y$K$o$?$k?5=E$JCm0U$,I,MW$@$+$i$G$9!#(B
  60.     suEXEC $B$NMM!9$J@_Dj$K$D$$$F8!F$$,=*$o$l$P!"4IM}<T$O(B suEXEC
  61.     $B$rDL>o$N%$%s%9%H!<%kJ}K!$G%$%s%9%H!<%k$9$k$3$H$,$G$-$^$9!#(B
  62.     $B$3$l$i$N@_DjCM$O!"(BsuEXEC
  63.     $B5!G=$N;HMQCf$K%7%9%F%`%;%-%e%j%F%#$rE,@Z$KJ]$D$?$a$K!"(B
  64.     $B4IM}<T$K$h$C$F?5=E$K7hDj$5$l;XDj$5$l$k$3$H$,I,MW$G$9!#(B
  65.     $B$3$N>\:Y$J<j=g$K$h$j!"(BApache $B%0%k!<%W$O!"(BsuEXEC
  66.     $B$N%$(B$B%s%9%H!<%k$K$D$$$F!"Cm0U?<$/==J,$K8!F$$7$F$=$l$r;HMQ$9$k$3$H$r(B
  67.     $B7hDj$7$?>l9g$K8B$C$F$$$?$@$-$?$$$H9M$($F$$$^$9!#(B
  68.     </p>
  69.  
  70.     <p>$B$=$l$G$b?J$_$^$9$+(B? $B$h$m$7$$!#$G$O!"@h$X?J$_$^$7$g$&(B!</p>
  71.   </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="model" id="model">suEXEC $B%;%-%e%j%F%#%b%G%k(B</a></h2>
  72.  
  73.     <p>suEXEC $B$N@_Dj$H%$%s%9%H!<%k$r;O$a$kA0$K!"(B
  74.     $B$^$:<BAu$7$h$&$H$7$F$$$k%;%-%e%j%F%#%b%G%k$K$D$$$FO@$8$F$*$-$^$9!#(B
  75.     $B$=$l$K$O!"(BsuEXEC $B$NFbIt$G9T$J$o$l$F$$$k$3$H!"(B
  76.     $B%7%9%F%`$N%;%-%e%j%F%#$rJ]>Z$9$k$?$a$K7Y9p$5$l$k$3$H$r(B
  77.     $B$h$/M}2r$7$F$*$$$?J}$,$h$$$G$7$g$&!#(B</p>
  78.  
  79.     <p><strong>suEXEC</strong> $B$O!"(BApache web
  80.     $B%5!<%P$+$i8F$S=P$5$l$k(B setuid $B$5$l$?(B "wrapper"
  81.     $B%W%m%0%i%`$,4pK\$H$J$C$F$$$^$9!#@_7W$7$?(B CGI$B!"$^$?$O(B SSI
  82.     $B%W%m%0%i%`$X$N(B HTTP $B%j%/%(%9%H$,$"$k$H!"$3$N(B wrapper
  83.     $B$,8F$S=P$5$l$^$9!#$3$N$h$&$J%j%/%(%9%H$,$"$k$H!"(BApache
  84.     $B$O$=$N%W%m%0%i%`$,<B9T$5$l$k:]$N%W%m%0%i%`L>$H%f!<%6(B ID $B$H%0%k!<%W(B
  85.     ID $B$r;XDj$7$F(B suEXEC wrapper $B$r<B9T$7$^$9!#(B
  86.     </p>
  87.  
  88.     <p>$B$=$l$+$i!"(Bwrapper $B$O@.8y$^$?$O<:GT$r7hDj$9$k$?$a(B
  89.     $B0J2<$N=hM}$r9T$J$$$^$9!#$3$l$i$N>uBV$N$&$A0l$D$G$b<:GT$7$?>l9g!"(B
  90.     $B%W%m%0%i%`$O<:GT$r%m%0$K5-O?$7$F%(%i!<$G=*N;$7$^$9!#(B
  91.     $B$=$&$G$J$1$l$P!"8e$N=hM}$,B3$1$i$l$^$9!#(B</p>
  92.  
  93.     <ol>
  94.       <li>
  95.         <strong>wrapper $B$,E,@Z$J?t$N0z?t$G8F$S=P$5$l$?$+(B?</strong>
  96.  
  97.  
  98.         <p class="indent">
  99.           wrapper $B$OE,@Z$J?t$N0z?t$,M?$($i$l$?>l9g$K$N$_<B9T$5$l$^$9!#(B
  100.           $BE,@Z$J0z?t$N%U%)!<%^%C%H$O(B Apache Web $B%5!<%P$K2r<a$5$l$^$9!#(B
  101.           $BE,@Z$J?t$N0z?t$r<u$1<h$i$J$1$l$P!"967b$r$5$l$?$+(B
  102.           $B$"$J$?$N(B Apache $B%P%$%J%j$N(B suEXEC $B$NItJ,$,(B
  103.           $B$I$3$+$*$+$7$$2DG=@-$,$"$j$^$9!#(B
  104.         </p>
  105.       </li>
  106.  
  107.  
  108.       <li>
  109.         <strong>wrapper
  110.         $B$r<B9T$7$F$$$k%f!<%6$O$3$N%7%9%F%`$N@5Ev$J%f!<%6$+(B?</strong>
  111.  
  112.         <p class="indent">
  113.           $B$3$l$O!"(Bwrapper $B$r<B9T$7$F$$$k%f!<%6$,(B
  114.           $BK\Ev$K%7%9%F%`$NMxMQ<T$G$"$k$3$H$rJ]>Z$9$k$?$a$G$9!#(B
  115.         </p>
  116.       </li>
  117.  
  118.       <li>
  119.         <strong>$B$3$N@5Ev$J%f!<%6$O(B wrapper
  120.         $B$N<B9T$r5v2D$5$l$F$$$k$+(B?</strong>
  121.  
  122.         <p class="indent">
  123.           $B$3$N%f!<%6$O(B wrapper $B<B9T$r5v2D$5$l$?%f!<%6$G$9$+(B?
  124.           $B$?$@0l?M$N%f!<%6(B (Apache $B%f!<%6(B) $B$@$1$,!"(B
  125.           $B$3$N%W%m%0%i%`$N<B9T$r5v2D$5$l$^$9!#(B
  126.         </p>
  127.       </li>
  128.  
  129.       <li>
  130.         <strong>$BBP>]$N%W%m%0%i%`$,0BA4$G$J$$3,AX$N;2>H$r$7$F$$$k$+(B?
  131.         </strong>
  132.  
  133.         <p class="indent">
  134.           $BBP>]$N%W%m%0%i%`$,(B '/' $B$+$i;O$^$k!"$^$?$O(B
  135.           '..' $B$K$h$k;2>H$r9T$J$C$F$$$^$9$+(B? $B$3$l$i$O5v2D$5$l$^$;$s!#(B
  136.           $BBP>]$N%W%m%0%i%`$O(B Apache $B$N(B web $B6u4VFb$K$J$1$l$P$J$j$^$;$s!#(B
  137.         </p>
  138.       </li>
  139.  
  140.       <li>
  141.         <strong>$BBP>]$H$J$k%f!<%6L>$O@5Ev$J$b$N$+(B?</strong>
  142.  
  143.         <p class="indent">
  144.           $BBP>]$H$J$k%f!<%6L>$OB8:_$7$F$$$^$9$+(B?
  145.         </p>
  146.       </li>
  147.  
  148.       <li>
  149.         <strong>$BBP>]$H$J$k%0%k!<%WL>$O@5Ev$J$b$N$+(B?</strong>
  150.  
  151.         <p class="indent">
  152.           $BBP>]$H$J$k%0%k!<%WL>$OB8:_$7$F$$$^$9$+(B?
  153.         </p>
  154.       </li>
  155.  
  156.       <li>
  157.         <strong>$BL\E*$N%f!<%6$O%9!<%Q!<%f!<%6$G$O(B<em>$B$J$$(B</em>$B$+(B?
  158.         </strong>
  159.  
  160.         <p class="indent">
  161.           $B:#$N$H$3$m!"(BsuEXEC $B$O(B 'root' $B$K$h$k(B CGI/SSI
  162.           $B%W%m%0%i%`$N<B9T$r5v2D$7$F$$$^$;$s!#(B
  163.         </p>
  164.       </li>
  165.  
  166.       <li>
  167.         <strong>$BBP>]$H$J$k%f!<%6(B ID $B$O!":G>.$N(B ID
  168.         $BHV9f$h$j$b(B<em>$BBg$-$$(B</em>$B$+(B?  </strong>
  169.  
  170.         <p class="indent">
  171.           $B:G>.%f!<%6(B ID $BHV9f$O@_Dj;~$K;XDj$5$l$^$9!#$3$l$O!"(B
  172.           CGI/SSI $B%W%m%0%i%`<B9T$r5v2D$5$l$k%f!<%6(B ID
  173.           $B$N$H$j$&$k:G>.CM$G$9!#$3$l$O(B
  174.           "system" $BMQ$N%"%+%&%s%H$rJD$a=P$9$N$KM-8z$G$9!#(B
  175.         </p>
  176.       </li>
  177.  
  178.       <li>
  179.         <strong>$BBP>]$H$J$k%0%k!<%W$O%9!<%Q!<%f!<%6$N%0%k!<%W$G$O(B
  180.         <em>$B$J$$(B</em>$B$+(B?</strong>
  181.  
  182.         <p class="indent">
  183.          $B:#$N$H$3$m!"(BsuEXEC $B$O(B 'root' $B%0%k!<%W$K$h$k(B CGI/SSI
  184.          $B%W%m%0%i%`$N<B9T$r5v2D$7$F$$$^$;$s!#(B
  185.         </p>
  186.       </li>
  187.  
  188.       <li>
  189.         <strong>$BBP>]$H$J$k%0%k!<%W(B ID $B$O:G>.$N(B ID
  190.           $BHV9f$h$j$b(B<em>$BBg$-$$(B</em>$B$+(B?</strong>
  191.  
  192.         <p class="indent">
  193.           $B:G>.%0%k!<%W(B ID $BHV9f$O@_Dj;~$K;XDj$5$l$^$9!#$3$l$O!"(B
  194.           CGI/SSI $B%W%m%0%i%`<B9T$r5v2D$5$l$k%0%k!<%W(B
  195.           ID $B$N$H$j$&$k:G>.CM$G$9!#(B
  196.           $B$3$l$O(B "system" $BMQ$N%0%k!<%W$rJD$a=P$9$N$KM-8z$G$9!#(B
  197.         </p>
  198.       </li>
  199.  
  200.       <li>
  201.         <strong>wrapper $B$,@5>o$KBP>]$H$J$k%f!<%6$H%0%k!<%W$K$J$l$k$+(B?
  202.         </strong>
  203.  
  204.         <p class="indent">
  205.           $B$3$3$G!"(Bsetuid $B$H(B setgid
  206.           $B$N5/F0$K$h$j%W%m%0%i%`$OBP>]$H$J$k%f!<%6$H%0%k!<%W$K$J$j$^$9!#(B
  207.           $B%0%k!<%W(B$B%"%/%;%9%j%9%H$O!"(B
  208.           $B%f!<%6$,B0$7$F$$$k$9$Y$F$N%0%k!<%W$G=i4|2=$5$l$^$9!#(B
  209.         </p>
  210.       </li>
  211.  
  212.       <li>
  213.         <strong>$B%W%m%0%i%`$,CV$+$l$k%G%#%l%/%H%j$OB8:_$7$F$$$k$+(B?
  214.         </strong>
  215.  
  216.         <p class="indent">
  217.           $B%G%#%l%/%H%j$,B8:_$7$J$$$J$i!"$=$N%U%!%$%k$bB8:_$7$J$$$+$b$7$l$^$;$s!#(B
  218.         </p>
  219.       </li>
  220.  
  221.       <li>
  222.         <strong>$B%G%#%l%/%H%j$,(B Apache $B$N%I%-%e%a%s%H%D%j!<Fb$K$"$k$+(B?
  223.         </strong>
  224.  
  225.         <p class="indent">
  226.           $B%j%/%(%9%H$,%5!<%PFb$N$b$N$G$"$l$P!"(B
  227.           $BMW5a$5$l$?%G%#%l%/%H%j$,%5!<%P$N%I%-%e%a%s%H%k!<%HG[2<$K$"$j$^$9$+(B?
  228.           $B%j%/%(%9%H$,(B UserDir $B$N$b$N$G$"$l$P!"(B
  229.           $BMW5a$5$l$?%G%#%l%/%H%j$,%f!<%6$N%I%-%e%a%s%H%k!<%HG[2<$K$"$j$^$9$+(B?
  230.         </p>
  231.       </li>
  232.  
  233.       <li>
  234.         <strong>$B%G%#%l%/%H%j$rB>$N%f!<%6$,=q$-9~$a$k$h$&$K$J$C$F(B
  235.         <em>$B$$$J$$(B</em>$B$+(B?</strong>
  236.  
  237.         <p class="indent">
  238.           $B%G%#%l%/%H%j$rB>%f!<%6$K3+J|$7$J$$$h$&$K$7$^$9!#(B
  239.           $B=jM-%f!<%6$@$1$,$3$N%G%#%l%/%H%j$NFbMF$r2~JQ$G$-$k$h$&$K$7$^$9!#(B
  240.         </p>
  241.       </li>
  242.  
  243.  
  244.       <li>
  245.         <strong>$BBP>]$H$J$k%W%m%0%i%`$OB8:_$9$k$+(B?</strong>
  246.  
  247.         <p class="indent">
  248.           $BB8:_$7$J$1$l$P<B9T$G$-$^$;$s!#(B
  249.         </p>
  250.       </li>
  251.  
  252.       <li>
  253.         <strong>$BBP>]$H$J$k%W%m%0%i%`%U%!%$%k$,B>%"%+%&%s%H$+$i(B
  254.         $B=q$-9~$a$k$h$&$K$J$C$F(B<em>$B$$$J$$(B</em>$B$+(B?</strong>
  255.  
  256.         <p class="indent">
  257.           $B=jM-<T0J30$K$O%W%m%0%i%`$rJQ99$9$k8"8B$OM?$($i$l$^$;$s!#(B
  258.         </p>
  259.       </li>
  260.  
  261.  
  262.       <li>
  263.         <strong>$BBP>]$H$J$k%W%m%0%i%`$,(B setuid $B$^$?$O(B setgid 
  264.         $B$5$l$F(B<em>$B$$$J$$(B</em>$B$+(B?</strong>
  265.  
  266.         <p class="indent">
  267.           UID/GID $B$r:FEYJQ99$7$F$N%W%m%0%i%`<B9T$O$7$^$;$s(B
  268.         </p>
  269.       </li>
  270.  
  271.  
  272.       <li>
  273.         <strong>$BBP>]$H$J$k%f!<%6(B/$B%0%k!<%W$,%W%m%0%i%`$N(B
  274.         $B%f!<%6(B/$B%0%k!<%W$HF1$8$+(B?</strong>
  275.  
  276.         <p class="indent">
  277.           $B%f!<%6$,$=$N%U%!%$%k$N=jM-<T$G$9$+(B?
  278.         </p>
  279.       </li>
  280.  
  281.       <li>
  282.         <strong>$B0BA4$JF0:n$rJ]>Z$9$k$?$a$N4D6-JQ?t%/%j%"$,2DG=$+(B?
  283.         </strong>
  284.  
  285.         <p class="indent">
  286.           suEXEC $B$O!"0BA4$J4D6-JQ?t$N%j%9%H(B
  287.           ($B$3$l$i$O@_Dj;~$K:n@.$5$l$^$9(B) $BFb$NJQ?t$H$7$FEO$5$l$k0BA4$J(B
  288.           PATH $BJQ?t(B ($B@_Dj;~$K;XDj$5$l$^$9(B) $B$r@_Dj$9$k$3$H$G!"(B
  289.           $B%W%m%;%9$N4D6-JQ?t$r%/%j%"$7$^$9!#(B
  290.         </p>
  291.       </li>
  292.  
  293.  
  294.       <li>
  295.         <strong>$BBP>]$H$J$k%W%m%0%i%`$r(B exec $B$7$F<B9T$G$-$k$+(B?</strong>
  296.  
  297.  
  298.         <p class="indent">
  299.           $B$3$3$G(B suEXEC $B$,=*N;$7!"BP>]$H$J$k%W%m%0%i%`$,3+;O$5$l$^$9!#(B
  300.         </p>
  301.       </li>
  302.     </ol>
  303.  
  304.     <p>$B$3$3$^$G$,(B suEXEC $B$N(B wrapper
  305.     $B$K$*$1$k%;%-%e%j%F%#%b%G%k$NI8=`E*$JF0:n$G$9!#$b$&>/$787=E$K(B
  306.     CGI/SSI $B@_7W$K$D$$$F$N?7$7$$@)8B$d5,Dj$r<h$jF~$l$k$3$H$b$G$-$^$9$,!"(B
  307.     suEXEC $B$O%;%-%e%j%F%#$KCm0U$7$F?5=E$K>/$7$:$D3+H/$5$l$F$-$^$7$?!#(B
  308.     </p>
  309.  
  310.     <p>$B$3$N%;%-%e%j%F%#%b%G%k$rMQ$$$F(B
  311.     $B%5!<%P@_Dj;~$K$I$N$h$&$K5v$9$3$H$r@)8B$9$k$+!"$^$?!"(BsuEXEC
  312.     $B$rE,@Z$K@_Dj$9$k$H$I$N$h$&$J%;%-%e%j%F%#>e$N4m81$rHr$1$i$l$k$+$K(B
  313.     $B4X$9$k$h$j>\$7$$>pJs$K$D$$$F$O!"(B<a href="#jabberwock">"$B$H$+$2$KCm0U(B"
  314.     (Beware the Jabberwock)</a> $B$N>O$r;2>H$7$F$/$@$5$$!#(B
  315.     </p>
  316.   </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="install" id="install">suEXEC
  317.     $B$N@_Dj$H%$%s%9%H!<%k(B</a></h2>
  318.  
  319.     <p>$B$3$3$+$i3Z$7$/$J$j$^$9!#(B</p>
  320.  
  321.     <p><strong>suEXEC
  322.     $B@_Dj%*%W%7%g%s(B</strong><br />
  323.     </p>
  324.  
  325.     <dl>
  326.       <dt><code>--enable-suexec</code></dt>
  327.  
  328.       <dd>$B$3$N%*%W%7%g%s$O!"%G%U%)%k%H$G$O%$%s%9%H!<%k$5$l$:!"(B
  329.       $BM-8z$K$O$J$i$J$$(B suEXEC $B5!G=$rM-8z$K$7$^$9!#(B
  330.       suEXEC $B$r;H$&$h$&$K(B APACI $B$KMW5a$9$k$K$O!"(B--enable-suexec
  331.       $B%*%W%7%g%s$K$"$o$;$F>/$J$/$H$b0l$D$O(B --with-suexec-xxxxx
  332.       $B%*%W%7%g%s$,;XDj$5$l$J$1$l$P$J$j$^$;$s!#(B</dd>
  333.  
  334.       <dt><code>--with-suexec-bin=<em>PATH</em></code></dt>
  335.  
  336.       <dd>$B%;%-%e%j%F%#>e$NM}M3$K$h$j!"(Bsuexec $B%P%$%J%j$N%Q%9$O%5!<%P$K(B
  337.       $B%O!<%I%3!<%I$5$l$F$$$kI,MW$,$"$j$^$9!#%G%U%)%k%H$N%Q%9$r(B
  338.       $BJQ$($?$$$H$-$O$3$N%*%W%7%g%s$r;H$C$F$/$@$5$$!#(B<em>$BNc$($P(B</em>$B!"(B
  339.       <code>--with-suexec-bin=/usr/sbin/suexec</code> $B$N$h$&$K!#(B</dd>
  340.  
  341.       <dt><code>--with-suexec-caller=<em>UID</em></code></dt>
  342.  
  343.       <dd>Apache $B$rDL>oF0:n$5$;$k(B<a href="mod/mpm_common.html#user">$B%f!<%6L>(B</a>$B$r;XDj$7$^$9!#(B
  344.       $B$3$N%f!<%6$@$1$,(B suexec $B$N<B9T$r5v2D$5$l$?%f!<%6$K$J$j$^$9!#(B</dd>
  345.  
  346.       <dt><code>--with-suexec-userdir=<em>DIR</em></code></dt>
  347.  
  348.       <dd>suEXEC $B$,%"%/%;%9$r5v$5$l$k%f!<%6%[!<%`%G%#%l%/%H%jG[2<$N(B
  349.       $B%5%V%G%#%l%/%H%j$r;XDj$7$^$9!#(B
  350.       $B$3$N%G%#%l%/%H%j0J2<$NA4<B9T%U%!%$%k$O!"(B"$B0BA4$J(B"$B%W%m%0%i%`$K$J$k$h$&!"(B
  351.       suEXEC $B$,$=$N%f!<%6$H$7$F<B9T$G$-$k$h$&$K$7$^$9!#(B
  352.       "$BC1=c$J(B" UserDir $B%G%#%l%/%F%#%V$r;H$C$F$$$k>l9g(B 
  353.       ($B$9$J$o$A(B "*" $B$r4^$^$J$$$b$N(B)$B!"$3$l$HF1$8CM$r@_Dj$9$Y$-$G$9!#(B
  354.       Userdir $B%G%#%l%/%F%#%V$,$=$N%f!<%6$N%Q%9%o!<%I%U%!%$%kFb$N(B
  355.       $B%[!<%`%G%#%l%/%H%j$HF1$8>l=j$r;X$7$F$$$J$1$l$P!"(B
  356.       suEXEC $B$OE,@Z$KF0:n$7$^$;$s!#%G%U%)%k%H$O(B "public_html" $B$G$9!#(B
  357.       <br />
  358.       $B3F(B UserDir $B$,0[$J$C$?2>A[%[%9%H$r@_Dj$7$F$$$k>l9g!"(B
  359.       $B$=$l$i$rA4$F0l$D$N?F%G%#%l%/%H%j$K4^$a$F!"(B
  360.       $B$=$N?F%G%#%l%/%H%j$NL>A0$r$3$3$G;XDj$9$kI,MW$,$"$j$^$9!#(B
  361.       <strong>$B$3$N$h$&$K;XDj$5$l$J$1$l$P(B "~userdir" cgi
  362.       $B$X$N%j%/%(%9%H$,F0:n$7$^$;$s!#(B</strong></dd>
  363.  
  364.       <dt><code>--with-suexec-docroot=<em>DIR</em></code></dt>
  365.  
  366.       <dd>Apache $B$N%I%-%e%a%s%H%k!<%H$r@_Dj$7$^$9!#$3$l$,(B suEXEC
  367.       $B$NF0:n$G;HMQ$9$kM#0l$N%G%#%l%/%H%j3,AX$K$J$j$^$9(B (UserDir
  368.       $B$N;XDj$OJL(B)$B!#%G%U%)%k%H$G$O(B --datedir $B$K(B "/htdocs"
  369.       $B$H$$$&%5%U%#%C%/%9$r$D$1$?$b$N$G$9!#(B
  370.       "<code>--datadir=/home/apache</code>" $B$H$7$F@_Dj$9$k$H!"(B
  371.       suEXEC wrapper $B$K$H$C$F(B "/home/apache/htdocs"
  372.       $B$,%I%-%e%a%s%H%k!<%H$H$7$F;H$o$l$^$9!#(B</dd>
  373.  
  374.       <dt><code>--with-suexec-uidmin=<em>UID</em></code></dt>
  375.  
  376.       <dd>suEXEC $B$NBP>]%f!<%6$H$7$F5v$5$l$k(B UID $B$N:G>.CM$r;XDj$7$^$9!#(B
  377.       $BBgDq$N%7%9%F%`$G$O(B 500 $B$+(B 100 $B$,0lHLE*$G$9!#(B
  378.       $B%G%U%)%k%HCM$O(B 100 $B$G$9!#(B</dd>
  379.  
  380.       <dt><code>--with-suexec-gidmin=<em>GID</em></code></dt>
  381.  
  382.       <dd>suEXEC $B$NBP>]%0%k!<%W$H$7$F5v$5$l$k(B GID
  383.       $B$N:G>.CM$r;XDj$7$^$9!#BgDq$N%7%9%F%`$G$O(B 100 $B$,0lHLE*$J$N$G!"(B
  384.       $B%G%U%)%k%HCM$H$7$F$b(B 100 $B$,;H$o$l$F$$$^$9!#(B</dd>
  385.  
  386.       <dt><code>--with-suexec-logfile=<em>FILE</em></code></dt>
  387.  
  388.       <dd>suEXEC $B$N=hM}$H%(%i!<$,5-O?$5$l$k%U%!%$%kL>$r;XDj$7$^$9!#(B
  389.       ($B4F::$d%G%P%C%0L\E*$KM-MQ(B)
  390.       $B%G%U%)%k%H$G$O%m%0%U%!%$%k$O(B "suexec_log" $B$H$$$&L>A0$G!"(B
  391.       $BI8=`$N%m%0%U%!%$%k%G%#%l%/%H%j(B (--logfiledir) $B$KCV$+$l$^$9!#(B
  392.       </dd>
  393.  
  394.       <dt><code>--with-suexec-safepath=<em>PATH</em></code></dt>
  395.  
  396.       <dd>CGI $B<B9T%U%!%$%k$KEO$5$l$k0BA4$J(B PATH $B4D6-JQ?t$G$9!#(B
  397.       $B%G%U%)%k%HCM$O(B "/usr/local/bin:/usr/bin:/bin" $B$G$9!#(B
  398.       </dd>
  399.     </dl>
  400.  
  401.     <p><strong>suEXEC $B@_Dj$N3NG'(B</strong>
  402.     <br />
  403.     suEXEC wrapper $B$r%3%s%Q%$%k$7$F%$%s%9%H!<%k$9$kA0$K!"@_DjFbMF$r(B
  404.     --layout $B%*%W%7%g%s$G3NG'$G$-$^$9!#(B<br />
  405.     $B=PNONc(B:</p>
  406. <div class="example"><p><code>
  407.     suEXEC setup:<br />
  408.             suexec binary: /usr/local/apache/sbin/suexec<br />
  409.             document root: /usr/local/apache/share/htdocs<br />
  410.            userdir suffix: public_html<br />
  411.                   logfile: /usr/local/apache/var/log/suexec_log<br />
  412.                 safe path: /usr/local/bin:/usr/bin:/bin<br />
  413.                 caller ID: www<br />
  414.           minimum user ID: 100<br />
  415.          minimum group ID: 100<br />
  416. </code></p></div>
  417.  
  418.     <p><strong>suEXEC wrapper
  419.     $B$N%3%s%Q%$%k$H%$%s%9%H!<%k(B</strong><br />
  420.     --enable-suexec $B%*%W%7%g%s$G(B suEXEC $B5!G=$rM-8z$K$9$k$H!"(B
  421.     "make" $B%3%^%s%I$r<B9T$7$?;~$K(B suEXEC $B$N%P%$%J%j(B (Apache $B<+BN$b(B)
  422.     $B$,<+F0E*$K:n@.$5$l$^$9!#(B
  423.     <br />
  424.     $B$9$Y$F$N9=@.MWAG$,:n@.$5$l$k$H!"$=$l$i$N%$%s%9%H!<%k$K$O(B
  425.     "make install" $B%3%^%s%I$,<B9T$G$-$^$9!#%P%$%J%j%$%a!<%8$N(B "suexec"
  426.     $B$O(B --sbindir $B%*%W%7%g%s$G;XDj$5$l$?%G%#%l%/%H%j$K%$%s%9%H!<%k$5$l$^$9!#(B
  427.     $B%G%U%)%k%H$N>l=j$O(B "/usr/local/apache/sbin/suexec" $B$G$9!#(B<br />
  428.     $B%$%s%9%H!<%k;~$K$O(B <strong><em>root</em></strong>
  429.     $B8"8B$,I,MW$J$N$GCm0U$7$F$/$@$5$$!#(Bwrapper $B$,%f!<%6(B ID
  430.     $B$r@_Dj$9$k$?$a$K!"=jM-<T(B <code><em>root</em></code>
  431.     $B$G$N%;%C%H%f!<%6(B ID
  432.     $B%S%C%H$r$=$N%U%!%$%k$N%b!<%I$K@_Dj$7$J$1$l$P$J$j$^$;$s!#(B
  433.     </p>
  434.   </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="enable" id="enable">suEXEC
  435.     $B$NM-8z2=$HL58z2=(B</a></h2>
  436.  
  437.     <p>$B5/F0;~$K!"(BApache $B$O(B "sbin" $B%G%#%l%/%H%j$G(B
  438.     "suexec" $B$rC5$7$^$9(B
  439.     ($B%G%U%)%k%H$O(B "/usr/local/apache/sbin/suexec") $B!#(B
  440.     $BE,@Z$K@_Dj$5$l$?(B suEXEC $B$,$_$D$+$k$H!"(B
  441.     $B%(%i!<%m%0$K0J2<$N%a%C%;!<%8$,=PNO$5$l$^$9!#(B</p>
  442. <div class="example"><p><code>
  443.     [notice] suEXEC mechanism enabled (wrapper: <em>/path/to/suexec</em>)
  444. </code></p></div>
  445.  
  446.     <p>$B%5!<%P5/F0;~$K$3$N%a%C%;!<%8$,=P$J$$>l9g!"(B
  447.     $BBgDq$O%5!<%P$,A[Dj$7$?>l=j$G(B wrapper $B%W%m%0%i%`$,8+$D$+$i$J$+$C$?$+!"(B
  448.     <em>setuid root</em> $B$H$7$F%$%s%9%H!<%k$5$l$F$$$J$$$+$G$9!#(B</p>
  449.  
  450.     <p>suEXEC $B$N;EAH$_$r;HMQ$9$k$N$,=i$a$F$G!"(BApache $B$,4{$KF0:nCf$G$"$l$P!"(B
  451.     Apache $B$r(B kill $B$7$F!":F5/F0$7$J$1$l$P$J$j$^$;$s!#(BHUP $B%7%0%J%k$d(B
  452.     USR1 $B%7%0%J%k$K$h$kC1=c$J:F5/F0$G$OIT==J,$G$9!#(B</p>
  453.     <p>suEXEC $B$rL58z$K$9$k>l9g$O!"(B"suexec" $B%U%!%$%k$r:o=|$7$F$+$i(B
  454.     Apache $B$r(B kill $B$7$F:F5/F0$7$^$9!#(B
  455.     </p>
  456.   </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="usage" id="usage">suEXEC $B$N;HMQ(B</a></h2>
  457.  
  458.     <p><strong>$B2>A[%[%9%H(B:</strong><br />
  459.     suEXEC wrapper $B$N;H$$J}$H$7$F!"(B
  460.     <code class="directive"><a href="./mod/core.html#virtualhost">VirtualHost</a></code> $B@_Dj$G$N(B
  461.     <code class="directive"><a href="./mod/mod_suexec.html#suexecusergroup">SuexecUserGroup</a></code>
  462.     $B%G%#%l%/%F%#%V$rDL$7$?$b$N$,$"$j$^$9!#(B
  463.     $B$3$N%G%#%l%/%F%#%V$r%a%$%s%5!<%P$N%f!<%6(B ID
  464.     $B$H0[$J$k$b$N$K$9$k$H!"(BCGI $B%j%=!<%9$X$N$9$Y$F$N%j%/%(%9%H$O!"$=$N(B
  465.     <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code> $B$G;XDj$5$l$?(B <em>User</em> $B$H(B
  466.     <em>Group</em> $B$H$7$F<B9T$5$l$^$9!#(B<code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code>
  467.     $B$G$3$N%G%#%l%/%F%#%V$,;XDj$5$l$F$$$J$$>l9g!"(B
  468.     $B%a%$%s%5!<%P$N%f!<%6(B ID $B$,A[Dj$5$l$^$9!#(B</p>
  469.  
  470.     <p><strong>$B%f!<%6%G%#%l%/%H%j(B:</strong><br />
  471.     suEXEC wrapper $B$O!"%j%/%(%9%H@h$N%f!<%6$H$7$F(B CGI
  472.     $B$r<B9T$9$k$?$a$K$b;H$($^$9!#$3$l$O4|BT$9$k<B9T8"8B$N%f!<%6(B ID
  473.     $B$NA0$K!"(B"<strong><code>~</code></strong>"
  474.     $BJ8;z$rCV$/$3$H$G<B8=$5$l$^$9!#(B
  475.     $B$3$N5!G=$rF0:n$5$;$k$?$a$KI,MW$J$3$H$O!"(BCGI
  476.     $B$r$=$N%f!<%6$G<B9T$G$-$k$3$H!"$=$N%9%/%j%W%H$,>e5-$N(B<a href="#model">$B%;%-%e%j%F%#8!::(B</a>$B$r%Q%9$G$-$k$3$H$G$9!#(B
  477.     </p>
  478.   </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="debug" id="debug">suEXEC $B$N%G%P%C%0(B</a></h2>
  479.  
  480.     <p>suEXEC wrapper $B$O!">e5-$G=R$Y$?(B --with-suexec-logfile
  481.     $B%*%W%7%g%s$G;XDj$5$l$?%U%!%$%k$K%m%0>pJs$r5-O?$7$^$9!#(B
  482.     wrapper $B$rE,@Z$K@_Dj!"%$%s%9%H!<%k$G$-$F$$$k$H;W$&>l9g!"(B
  483.     $B$I$3$GLB$C$F$$$k$+8+$h$&$H$9$k$J$i$3$N%m%0$H%5!<%P$N(B
  484.     $B%(%i!<%m%0$r8+$k$H$h$$$G$7$g$&!#(B</p>
  485.   </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="jabberwock" id="jabberwock">$B$H$+$2$KCm0U(B: $B7Y9p$H;vNc(B</a></h2>
  486.  
  487.     <p><strong>$BCm0U(B!</strong>
  488.     $B$3$N>O$O40A4$G$O$"$j$^$;$s!#$3$N>O$N:G?72~D{HG$K$D$$$F$O!"(B
  489.     Apache $B%0%k!<%W$N(B<a href="http://httpd.apache.org/docs-2.0/suexec.html">
  490.     $B%*%s%i%$%s%I%-%e%a%s%H(B</a>$BHG$r;2>H$7$F$/$@$5$$!#(B
  491.     </p>
  492.  
  493.     <p>$B%5!<%P$N@_Dj$K@)8B$r$b$&$1$k(B wrapper $B$K$D$$$F!"(B
  494.     $B$$$/$D$+6=L#?<$$E@$,$"$j$^$9!#(BsuEXEC $B$K4X$9$k(B "$B%P%0(B"
  495.     $B$rJs9p$9$kA0$K$3$l$i$r3NG'$7$F$/$@$5$$!#(B</p>
  496.  
  497.     <ul>
  498.       <li><strong>suEXEC $B$N6=L#?<$$E@(B</strong></li>
  499.  
  500.       <li>$B3,AX9=B$$N@)8B(B
  501.  
  502.  
  503.         <p class="indent">
  504.           $B%;%-%e%j%F%#$H8zN($NM}M3$+$i!"(BsuEXEC $B$NA4$F$N%j%/%(%9%H$O(B
  505.           $B2>A[%[%9%H$X$N%j%/%(%9%H$K$*$1$k:G>e0L$N%I%-%e%a%s%H%k!<%HFb$+!"(B
  506.           $B%f!<%6%G%#%l%/%H%j$X$N%j%/%(%9%H$K$*$1$k8D!9$N%f!<%6$N:G>e0L$N(B
  507.           $B%I%-%e%a%s%H%k!<%HFb$K;D$i$J$1$l$P$J$j$^$;$s!#(B
  508.           $BNc$($P!";M$D$N2>A[%[%9%H$r@_Dj$7$F$$$k>l9g!"(B
  509.           $B2>A[%[%9%H$N(B suEXEC $B$KM-Mx$J$h$&$K!"%a%$%s$N(B Apache
  510.           $B%I%-%e%a%s%H3,AX$N30B&$KA4$F$N2>A[%[%9%H$N%I%-%e%a%s%H%k!<%H$r(B
  511.           $B9=C[$9$kI,MW$,$"$j$^$9!#(B($BNc$O8eF|5-:\(B)
  512.         </p>
  513.       </li>
  514.  
  515.       <li>suEXEC $B$N(B PATH $B4D6-JQ?t(B
  516.  
  517.  
  518.         <p class="indent">
  519.           $B$3$l$rJQ99$9$k$N$O4m81$G$9!#$3$N;XDj$K4^$^$l$k3F%Q%9$,(B
  520.           <strong>$B?.Mj$G$-$k(B</strong>
  521.           $B%G%#%l%/%H%j$G$"$k$3$H$r3NG'$7$F$/$@$5$$!#(B
  522.           $B@$3&$+$i$N%"%/%;%9$K$h$j!"C/$+$,%[%9%H>e$G%H%m%$$NLZGO(B
  523.           $B$r<B9T$G$-$k$h$&$K$O$7$?$/$J$$$G$7$g$&!#(B
  524.         </p>
  525.       </li>
  526.  
  527.       <li>suEXEC $B%3!<%I$N2~B$(B
  528.  
  529.  
  530.         <p class="indent">
  531.           $B7+$jJV$7$^$9$,!"2?$r$d$m$&$H$7$F$$$k$+GD0.$;$:$K$3$l$r$d$k$H(B
  532.           <strong>$BBg$-$JLdBj(B</strong>$B$r0z$-5/$3$7$+$M$^$;$s!#(B
  533.           $B2DG=$J8B$jHr$1$F$/$@$5$$!#(B
  534.         </p>
  535.       </li>
  536.     </ul>
  537. </div></div><div id="footer"><p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p><p class="menu"><a href="./mod/">$B%b%8%e!<%k(B</a> | <a href="./mod/directives.html">$B%G%#%l%/%F%#%V(B</a> | <a href="./faq/">FAQ</a> | <a href="./glossary.html">$BMQ8l(B</a> | <a href="./sitemap.html">$B%5%$%H%^%C%W(B</a></p></div></body></html>