home *** CD-ROM | disk | FTP | other *** search
/ PC World 2002 September / PCWorld_2002-09_cd.bin / Komunik / apache / apache_2.0.39-win32-x86-no_ssl.msi / Data.Cab / F208713_suexec.html.ja.jis < prev    next >
Extensible Markup Language  |  2002-06-17  |  25KB  |  634 lines

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