home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2004 March / PCWMAR04.iso / Software / Resources / Apache / apache_2.0.48-win32-x86-no_ssl.exe / F254345_mod_mime.xml.ja < prev    next >
Encoding:
Text File  |  2003-04-15  |  39.2 KB  |  1,005 lines

  1.        <p>$B$3$N%3%^%s%I$O%Q!<%9;~$N?6$kIq$$$r@)8f$7$^$9!#;XDj2DG=$JB0@-$O(B:</p>
  2.  
  3.         <dl>
  4.           <dt><strong>errmsg</strong></dt>
  5.  
  6.           <dd>$BCM$O%I%-%e%a%s%H$N%Q!<%9;~$K%(%i!<$,H/@8$7$?>l9g$K(B
  7.           $B%/%i%$%"%s%H$KAw$i$l$k%a%C%;!<%8$G$9!#(B</dd>
  8.  
  9.           <dt><strong>sizefmt</strong></dt>
  10.  
  11.           <dd>$B$3$NCM$O%U%!%$%k$NBg$-$5$rI=<($9$k$H$-$K;H$o$l$k%U%)!<%^%C%H$r(B
  12.           $B@_Dj$7$^$9!#M-8z$JCM$O%P%$%HC10L$GI=<($9$k(B <code>bytes</code> $B$H!"(B
  13.           $B>u67$K1~$8$F(B Kb $B$d(B Mb $B$r;H$&(B <code>abbrev</code> $B$G$9!#(B</dd>
  14.  
  15.           <dt><strong>timefmt</strong></dt>
  16.  
  17.           <dd>$BCM$OF|IU$rI=<($9$k$H$-$K(B <code>strftime(3)</code> $B%i%$%V%i%j4X?t$,(B
  18.           $B;H$&J8;zNs$G$9!#(B</dd>
  19.         </dl>
  20.       </dd>
  21.  
  22.       <dt><strong><a name="echo">echo</a></strong></dt>
  23.  
  24.       <dd>
  25.         <p>$B$3$N%3%^%s%I$O0J2<$GDj5A$5$l$F$$$k(B <a href="#includevars">include
  26.         $BJQ?t(B</a> $B$rI=<($7$^$9!#JQ?t$,@_Dj$5$l$F$$$J$$>l9g$O(B <code>(none)</code>
  27.         $B$HI=<($5$l$^$9!#F|IU$O$=$N;~E@$G$N(B <code>timefmt</code> $B$K=>$C$F(B
  28.         $BI=<($5$l$^$9!#(B</p>
  29.  
  30.         <p>$BB0@-(B:</p> 
  31.  
  32.         <dl>
  33.           <dt><strong>var</strong></dt>
  34.  
  35.           <dd>$BCM$OI=<($9$kJQ?t$NL>A0$G$9!#(B</dd>
  36.  
  37.           <dt><strong>encoding</strong></dt>
  38.  
  39.           <dd>Apache $B$,JQ?t$r=PNO$9$kA0$K!"FCJL$JJ8;z$r%(%s%3!<%I$9$k(B
  40.           $BJ}K!$r;XDj$7$^$9!#(B"none" $B$K@_Dj$5$l$F$$$k$H!"%(%s%3!<%I$O9T$J$o$l$^$;$s!#(B
  41.           "url" $B$K@_Dj$5$l$F$$$k$H!"(BURL $B%(%s%3!<%I(B (%-$B%(%s%3!<%I$H$b(B
  42.           $B8F$P$l$F$$$^$9!#$3$l$O%j%s%/$N(B URL $B$G$N;HMQ$KE,$7$F$$$^$9(B) $B$,(B
  43.           $B9T$J$o$l$^$9!#(B<code>echo</code> $BMWAG$N3+;O;~$O!"%G%U%)%k%H$O(B
  44.           "entity" $B$K@_Dj$5$l$F$$$^$9!#$3$l$O%(%s%F%#%F%#%(%s%3!<%I(B
  45.           ($BCJMn$d%F%-%9%H$J$I$N%V%m%C%/%l%Y%k$N(B HTML $B%(%l%a%s%H$N%3%s%F%-%9%H$K(B
  46.           $BE,$7$F$$$^$9(B) $B$r9T$J$$$^$9!#$3$l$O(B <code>encoding</code> $BB0@-(B
  47.           $B$r2C$($k$3$H$GJQ99$G$-$^$9!#JQ99$O<!$N(B <code>encoding</code> $BB0@-$+!"(B
  48.           $BMWAG$N=*N;$^$G8zNO$r;}$A$^$9!#(B<code>encoding</code> $BB0@-$O(B
  49.           $B%(%s%3!<%I$NJQ99$r$7$?$$(B <code>var</code> $B$N(B<em>$BA0$K(B</em> $B$"$k(B
  50.           $BI,MW$,$"$k$3$H$KCm0U$7$F$/$@$5$$!#$^$?!"(BISO-8859-1 $B%(%s%3!<%G%#%s%0$G(B
  51.           $BDj5A$5$l$F$$$kFCJL$JJ8;z$@$1$,%(%s%3!<%I$5$l$^$9!#(B
  52.           $BJL$NJ8;z$N%(%s%3!<%G%#%s%0$,;H$o$l$F$$$k>l9g!"$3$N%(%s%3!<%G%#%s%0$O(B
  53.           $BK>$_$N7k2L$r$b$?$i$5$J$$$+$b$7$l$^$;$s!#$3$l$O!"(BApache 1.3.12 $B0J9_(B
  54.           $B$G;HMQ2DG=$G$9!#0JA0$N%P!<%8%g%s$O%(%s%3!<%I$r9T$J$$$^$;$s!#(B</dd>
  55.         </dl>
  56.       </dd>
  57.  
  58.       <dt><strong>exec</strong></dt>
  59.  
  60.       <dd>
  61.         <p>exec $B%3%^%s%I$O;XDj$5$l$?%7%'%k%3%^%s%I$d(B CGI $B%9%/%j%W%H$r(B
  62.         $B<B9T$7$^$9!#(B<module>mod_cgi</module> $B$,%5!<%P$KAH$_9~$^$l$F$$$k$3$H$,(B
  63.         $BI,MW$G$9!#(BIncludesNOEXEC <directive
  64.         module="core">Option</directive> $B$O$3$N%3%^%s%I$rL58z$K$7$^$9!#(B
  65.         $B;HMQ2DG=$JB0@-$O(B:</p>
  66.  
  67.         <dl>
  68.           <dt><strong>cgi</strong></dt>
  69.  
  70.           <dd>
  71.             <p>$BCM$O(B (%-$B%(%s%3!<%I$5$l$?(B) URL $B$r;XDj$7$^$9!#%Q%9$,(B
  72.             $B%9%i%C%7%e(B (/) $B$G;O$^$i$J$$$H$-$O!"%I%-%e%a%s%H$+$i$N(B
  73.             $BAjBP%Q%9$H$7$F07$o$l$^$9!#$3$N%Q%9$G;2>H$5$l$F$$$k%I%-%e%a%s%H$O(B
  74.             $B%5!<%P$,(B CGI $B%9%/%j%W%H$H$7$F07$C$F$$$J$/$F$b(B CGI $B%9%/%j%W%H$H$7$F(B
  75.             $B5/F0$5$l$^$9!#$?$@$7!"%9%/%j%W%H$N$"$k%G%#%l%/%H%j$G$O(B
  76.             (<directive module="mod_alias">ScriptAlias</directive>
  77.             $B$d(B ExecCGI <directive module="core">Option</directive> $B$K$h$C$F(B)
  78.             CGI $B%9%/%j%W%H$N;HMQ$,5v2D$5$l$F$$$kI,MW$,$"$j$^$9!#(B</p>
  79.  
  80.             <p>CGI $B%9%/%j%W%H$K$O(B PATH_INFO $B$H%/%i%$%"%s%H$+$i$N(B
  81.             $B85!9$N%j%/%(%9%H$N%/%(%j!<J8;zNs$,EO$5$l$^$9!#%9%/%j%W%H$OI8=`(B
  82.             <a href="mod_cgi.html">CGI</a> $B4D6-$K2C$($F!"(Binclude $BJQ?t$r(B
  83.             $B;HMQ$9$k$3$H$,$G$-$^$9!#(B</p>
  84.  
  85.             <p>$BNc$($P(B:</p>
  86.  
  87.   <example><!--#exec cgi="/cgi-bin/example.cgi" --></example>
  88.  
  89.             <p>$B%9%/%j%W%H$,=PNO$NBe$o$j$K(B Location: $B%X%C%@$rJV$9$H!"(B
  90.             HTML $B$N%"%s%+!<$KJQ49$5$l$^$9!#(B</p>
  91.  
  92.             <p><code>exec cgi</code> $B$h$j$b!"(B
  93.             <code><a href="#includevirtual">include virtual</a></code>
  94.             $B$NJ}$r;H$&$h$&$K$7$F$/$@$5$$!#FC$K!"(BCGI $B$X$NDI2C$N0z?t$r(B
  95.             $B%/%(%j!<J8;zNs$r;H$C$FEO$9$3$H$O(B <code>exec cgi</code> $B$O(B
  96.             $B$G$-$^$;$s$,!"(B<code>include virtual</code> $B$O0J2<$N$h$&$K$7$F(B
  97.             $B2DG=$G$9!#(B</p>
  98.  
  99.   <example>
  100.   <!--#include virtual="/cgi-bin/example.cgi?argument=value" -->
  101.   </example>
  102.  
  103.           </dd>
  104.  
  105.           <dt><strong>cmd</strong></dt>
  106.  
  107.           <dd>
  108.           <p>$B%5!<%P$O;XDj$5$l$?J8;zNs$r(B <code>/bin/sh</code> $B$r;H$C$F(B
  109.           $B<B9T$7$^$9!#%3%^%s%I$ODL>o$N(B CGI $BJQ?t$K2C$($F(B <a
  110.           href="#includevars">include $BJQ?t(B</a>$B$b;H$&$3$H$,$G$-$^$9!#(B</p>
  111.  
  112.         <p>$B$[$H$s$I$$$D$b!"(B<code><a href="#includevirtual">#include 
  113.         virtual</a></code> $B$r;H$&J}$,(B <code>#exec cgi</code> $B$d(B <code>#exec
  114.         cmd</code> $B$r;H$&$h$j$bNI$$J}K!$G$9!#A0<T(B (<code>#include virtual</code>)
  115.         $B$OI8=`$N(B Apache $B$N%5%V%j%/%(%9%H5!9=$r;H$C$F%U%!%$%k$d%9%/%j%W%H$N(B
  116.         $B=PNO$r<h$j9~$_$^$9!#$=$NJ}K!$NJ}$,$h$j$?$/$5$s;n$5$l!"(B
  117.         $B$h$/0];}$5$l$F$$$^$9!#(B</p>
  118.  
  119.           <p>$B$5$i$K!"(BWin32 $B$N$h$&$J$$$/$D$+$N%W%i%C%H%U%)!<%`$d!"(Bsuexec
  120.           $B$r;H$C$F$$$k(B unix $B$G$O!"(B<code>exec</code> $B%G%#%l%/%F%#%V$N%3%^%s%I$K(B
  121.           $B0z?t$rEO$7$?$j!"%3%^%s%I$K6uGr$rF~$l$k$3$H$O$G$-$^$;$s!#(B
  122.           $B$G$9$+$i!"0J2<$N$b$N$O(B unix $B$N(B suexec $B$G$J$$@_Dj$G$OF0:n$7$^$9$,!"(B
  123.           Win32 $B$d(B suexec $B$r;H$C$F$$$k(B unix $B$G$O4|BT$7$?7k2L$K$O$J$j$^$;$s(B:</p>
  124.  
  125.    <example>
  126.    <!--#exec cmd="perl /path/to/perlscript arg1 arg2" -->
  127.    </example>
  128.  
  129.           </dd>
  130.         </dl>
  131.       </dd>
  132.  
  133.       <dt><strong>fsize</strong></dt>
  134.  
  135.       <dd>
  136.         <p>$B$3$N%3%^%s%I$O;XDj$5$l$?%U%!%$%k$NBg$-$5$r(B <code>sizefmt</code> $B$N(B
  137.         $B=q<0;XDj$K4p$E$$$F=PNO$7$^$9!#B0@-$O(B:</p>
  138.  
  139.         <dl>
  140.           <dt><strong>file</strong></dt>
  141.  
  142.           <dd>$BCM$O2r@O$5$l$F$$$k%I%-%e%a%s%H$NB8:_$9$k%G%#%l%/%H%j$+$i$N(B
  143.           $BAjBP%Q%9$G$9!#(B</dd>
  144.  
  145.           <dt><strong>virtual</strong></dt>
  146.  
  147.           <dd> $BCM$O(B (% $B%(%s%3!<%I$5$l$?(B) URL-path $B$G$9!#%9%i%C%7%e(B (/) $B$G(B
  148.           $B;O$^$i$J$$$H$-$O%I%-%e%a%s%H$+$i$NAjBP%Q%9$H$7$F07$o$l$^$9!#(B</dd>
  149.  
  150.         </dl>
  151.       </dd>
  152.  
  153.       <dt><strong>flastmod</strong></dt>
  154.  
  155.       <dd>$B$3$N%3%^%s%I$O;XDj$5$l$?%U%!%$%k$N:G=*=$@5;~9o$r(B
  156.       <code>timefmt</code> $B=q<0;XDj$K=>$C$FI=<($7$^$9!#(B
  157.       $B;XDj2DG=$JB0@-$O(B <code>fsize</code> $B%3%^%s%I$HF1$8$G$9!#(B</dd>
  158.  
  159.       <dt><strong>include</strong></dt>
  160.  
  161.       <dd>
  162.         <p>$B$3$N%3%^%s%I$OJL$NJ8=q$d%U%!%$%k$N%F%-%9%H$r2r@O$7$F$$$k%U%!%$%k$K(B
  163.         $BA^F~$7$^$9!#A^F~$5$l$k%U%!%$%k$O%"%/%;%9@)8f$N4IM}2<$K$"$j$^$9!#(B
  164.         $B2r@O$7$F$$$k%U%!%$%k$NB8:_$9$k%G%#%l%/%H%j$K(B
  165.         <a href="core.html#options">Option</a> IncludesNOEXEC $B$,(B
  166.         $B@_Dj$5$l$F$$$F!"J8=q$NA^F~$K$h$j%W%m%0%i%`$,<B9T$5$l$k$h$&$J>l9g$O!"(B
  167.         $B$=$NJ8=q$OA^F~$5$l$^$;$s!#$=$N(B Option $B$N@_Dj$O(B CGI $B%9%/%j%W%H$N<B9T$r(B
  168.         $B6X;_$9$k$+$i$G$9!#$=$NB>$N>l9g$O!"(B
  169.         $B%/%(%j!<J8;zNs$b4^$a!"%3%^%s%I$G;XDj$5$l$?(B
  170.         $B40A4$J(B URL $B$r;H$C$FIaDL$K(B CGI $B%9%/%j%W%H$,8F$S=P$5$l$^$9!#(B</p>
  171.  
  172.         <p>$BB0@-$,J8=q$N0LCV$r;XDj$7$^$9!#(Binclude $B%3%^%s%I$KM?$($i$l$?$=$l$>$l$N(B
  173.         $BB0@-$KBP$7$FA^F~:n6H$,9T$J$o$l$^$9!#M-8z$JB0@-$O(B:</p>
  174.  
  175.         <dl>
  176.           <dt><strong>file</strong></dt>
  177.  
  178.           <dd>$BCM$O2r@O$5$l$F$$$k%I%-%e%a%s%H$NB8:_$9$k%G%#%l%/%H%j$+$i$N(B
  179.           $BAjBP%Q%9$G$9!#(B
  180.           <code>../</code> $B$r4^$s$G$$$?$j!"@dBP%Q%9$r;XDj$7$?$j$O$G$-$^$;$s!#(B
  181.           $B$G$9$+$i!"%I%-%e%a%s%H%k!<%H$N30$K$"$k%U%!%$%k$d!"%G%#%l%/%H%j9=B$$G(B
  182.           $B>e0L$K$"$k%U%!%$%k$rA^F~$9$k$3$H$O$G$-$^$;$s!#(B
  183.           $B>o$K$3$NB0@-$h$j$O!"(B<code>virtual</code> $BB0@-$r;H$&$h$&$K$7$F$/$@$5$$!#(B
  184.           </dd>
  185.  
  186.           <dt><strong><a name="includevirtual">virtual</a></strong></dt>
  187.  
  188.          <dd>
  189.           <p>$BCM$O2r@O$5$l$F$$$k%I%-%e%a%s%H$+$i$N(B (% $B%(%s%3!<%I$5$l$?(B) URL
  190.           $B$G$9!#(BURL $B$K$O%9%-!<%`$d%[%9%HL>$r4^$a$k$3$H$O$G$-$^$;$s!#%Q%9$H!"(B
  191.           $B$b$7$"$l$P%/%(%j!<J8;zNs$r;XDj$G$-$k$@$1$G$9!#%9%i%C%7%e(B (/) $B$+$i(B
  192.           $B;O$^$i$J$$>l9g$O!"%I%-%e%a%s%H$+$i$NAjBP%Q%9$H$7$F07$o$l$^$9!#(B</p>
  193.  
  194.           <p>URL $B$OB0@-$+$i:n$i$l!"$=$N(B URL $B$r%/%i%$%"%s%H$,%"%/%;%9$7$?$H$-$K(B
  195.           $B=PNO$5$l$kFbMF$,2r@O8e$N=PNO$K4^$a$i$l$^$9!#$G$9$+$i!"A^F~$5$l$k(B
  196.           $B%U%!%$%k$OF~$l;R9=B$$K$9$k$3$H$,$G$-$^$9!#(B</p>
  197.  
  198.           <p>$B;XDj$5$l$?(B URL $B$,(B CGI $B%W%m%0%i%`$G$"$C$?>l9g$O!"(B
  199.           $B%W%m%0%i%`$,<B9T$5$l!"$=$N=PNO$,2r@O$7$F$$$k%U%!%$%kCf$N(B
  200.           $B%G%#%l%/%F%#%V$,$"$C$?0LCV$KA^F~$5$l$^$9!#(BCGI $B$N(B url $B$K(B
  201.           $B%/%(%j!<(B URL $B$rF~$l$k$3$H$b$G$-$^$9(B:</p>
  202.  
  203.      <example>
  204.      <!--#include virtual="/cgi-bin/example.cgi?argument=value" -->
  205.      </example>
  206.            
  207.            <p>HTML $B%I%-%e%a%s%H$K(B CGI $B%W%m%0%i%`$N=PNO$r4^$a$kJ}K!$H$7$F$O!"(B
  208.            <code>include virtual</code> $B$NJ}$,(B <code>exec cgi</code> $B$h$j$b(B
  209.            $B9%$^$7$$J}K!$G$9!#(B</p>
  210.           </dd>
  211.         </dl>
  212.       </dd>
  213.  
  214.       <dt><strong>printenv</strong></dt>
  215.  
  216.       <dd>
  217.       <p>$B$3$l$O!"B8:_$9$k$9$Y$F$NJQ?t$H$=$NCM$rI=<($7$^$9!#(BApache 1.3.12 $B$+$i!"(B
  218.       $BFCJL$JJ8;z$O=PNO$5$l$kA0$K%(%s%F%#%F%#%(%s%3!<%I(B ($B>\:Y$O(B <a
  219.       href="#echo"><code>echo</code></a> $BMWAG$r;2>H(B) $B$5$l$k$h$&$K$J$j$^$7$?!#(B
  220.       $BB0@-$O$"$j$^$;$s!#(B</p>
  221.  
  222.       <p>$BNc$($P(B:</p>
  223.  
  224.       <example>
  225.       <!--#printenv -->
  226.       </example>
  227.  
  228.       <p><strong>printenv</strong> $BMWAG$O(B Apache 1.2 $B0J9_$G$N$_;HMQ2DG=$G$9!#(B</p>
  229.     </dd>
  230.       <dt><strong>set</strong></dt>
  231.  
  232.       <dd>
  233.         $B$3$l$OJQ?t$NCM$r@_Dj$7$^$9!#B0@-$O(B:
  234.  
  235.         <dl>
  236.           <dt><strong>var</strong></dt>
  237.  
  238.           <dd>$B@_Dj$9$kJQ?t$NL>A0!#(B</dd>
  239.  
  240.           <dt><strong>value</strong></dt>
  241.  
  242.           <dd>$BJQ?t$K@_Dj$9$kCM!#(B</dd>
  243.         </dl>
  244.         <p>$BNc$($P(B:</p>
  245.         
  246.         <example>
  247.         <!--#set var="category" value="help" -->
  248.         </example>
  249.  
  250.       <p><strong>set</strong> $BMWAG$O(B Apache 1.2 $B0J9_$G$N$_;HMQ2DG=$G$9!#(B</p>
  251.       </dd>
  252.     </dl>
  253. </section>
  254.  
  255. <section id="includevars">
  256.     <title>Include $BJQ?t(B</title>
  257.  
  258.     <p>$BI8=`(B CGI $B4D6-$NJQ?t$K2C$($F!"(B<code>echo</code> $B%3%^%s%I$d!"(B
  259.     <code>if</code> $B$d(B <code>elif</code>, $B$=$l$K%I%-%e%a%s%H$+$i8F$S=P$5$l$k(B
  260.     $B$9$Y$F$N%W%m%0%i%`$+$i;HMQ$G$-$kJQ?t$,$"$j$^$9!#(B</p>
  261.  
  262.     <dl>
  263.       <dt>DATE_GMT</dt>
  264.  
  265.       <dd>$B%0%j%K%C%8I8=`;~$K$h$k8=:_;~9o!#(B</dd>
  266.  
  267.       <dt>DATE_LOCAL</dt>
  268.  
  269.       <dd>$B%m!<%+%k$NI8=`;~$K$h$k8=:_;~9o!#(B</dd>
  270.  
  271.       <dt>DOCUMENT_NAME</dt>
  272.  
  273.       <dd>$B%f!<%6$,%j%/%(%9%H$7$?(B ($B%G%#%l%/%H%j$r=|$$$?(B) $B%U%!%$%kL>!#(B</dd>
  274.  
  275.       <dt>DOCUMENT_URI</dt>
  276.  
  277.       <dd>$B%f!<%6$,%j%/%(%9%H$7$?(B (% $B%(%s%3!<%I$5$l$?(B) URL-path$B!#(B
  278.       $BA^F~%U%!%$%k$,F~$l;R$K$J$C$F$$$k>l9g$O!"2r@O$5$l$F$$$k(B
  279.      $B%I%-%e%a%s%H$N(B URL $B$G$O(B<em>$B$J$$(B</em>$B$3$H$KCm0U$7$F$/$@$5$$!#(B</dd>
  280.  
  281.       <dt>LAST_MODIFIED</dt>
  282.  
  283.       <dd>$B%f!<%6$,%j%/%(%9%H$7$?%I%-%e%a%s%H$N:G=*=$@5;~9o!#(B</dd>
  284.     </dl>
  285. </section>
  286.  
  287. <section>
  288.     <title>$BJQ?tCV49(B</title>
  289.  
  290.     <p>$BJQ?tCV49$O$?$$$F$$$N>l9g(B SSI $B%G%#%l%/%F%#%V$N0z?t$H$7$FBEEv$J>l=j$K$"$k(B
  291.     $B0zMQId$G0O$^$l$?J8;zNsCf$G9T$J$o$l$^$9!#$3$l$K3:Ev$9$k$b$N$K$O!"(B
  292.     <code>config</code>,
  293.     <code>exec</code>, <code>flastmod</code>, <code>fsize</code>,
  294.     <code>include</code>, <code>echo</code>, <code>set</code> $B$N(B
  295.     $B3F%G%#%l%/%F%#%V$H!">r7oJ,4tMQ$N%*%Z%l!<%?$X$N0z?t$,$"$j$^$9!#(B
  296.     $B%I%k5-9f$O%P%C%/%9%i%C%7%e$r;H$&$3$H$G;H$&$3$H$,$G$-$^$9(B:</p>
  297.  
  298. <example>
  299.     <!--#if expr="$a = \$test" -->
  300. </example>
  301.  
  302.     <p>$BJQ?tL>$H$7$F$_$J$5$l$kJ8;zNs$NCf$GJQ?t$X$N;2>H$rCV49$9$kI,MW$,$"$k$H$-$O!"(B
  303.     $B%7%'%k$G$NJQ?tCV49$N$h$&$K!"Cf3g8L$G3g$k$3$H$G6hJL$9$k$3$H$,$G$-$^$9(B:</p>
  304.  
  305. <example>
  306.     <!--#set var="Zed" value="${REMOTE_HOST}_${REQUEST_METHOD}" -->
  307. </example>
  308.  
  309.     <p>$B$3$NNc$G$O!"(B<code>REMOTE_HOST</code> $B$,(B
  310.     "<code>X</code>" $B$G(B <code>REQUEST_METHOD</code> $B$,(B
  311.     "<code>Y</code>" $B$N$H$-$KJQ?t(B <code>Zed</code> $B$r(B "<code>X_Y</code>"
  312.     $B$K@_Dj$7$^$9!#(B</p>
  313.  
  314.     <p>$BNc(B: $B0J2<$NNc$G$O!"(BDOCUMENT_URI $B$,(B /foo/file.html $B$N$H$-$K(B
  315.     "in foo" $B$r!"(B/bar/file.html $B$N$H$-$K(B "in bar" $B$r!"$I$A$i$G$b$J$$$H$-$K$O(B
  316.     "in neither" $B$rI=<($7$^$9(B:</p>
  317.  
  318. <example>
  319.     <!--#if expr="\"$DOCUMENT_URI\" = \"/foo/file.html\"" --><br />
  320.       in foo<br />
  321.     <!--#elif expr="\"$DOCUMENT_URI\" = \"/bar/file.html\"" --><br />
  322.       in bar<br />
  323.     <!--#else --><br />
  324.       in neither<br />
  325.     <!--#endif -->
  326. </example>
  327. </section>
  328.  
  329. <section id="flowctrl">
  330.     <title>$B%U%m!<@)8fMQMWAG(B</title>
  331.  
  332.     <p>Apache 1.2 $B0J9_$G;HMQ$G$-$^$9!#4pK\%U%m!<@)8fMWAG$O(B:</p>
  333.  
  334. <example>
  335.     <!--#if expr="<em>test_condition</em>" --><br />
  336.     <!--#elif expr="<em>test_condition</em>" --><br />
  337.     <!--#else --><br />
  338.     <!--#endif -->
  339. </example>
  340.  
  341.     <p><strong><code>if</code></strong> $BMWAG$O%W%m%0%i%_%s%08@8l$N(B
  342.     if $BJ8$HF1$8$h$&$KF0:n$7$^$9!#>r7o$,I>2A$5$l!"7k2L$,??$G$"$l$P(B
  343.     <strong><code>elif</code></strong> $B$+(B
  344.     <strong><code>else</code></strong> $B$+(B <strong><code>endif</code></strong>
  345.     $B$^$G$NJ8;zNs$,=PNO$KA^F~$5$l$^$9!#(B</p>
  346.  
  347.     <p><strong><code>elif</code></strong> $B$d(B <strong><code>else</code></strong>
  348.     $BJ8$O(B test_condition $B$,56$N$H$-$K%F%-%9%H$r=PNO$KA^F~$9$k$?$a$K;H$o$l$^$9!#(B
  349.     $B$3$l$i$NMWAG$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</p>
  350.  
  351.     <p><strong><code>endif</code></strong> $BMWAG$O(B <strong><code>if</code></strong>
  352.     $BMWAG$r=*N;$5$;$^$9!#$3$NMWAG$OI,?\$G$9!#(B</p>
  353.  
  354.     <p><em>test_condition</em> $B$O0J2<$N$I$l$+$G$9(B:</p>
  355.  
  356.     <dl>
  357.       <dt><em>string</em></dt>
  358.  
  359.       <dd><em>string</em> $B$,6u$G$J$$>l9g$K??$G$9(B</dd>
  360.  
  361.       <dt><em>string1</em> = <em>string2</em><br />
  362.        <em>string1</em> != <em>string2</em><br />
  363.        <em>string1</em> < <em>string2</em><br />
  364.        <em>string1</em> <= <em>string2</em><br />
  365.        <em>string1</em> > <em>string2</em><br />
  366.        <em>string1</em> >= <em>string2</em></dt>
  367.  
  368.       <dd>string1 $B$H(B string2 $B$rHf3S$7$^$9!#(Bstring2 $B$,(B <em>/string/</em>
  369.       $B$H$$$&7A<0$G$"$l$P!"@55,I=8=$H$7$FHf3S$5$l$^$9!#@55,I=8=$O(B
  370.       Unix $B$N(B <code>egrep</code> $B%3%^%s%I$HF1$89=J8$G$9!#(B</dd>
  371.  
  372.       <dt>( <em>test_condition</em> )</dt>
  373.  
  374.       <dd><em>test_condition</em> $B$,??$N$H$-$K??$G$9(B</dd>
  375.  
  376.       <dt>! <em>test_condition</em></dt>
  377.  
  378.       <dd><em>test_condition</em> $B$,56$N$H$-$K??$G$9(B</dd>
  379.  
  380.       <dt><em>test_condition1</em> &&
  381.       <em>test_condition2</em></dt>
  382.  
  383.       <dd><em>test_condition1</em> $B$H(B
  384.       <em>test_condition2</em> $B$NN>J}$,??$N$H$-$K??$G$9(B</dd>
  385.  
  386.       <dt><em>test_condition1</em> || <em>test_condition2</em></dt>
  387.  
  388.       <dd><em>test_condition1</em> $B$H(B
  389.       <em>test_condition2</em> $B$N$I$A$i$+$,??$N$H$-$K??$G$9(B</dd>
  390.     </dl>
  391.  
  392.     <p>"<em>=</em>" $B$H(B "<em>!=</em>" $B$NJ}$,(B "<em>&&</em>" $B$h$j(B
  393.     $B$-$D$/B+G{$7$^$9!#(B"<em>!</em>" $B$NB+G{$,0lHV$-$D$/$J$C$F$$$^$9!#(B
  394.     $B$G$9$+$i0J2<$NFs$D$OEy2A$G$9(B:</p>
  395.  
  396. <example>
  397.     <!--#if expr="$a = test1 && $b = test2" --><br />
  398.     <!--#if expr="($a = test1) && ($b = test2)" -->
  399. </example>
  400.  
  401.     <p>$BJQ?t$d%*%Z%l!<%?$H$7$FG'<1$5$l$J$$$b$N$O$9$Y$FJ8;zNs$H$7$F(B
  402.     $B07$o$l$^$9!#J8;zNs$O0zMQId$G0O$`$3$H$b$G$-$^$9(B: <em>'string'</em>
  403.     $B$N$h$&$K!#0zMQId$G0O$^$l$F$$$J$$J8;zNs$K$O6uGr(B ($B%9%Z!<%9$H%?%V(B)
  404.     $B$r4^$a$k$3$H$O$G$-$^$;$s!#$=$l$i$OJQ?t$J$I$N6g$rJ,N%$9$k$?$a$K(B
  405.     $B;H$o$l$F$$$k$+$i$G$9!#J#?t$NJ8;zNs$,B3$$$F$$$k$H$-$O!"(B
  406.     $B6uGr$r4V$KF~$l$F0l$D$K$/$C$D$1$i$l$^$9!#$G$9$+$i!"(B</p>
  407.  
  408. <example>
  409.     <pre><em>string1    string2</em>  $B$O(B <em>string1 string2</em> $B$K$J$j$^$9(B</pre>
  410.     <pre><em>'string1    string2'</em> $B$O(B <em>string1    string2</em> $B$K$J$j$^$9(B</pre>
  411. </example>
  412.  
  413. </section>
  414.  
  415. <section>
  416.     <title>ErrorDocuments $B$G(B Server Side Includes $B$r;H$&(B</title>
  417.  
  418.     <p>mod_include $B$N5!G=$r;H$C$F!"9q:]2=$5$l!"%+%9%?%^%$%:$5$l$?%(%i!<(B
  419.     $B%I%-%e%a%s%H$rDs6!$9$k$?$a$NJ}K!$r@bL@$7$?(B
  420.     <a href="../misc/custom_errordocs.html">$BJ8=q(B</a>$B$,$"$j$^$9!#(B</p>
  421.  
  422. </section>
  423.  
  424. <section><title>Server Side Includes $B$G$N(B PATH_INFO</title>
  425.  
  426.     <p>server-side includes $B$G=hM}$5$l$k%U%!%$%k$O(B PATH_INFO
  427.     ($B8e$KIU$$$?%Q%9L>$N>pJs(B) $BIU$-$N%j%/%(%9%H$r<u$1IU$1$J$/$J$j$^$7$?!#(B
  428.     PATH_INFO $B$NIU$$$?%j%/%(%9%H$r<u$1IU$1$k$h$&$K@_Dj$9$k$?$a$K!"(B<directive
  429.     module="core">AcceptPathInfo</directive> $B%G%#%l%/%F%#%V$r(B
  430.     $B;H$&$3$H$,$G$-$^$9!#(B</p>
  431.  
  432. </section>
  433.  
  434. <directivesynopsis>
  435. <name>SSIEndTag</name>
  436. <description>include $BMWAG$r=*N;$5$;$kJ8;zNs(B</description>
  437. <syntax>SSIEndTag <em>tag</em></syntax>
  438. <default>SSIEndTag "-->"</default>
  439. <contextlist><context>server config</context>
  440. <context>virtual host</context></contextlist>
  441. <compatibility>$B%P!<%8%g%s(B 2.0.30 $B0J9_$G;HMQ2DG=!#(B
  442. </compatibility>
  443.  
  444. <usage>
  445.     <p>$B$3$N%G%#%l%/%F%#%V$O(B mod_include $B$,C5$9!"(Binclude $BMWAG$N=*N;$r<($9(B
  446.     $BJ8;zNs$rJQ99$7$^$9!#(B</p>
  447.  
  448.     <example>
  449.     <title>$BNc(B</title>
  450.     SSIEndTag "%>"
  451.     </example>
  452.  
  453. </usage>
  454. <seealso><directive module="mod_include">SSIStartTag</directive></seealso>
  455. </directivesynopsis>
  456.  
  457. <directivesynopsis>
  458. <name>SSIUndefinedEcho</name>
  459. <description>$BL$Dj5A$NJQ?t$,(B echo $B$5$l$?$H$-$KI=<($5$l$kJ8;zNs(B</description>
  460. <syntax>SSIUndefinedEcho <em>tag</em></syntax>
  461. <default>SSIUndefinedEcho "(none)"</default>
  462. <contextlist><context>server config</context>
  463. <context>virtual host</context></contextlist>
  464. <compatibility>$B%P!<%8%g%s(B 2.0.34 $B0J9_$G;HMQ2DG=!#(B
  465. </compatibility>
  466.  
  467. <usage>
  468.     <p>$B$3$N%G%#%l%/%F%#%V$OJQ?t$,Dj5A$5$l$F$$$J$$$K$b4X$o$i$:(B
  469.     "echo" $B$5$l$?$H$-$K(B mod_include $B$,I=<($9$kJ8;zNs$r(B
  470.     $BJQ99$7$^$9!#(B</p>
  471.  
  472.     <example>
  473.     <title>$BNc(B</title>
  474.     SSIUndefinedEcho "<!-- undef -->"
  475.     </example>
  476.  
  477. </usage>
  478. </directivesynopsis>
  479.  
  480. <directivesynopsis>
  481. <name>SSIErrorMsg</name>
  482. <description>SSI $B$N%(%i!<$,$"$C$?$H$-$KI=<($5$l$k%(%i!<%a%C%;!<%8(B</description>
  483. <syntax>SSIErrorMsg <em>message</em></syntax>
  484. <default>SSIErrorMsg 
  485. "[an error occurred while processing this directive]"</default>
  486. <contextlist>
  487. <context>server config</context>
  488. <context>virtual host</context>
  489. <context>directory</context>
  490. <context>.htaccess</context>
  491. </contextlist>
  492. <override>All</override>
  493. <compatibility>$B%P!<%8%g%s(B 2.0.30 $B0J9_$G;HMQ2DG=(B</compatibility>
  494.  
  495. <usage>
  496.     <p>SSIErrorMsg $B%G%#%l%/%F%#%V$O(B mod_include $B$,%(%i!<$,5/$3$C$?$H$-$K(B
  497.     $BI=<($9$k%a%C%;!<%8$rJQ99$7$^$9!#%W%m%@%/%7%g%s%5!<%P$G$O(B
  498.     $B%a%C%;!<%8$,%f!<%6$KI=<($5$l$J$$$h$&$K$9$k$?$a$K(B
  499.     $B%G%U%)%k%H%(%i!<%a%C%;!<%8$r(B <code>"<!-- Error -->"</code>
  500.     $B$KJQ$($k$H$$$&$h$&$J$3$H$r9M$($k$+$b$7$l$^$;$s!#(B</p>
  501.  
  502.     <p>$B$3$N%G%#%l%/%F%#%V$O(B <code><!--#config
  503.     errmsg=<em>message</em> --></code> $BMWAG$HF1$88z2L$K$J$j$^$9!#(B</p>
  504.  
  505.     <example>
  506.     <title>$BNc(B</title>
  507.     SSIErrorMsg "<!-- Error -->"
  508.     </example>
  509.  
  510. </usage>
  511. </directivesynopsis>
  512.  
  513. <directivesynopsis>
  514. <name>SSIStartTag</name>
  515. <description>include $BMWAG$r3+;O$9$kJ8;zNs(B</description>
  516. <syntax>SSIStartTag <em>tag</em></syntax>
  517. <default>SSIStartTag "<!--"</default>
  518. <contextlist>
  519. <context>server config</context>
  520. <context>virtual host</context>
  521. </contextlist>
  522. <compatibility>$B%P!<%8%g%s(B 2.0.30 $B0J9_$G;HMQ2DG=!#(B</compatibility>
  523.  
  524. <usage>
  525.  
  526.     <p>$B$3$N%G%#%l%/%F%#%V$O(B mod_include $B$,C5$9!"(Binclude $BMWAG$N3+;O$r(B
  527.     $B<($9J8;zNs$rJQ99$7$^$9!#(B</p>
  528.  
  529.     <p>$BFs$D$N%5!<%P$,(B ($B$b$7$+$9$k$H0c$&$H$-$K(B) $B%U%!%$%k$N=PNO$r2r@O$7$F$$$F!"(B
  530.     $B$=$l$>$l$K0c$&%3%^%s%I$r=hM}$5$;$?$$!"(B
  531.     $B$H$$$&$h$&$J$H$-$K$3$N%*%W%7%g%s$r;H$$$^$9!#(B</p>
  532.  
  533.     <example>
  534.     <title>$BNc(B</title>
  535.     SSIStartTag "<%"
  536.     </example>
  537.  
  538.     <p>$B>e$NNc$H!"$=$l$KBP1~$9$k(B
  539.     <directive module="mod_include">SSIEndTag</directive> $B$r;H$&$H!"(B
  540.     $B2<$NNc$NMM$K$7$F(B SSI $B%G%#%l%/%F%#%V$r;H$&$3$H$,$G$-$^$9(B:</p>
  541.  
  542.     <example>
  543.     <title>$B0c$&3+;O$H=*N;$N%?%0$r;H$C$?(B SSI $B%G%#%l%/%F%#%V(B</title>
  544.     <%#printenv %>
  545.     </example>
  546.  
  547. </usage>
  548. <seealso><directive module="mod_include">SSIEndTag</directive></seealso>
  549. </directivesynopsis>
  550.  
  551. <directivesynopsis>
  552. <name>SSITimeFormat</name>
  553. <description>$BF|IU$1$r8=$9J8;zNs$N=q<0$r@_Dj$9$k(B</description>
  554. <syntax>SSITimeFormat <em>formatstring</em></syntax>
  555. <default>SSITimeFormat "%A, %d-%b-%Y %H:%M:%S %Z"</default>
  556. <contextlist>
  557. <context>server config</context>
  558. <context>virtual host</context>
  559. <context>directory</context>
  560. <context>.htaccess</context>
  561. </contextlist>
  562. <override>All</override>
  563. <compatibility>$B%P!<%8%g%s(B 2.0.30 $B0J9_$G;HMQ2DG=!#(B</compatibility>
  564.  
  565. <usage>
  566. <p>$B$3$N%G%#%l%/%F%#%V$O(B DATE $B4D6-JQ?t$r(B echo $B$7$FF|IU$r8=$9J8;zNs$,(B
  567.     $BI=<($5$l$k$H$-$N=q<0$rJQ99$7$^$9!#(B<em>formatstring</em> $B$O(B
  568.     C $BI8=`%i%$%V%i%j$N(B strftime(3) $B$HF1$87A<0$G$9!#(B</p>
  569.  
  570.     <p>$B$3$N%G%#%l%/%F%#%V$O(B <code><!--#config
  571.     timefmt=<em>formatstring</em> --></code> $BMWAG$HF1$88z2L$K$J$j$^$9!#(B</p>
  572.  
  573.     <example>
  574.     <title>$BNc(B</title>
  575.     SSITimeFormat "%R, %B %d, %Y"
  576.     </example>
  577.  
  578.     <p>$B>e$N%G%#%l%/%F%#%V$G$O!"F|IU$O(B "22:26, June 14, 2002" $B$H$$$&(B
  579.     $B7A<0$GI=<($5$l$^$9!#(B</p>
  580.  
  581. </usage>
  582. </directivesynopsis>
  583.  
  584. <directivesynopsis>
  585. <name>XBitHack</name>
  586. <description>$B<B9T%S%C%H$,@_Dj$5$l$?%U%!%$%k$N(B SSI $B%G%#%l%/%F%#%V$r(B
  587. $B2r@O$9$k(B</description>
  588. <syntax>XBitHack on|off|full</syntax>
  589. <default>XBitHack off</default>
  590. <contextlist>
  591. <context>server config</context>
  592. <context>virtual host</context>
  593. <context>directory</context>
  594. <context>.htaccess</context>
  595. </contextlist>
  596. <override>Options</override>
  597.  
  598. <usage>
  599.     <p>XBitHack $B%G%#%l%/%F%#%V$ODL>o$N(B HTML $B%I%-%e%a%s%H$N2r@O$r(B
  600.     $B@)8f$7$^$9!#$3$N%G%#%l%/%F%#%V$O(B MIME $B%?%$%W(B <code>text/html</code>
  601.     $B$H4XO"IU$1$i$l$F$$$k%U%!%$%k$K$N$_1F6A$7$^$9!#(BXBitHack $B$O(B
  602.     $B0J2<$NCM$r$H$k$3$H$,$G$-$^$9(B:</p>
  603.  
  604.     <dl>
  605.       <dt>off</dt>
  606.  
  607.       <dd>$B<B9T2DG=%U%!%$%k$KBP$7$FFCJL$J07$$$r$7$^$;$s!#(B</dd>
  608.  
  609.       <dt>on</dt>
  610.  
  611.       <dd>$B%f!<%6$N<B9T%S%C%H$,@_Dj$5$l$F$$$k(B text/html $B%U%!%$%k$,(B
  612.       SSI html $B%I%-%e%a%s%H$H$7$F07$o$l$^$9!#(B</dd>
  613.  
  614.       <dt>full</dt>
  615.  
  616.       <dd>
  617.         <code>on</code> $B$HF1MM$G$9$,!"%0%k!<%W<B9T%S%C%H$b%F%9%H$7$^$9!#(B
  618.         $B$b$7$=$l$,@_Dj$5$l$F$$$l$P!"JV$5$l$k%U%!%$%k$N(B Last-modified $B$N(B
  619.         $BF|IU$r%U%!%$%k$N:G=*=$@5;~9o$K$7$^$9!#$=$l$,@_Dj$5$l$F$$$J$$$H$-$O!"(B
  620.         last-modified $B$NF|IU$OAw$i$l$^$;$s!#$3$N%S%C%H$r@_Dj$9$k$H!"(B
  621.         $B%/%i%$%"%s%H$d%W%m%-%7$,%j%/%(%9%H$r%-%c%C%7%e$G$-$k$h$&$K$J$j$^$9!#(B
  622.  
  623.         <note><strong>$BCm0U(B:</strong> $BB>$N(B CGI $B$r(B <code>#include</code>
  624.         $B$9$k$+$b$7$l$J$$$b$N$d!"3F%"%/%;%9$KBP$7$F0c$&=PNO$r@8@.$9$k(B
  625.         ($B$b$7$/$O8e$N%j%/%(%9%H$GJQ$o$k$+$b$7$l$J$$$b$N(B)
  626.         $B$9$Y$F$N(B SSI $B%9%/%j%W%H$KBP$7$F%0%k!<%W<B9T%S%C%H$,(B
  627.         $B@_Dj$5$l$F$$$J$$$3$H$r3NG'$G$-$J$$>l9g$O!"(Bfull $B$O;H$o$J$$J}$,NI$$(B
  628.         $B$G$7$g$&!#(B</note>
  629.       </dd>
  630.     </dl>
  631.  
  632.     </usage>
  633. </directivesynopsis>
  634.  
  635. </modulesynopsis>
  636.  
  637. <?xml version="1.0" encoding="UTF-8" ?>
  638.  
  639. <metafile>
  640.   <basename>mod_include</basename>
  641.   <path>/mod/</path>
  642.   <relpath>..</relpath>
  643.  
  644.   <variants>
  645.     <variant>en</variant>
  646.     <variant>ja</variant>
  647.   </variants>
  648. </metafile>
  649. <?xml version="1.0"?>
  650. <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
  651. <?xml-stylesheet type="text/xsl" href="../style/manual.en.xsl"?>
  652. <modulesynopsis metafile="mod_info.xml.meta">
  653.  
  654. <name>mod_info</name>
  655. <description>Provides a comprehensive overview of the server
  656. configuration</description>
  657. <status>Extension</status>
  658. <sourcefile>mod_info.c</sourcefile>
  659. <identifier>info_module</identifier>
  660.  
  661. <summary>
  662.     <p>To configure <module>mod_info</module>, add the following to your
  663.     <code>httpd.conf</code> file.</p>
  664.  
  665.     <example>
  666.       <Location /server-info><br />
  667.       <indent>
  668.         SetHandler server-info<br />
  669.       </indent>
  670.       </Location>
  671.     </example>
  672.  
  673.     <p>You may wish to add a 
  674.     <directive type="section" module="core">Limit</directive> 
  675.     clause inside the 
  676.     <directive type="section" module="core">Location</directive>
  677.     directive to limit access to your server configuration 
  678.     information.</p>
  679.  
  680.     <p>Once configured, the server information is obtained by
  681.     accessing <code>http://your.host.dom/server-info</code></p>
  682.  
  683.     <note>
  684.       Note that the configuration files are read by the
  685.       module at run-time, and therefore the display may
  686.       <em>not</em> reflect the running server's active
  687.       configuration if the files have been changed since the server
  688.       was last reloaded. Also, the configuration files must be
  689.       readable by the user as which the server is running (see the
  690.       <directive module="mpm_common">User</directive> directive), or
  691.       else the directive settings will not be listed.
  692.  
  693.       <p>It should also be noted that if
  694.       <module>mod_info</module> is compiled into the server, its
  695.       handler capability is available in <em>all</em> configuration
  696.       files, including per-directory files (<em>e.g.</em>,
  697.       <code>.htaccess</code>). This may have security-related
  698.       ramifications for your site.</p>
  699.  
  700.       <p>In particular, this module can leak sensitive information
  701.       from the configuration directives of other Apache modules such as
  702.       system paths, usernames/passwords, database names, etc.  Due to
  703.       the way this module works there is no way to block information
  704.       from it.  Therefore, this module should <strong>only</strong> be
  705.       used in a controlled environment and always with caution.</p>
  706.     </note>
  707. </summary>
  708.  
  709. <directivesynopsis>
  710. <name>AddModuleInfo</name>
  711. <description>Adds additional information to the module
  712. information displayed by the server-info handler</description>
  713. <syntax>AddModuleInfo <var>module-name</var> <var>string</var></syntax>
  714. <contextlist><context>server config</context><context>virtual host</context>
  715. </contextlist>
  716. <compatibility>Apache 1.3 and above</compatibility>
  717.  
  718. <usage>
  719.     <p>This allows the content of <var>string</var> to be shown as
  720.     HTML interpreted, <strong>Additional Information</strong> for
  721.     the module <var>module-name</var>. Example:</p>
  722.  
  723.     <example>
  724.       AddModuleInfo mod_auth.c 'See <a \<br />
  725.       <indent>
  726.         href="http://www.apache.org/docs-2.0/mod/mod_auth.html">\<br />
  727.         http://www.apache.org/docs-2.0/mod/mod_auth.html</a>'
  728.       </indent>
  729.     </example>
  730. </usage>
  731.  
  732. </directivesynopsis>
  733. </modulesynopsis>
  734.  
  735. <?xml version="1.0" encoding="iso-2022-jp"?>
  736. <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
  737. <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
  738. <modulesynopsis metafile="mod_info.xml.meta">
  739. <!-- English revision: 1.9 -->
  740.  
  741. <name>mod_info</name>
  742. <description>$B%5!<%P$N@_Dj$NJq3gE*$J354Q$rDs6!$9$k(B</description>
  743. <status>Extension</status>
  744. <sourcefile>mod_info.c</sourcefile>
  745. <identifier>info_module</identifier>
  746.  
  747.  
  748. <summary>
  749.  
  750.     <p><module>mod_info</module> $B$r@_Dj$9$k$K$O!"0J2<$r(B <code>httpd.conf</code>
  751.     $B%U%!%$%k$K2C$($^$9!#(B</p>
  752.  
  753. <example>
  754. <Location /server-info><br />
  755. SetHandler server-info<br />
  756. </Location><br />
  757. </example>
  758.  
  759.     <p>$B%5!<%P@_Dj$N>pJs$X$N%"%/%;%9$r@)8B$9$k$?$a$K!"(B
  760.     <directive type="section" module="core">Location</directive>
  761.     $B%G%#%l%/%F%#%V$NCf$K(B <directive type="section" module="core">Limit</directive>
  762.     $B@a$rF~$l$k$H$h$$$+$b$7$l$^$;$s!#(B</p>
  763.  
  764.     <p>$B0lC6@_Dj$9$k$H!"(B<code>http://your.host.dom/server-info</code>
  765.     $B$r%"%/%;%9$9$k$3$H$G%5!<%P$N>pJs$rF@$i$l$k$h$&$K$J$j$^$9!#(B</p>
  766.  
  767.     <note>
  768.       <p>$B$3$N%b%8%e!<%k$O<B9T;~$K@_Dj%U%!%$%k$rFI$_9~$_$^$9!#(B
  769.       $B%5!<%P$N@_Dj%U%!%$%k$,:G8e$K%5!<%P$KFI$_9~$^$l$?8e$KJQ99$5$l$F$$$k(B
  770.       $B>l9g$K$O!"I=<($5$l$F$$$kFbMF$O<B9T$5$l$F$$$k%5!<%P$N@_Dj$rH?1G$7$F(B
  771.       <em>$B$$$J$$(B</em>$B$+$b$7$l$J$$$3$H$KCm0U$7$F$/$@$5$$!#(B
  772.       $B$^$?!"@_Dj%U%!%$%k$O%5!<%P$,<B9T$5$l$F$$$k%f!<%6$N8"8B$G(B
  773.       $BFI$_9~$_5v2D$,M?$($i$l$F$$$kI,MW$,$"$j$^$9(B
  774.       (<directive module="mpm_common">User</directive>
  775.       $B%G%#%l%/%F%#%V$r;2>H$7$F$/$@$5$$(B)$B!#(B
  776.       $B$G$J$1$l$P!"%G%#%l%/%F%#%V$N@_Dj$OI=<($5$l$^$;$s!#(B</p>
  777.  
  778.       <p><module>mod_info</module>
  779.       $B$,%5!<%P$KAH$_9~$^$l$F$$$k>l9g$O!"%G%#%l%/%H%j(B<em>$BKh(B</em>$B$N%U%!%$%k(B
  780.       ($BNc$($P!"(B<code>.htaccess</code>) $B$r4^$`$9$Y$F$N@_Dj%U%!%$%k$G(B
  781.       $B%O%s%I%i$r;HMQ2DG=$G$"$k$H$$$&$3$H$K$bCm0U$7$F$/$@$5$$!#(B
  782.       $B$3$l$O!"$"$J$?$N%5%$%H$G$O%;%-%e%j%F%#$K4XO"$7$?LdBj$,$"$k$+$b$7$l$^$;$s!#(B
  783.       </p>
  784.  
  785.       <p>$BFC$K!"$3$N%b%8%e!<%k$O%7%9%F%`%Q%9!"%f!<%6L>(B/$B%Q%9%o!<%I!"(B
  786.       $B%G!<%?%Y!<%9L>$J$I!"B>$N(B Apache $B%b%8%e!<%k$N@_Dj%G%#%l%/%F%#%V$+$i(B
  787.       $B%;%-%e%j%F%#>eHyL/$J>pJs$rO3$i$92DG=@-$,$"$j$^$9!#(B
  788.       $B$3$N%b%8%e!<%k$NF0:nJ}K!$N$;$$$G!">pJs$NN.=P$rKI$0J}K!$O$"$j$^$;$s!#(B
  789.       $B$G$9$+$i!"$3$N%b%8%e!<%k$O$A$c$s$H%"%/%;%9$,@)8f$5$l$?4D6-$G!"(B
  790.       $BCm0U$7$F;H$C$F$/$@$5$$!#(B</p>
  791.     </note>
  792. </summary>
  793.  
  794. <directivesynopsis>
  795. <name>AddModuleInfo</name>
  796. <description>server-info $B%O%s%I%i$K$h$jI=<($5$l$k%b%8%e!<%k$N>pJs$K(B
  797. $BDI2C$N>pJs$rIU$12C$($k(B</description>
  798. <syntax>AddModuleInfo <em>module-name string</em></syntax>
  799. <contextlist><context>server config</context>
  800. <context>virtual host</context></contextlist>
  801. <compatibility>Apache 1.3 $B0J9_(B</compatibility>
  802.  
  803. <usage>
  804.     <p>$B$3$l$O!"(B<em>string</em> $B$NFbMF$,%b%8%e!<%k(B <em>module-name</em>
  805.     $B$N(B<strong>$BDI2C>pJs(B</strong> $B$H$7$F(B HTML
  806.     $B$H$7$F2r<a$5$l!"I=<($5$l$k$h$&$K$7$^$9!#Nc(B:</p>
  807.  
  808. <example>
  809.   AddModuleInfo mod_authn_file.c 'See <a \<br />
  810.   <indent>
  811.     href="http://www.apache.org/docs-2.0/mod/mod_authn_file.html">\<br />
  812.     http://www.apache.org/docs-2.0/mod/mod_authn_file.html</a>'
  813.   </indent>
  814. </example>
  815. </usage>
  816.  
  817. </directivesynopsis>
  818. </modulesynopsis>
  819.  
  820. <?xml version="1.0" encoding="UTF-8" ?>
  821.  
  822. <metafile>
  823.   <basename>mod_info</basename>
  824.   <path>/mod/</path>
  825.   <relpath>..</relpath>
  826.  
  827.   <variants>
  828.     <variant>en</variant>
  829.     <variant>ja</variant>
  830.   </variants>
  831. </metafile>
  832. <?xml version="1.0"?>
  833. <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
  834. <?xml-stylesheet type="text/xsl" href="../style/manual.en.xsl"?>
  835. <modulesynopsis metafile="mod_isapi.xml.meta">
  836.  
  837. <name>mod_isapi</name>
  838. <description>ISAPI Extensions within Apache for Windows</description>
  839. <status>Base</status>
  840. <sourcefile>mod_isapi.c</sourcefile>
  841. <identifier>isapi_module</identifier>
  842. <compatibility>Win32 only</compatibility>
  843.  
  844. <summary>
  845.     <p>This module implements the Internet Server extension API. It
  846.     allows Internet Server extensions (<em>e.g.</em> ISAPI .dll
  847.     modules) to be served by Apache for Windows, subject to the
  848.     noted restrictions.</p>
  849.  
  850.     <p>ISAPI extension modules (.dll files) are written by third
  851.     parties. The Apache Group does not author these modules, so we
  852.     provide no support for them. Please contact the ISAPI's author
  853.     directly if you are experiencing problems running their ISAPI
  854.     extension. <strong>Please <em>do not</em> post such problems to
  855.     Apache's lists or bug reporting pages.</strong></p>
  856. </summary>
  857.  
  858. <section id="usage"><title>Usage</title>
  859.  
  860.     <p>In the server configuration file, use
  861.     the <directive module="mod_mime">AddHandler</directive> directive to
  862.     associate ISAPI files with the <code>isapi-isa</code> handler, and map
  863.     it to them with their file extensions. To enable any .dll file to be
  864.     processed as an ISAPI extension, edit the httpd.conf file and add the
  865.     following line:</p>
  866.     <example>
  867.         AddHandler isapi-isa .dll
  868.     </example>
  869.  
  870.     <p>There is no capability within the Apache server to leave a
  871.     requested module loaded. However, you may preload and keep a
  872.     specific module loaded by using the following syntax in your
  873.     httpd.conf:</p>
  874.     <example>
  875.         ISAPICacheFile c:/WebWork/Scripts/ISAPI/mytest.dll
  876.     </example>
  877.  
  878.     <p>Whether or not you have preloaded an ISAPI extension, all
  879.     ISAPI extensions are governed by the same permissions and
  880.     restrictions as CGI scripts. That is, <directive module="core"
  881.     >Options</directive> <code>ExecCGI</code> must be set for the
  882.     directory that contains the ISAPI .dll file.</p>
  883.  
  884.     <p>Review the <a href="#notes">Additional Notes</a> and the <a
  885.     href="#journal">Programmer's Journal</a> for additional details
  886.     and clarification of the specific ISAPI support offered by
  887.     <module>mod_isapi</module>.</p>
  888. </section>
  889.  
  890. <section id="notes"><title>Additional Notes</title>
  891.  
  892.     <p>Apache's ISAPI implementation conforms to all of the ISAPI
  893.     2.0 specification, except for some "Microsoft-specific"
  894.     extensions dealing with asynchronous I/O. Apache's I/O model
  895.     does not allow asynchronous reading and writing in a manner
  896.     that the ISAPI could access. If an ISA tries to access
  897.     unsupported features, including async I/O, a message is placed
  898.     in the error log to help with debugging. Since these messages
  899.     can become a flood, the directive <code>ISAPILogNotSupported
  900.     Off</code> exists to quiet this noise.</p>
  901.  
  902.     <p>Some servers, like Microsoft IIS, load the ISAPI extension
  903.     into the server and keep it loaded until memory usage is too
  904.     high, or unless configuration options are specified. Apache
  905.     currently loads and unloads the ISAPI extension each time it is
  906.     requested, unless the <directive module="mod_isapi"
  907.     >ISAPICacheFile</directive> directive is specified.
  908.     This is inefficient, but Apache's memory model makes this the
  909.     most effective method. Many ISAPI modules are subtly
  910.     incompatible with the Apache server, and unloading these
  911.     modules helps to ensure the stability of the server.</p>
  912.  
  913.     <p>Also, remember that while Apache supports ISAPI Extensions,
  914.     it <strong>does not support ISAPI Filters</strong>. Support for
  915.     filters may be added at a later date, but no support is planned
  916.     at this time.</p>
  917. </section>
  918.  
  919. <section id="journal"><title>Programmer's Journal</title>
  920.  
  921.     <p>If you are programming Apache 2.0 <module>mod_isapi</module>
  922.     modules, you must limit your calls to <code>ServerSupportFunction</code>
  923.     to the following directives:</p>
  924.  
  925.     <dl>
  926.       <dt><code>HSE_REQ_SEND_URL_REDIRECT_RESP</code></dt>
  927.       <dd>Redirect the user to another location.<br />
  928.       This must be a fully qualified URL (<em>e.g.</em>
  929.       <code>http://server/location</code>).</dd>
  930.  
  931.       <dt><code>HSE_REQ_SEND_URL</code></dt>
  932.       <dd>Redirect the user to another location.<br />
  933.       This cannot be a fully qualified URL, you are not allowed to
  934.       pass the protocol or a server name (<em>e.g.</em> simply
  935.       <code>/location</code>).<br />
  936.       This redirection is handled by the server, not the
  937.       browser.<br />
  938.       <note type="warning"><title>Warning</title>
  939.         <p>In their recent documentation, Microsoft appears to have
  940.         abandoned the distinction between the two
  941.         <code>HSE_REQ_SEND_URL</code> functions. Apache continues to treat
  942.         them as two distinct functions with different requirements
  943.         and behaviors.</p>
  944.       </note></dd>
  945.  
  946.       <dt><code>HSE_REQ_SEND_RESPONSE_HEADER</code></dt>
  947.       <dd>Apache accepts a response body following the header if it
  948.       follows the blank line (two consecutive newlines) in the
  949.       headers string argument. This body cannot contain NULLs,
  950.       since the headers argument is NULL terminated.</dd>
  951.  
  952.       <dt><code>HSE_REQ_DONE_WITH_SESSION</code></dt>
  953.       <dd>Apache considers this a no-op, since the session will be
  954.       finished when the ISAPI returns from processing.</dd>
  955.  
  956.       <dt><code>HSE_REQ_MAP_URL_TO_PATH</code></dt>
  957.       <dd>Apache will translate a virtual name to a physical
  958.       name.</dd>
  959.  
  960.       <dt><code>HSE_APPEND_LOG_PARAMETER</code></dt>
  961.       <dd>
  962.         This logged message may be captured in any of the following
  963.         logs:
  964.  
  965.         <ul>
  966.           <li>in the <code>\"%{isapi-parameter}n\"</code> component in a
  967.           <directive module="mod_log_config">CustomLog</directive>
  968.           directive</li>
  969.  
  970.           <li>in the <code>%q</code> log component with the
  971.           <directive module="mod_isapi">ISAPIAppendLogToQuery</directive>
  972.           <code>On</code> directive</li>
  973.  
  974.           <li>in the error log with the <directive module="mod_isapi"
  975.           >ISAPIAppendLogToErrors</directive> <code>On</code> directive</li>
  976.         </ul>
  977.  
  978.         <p>The first option, the <code>%{isapi-parameter}n</code> component,
  979.         is always available and preferred.</p>
  980.       </dd>
  981.  
  982.       <dt><code>HSE_REQ_IS_KEEP_CONN</code></dt>
  983.       <dd>Will return the negotiated Keep-Alive status.</dd>
  984.  
  985.       <dt><code>HSE_REQ_SEND_RESPONSE_HEADER_EX</code></dt>
  986.       <dd>Will behave as documented, although the <code>fKeepConn</code>
  987.       flag is ignored.</dd>
  988.  
  989.       <dt><code>HSE_REQ_IS_CONNECTED</code></dt>
  990.       <dd>Will report false if the request has been aborted.</dd>
  991.     </dl>
  992.  
  993.     <p>Apache returns <code>FALSE</code> to any unsupported call to
  994.     <code>ServerSupportFunction</code>, and sets the
  995.     <code>GetLastError</code> value to
  996.     <code>ERROR_INVALID_PARAMETER</code>.</p>
  997.  
  998.     <p><code>ReadClient</code> retrieves the request body exceeding the
  999.     initial buffer (defined by <directive module="mod_isapi"
  1000.     >ISAPIReadAheadBuffer</directive>). Based on the
  1001.     <directive>ISAPIReadAheadBuffer</directive> setting (number of bytes
  1002.     to buffer prior to calling the ISAPI handler) shorter requests are sent
  1003.     complete to the extension when it is invoked. If the request is
  1004.     longer, the ISAPI extension must use <code>ReadClient</code> to
  1005.     retrieve