home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 November / CMCD1104.ISO / Software / Complet / Apache / apache_2.0.52-win32-x86-no_ssl.msi / Data.Cab / F277656_customerror.xml.ja < prev    next >
Extensible Markup Language  |  2004-04-17  |  7KB  |  186 lines

  1. <?xml version="1.0" encoding="iso-2022-jp"?>
  2. <!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
  3. <?xml-stylesheet type="text/xsl" href="./style/manual.ja.xsl"?>
  4. <!-- English Revision: 1.1.2.7 -->
  5.  
  6. <!--
  7.  Copyright 2002-2004 The Apache Software Foundation
  8.  
  9.  Licensed under the Apache License, Version 2.0 (the "License");
  10.  you may not use this file except in compliance with the License.
  11.  You may obtain a copy of the License at
  12.  
  13.      http://www.apache.org/licenses/LICENSE-2.0
  14.  
  15.  Unless required by applicable law or agreed to in writing, software
  16.  distributed under the License is distributed on an "AS IS" BASIS,
  17.  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18.  See the License for the specific language governing permissions and
  19.  limitations under the License.
  20. -->
  21.  
  22. <manualpage metafile="custom-error.xml.meta">
  23.  
  24.   <title>$B%+%9%?%`%(%i!<%l%9%]%s%9(B</title>
  25.  
  26.   <summary>
  27.     <p>$B%&%'%V%^%9%?!<$,2?$i$+$N%(%i!<$dLdBj$KBP$9$k(B
  28.     Apache $B$NH?1~$r@_Dj$G$-$k$h$&$K$9$kDI2C5!G=$rDs6!$7$^$9!#(B</p>
  29.  
  30.     <p>$B%5!<%P$,%(%i!<$dLdBj$rH/8+$7$?>l9g$NH?1~$r!"(B
  31.     $B%+%9%?%^%$%:$7$FDj5A$9$k$3$H$,$G$-$^$9!#(B</p>
  32.  
  33.     <p>$B%9%/%j%W%H$N<B9T$,<:GT$7$F(B "500 Server Error"
  34.     $B$rH/@8$5$;$?$H$7$^$9!#$3$N>l9g$NH?1~$r!"$h$j9%$^$7$$%F%-%9%H$d!"JL$N(B
  35.     URL ($BFbIt5Z$S30It(B) $B$X$N%j%@%$%l%/%7%g%s$KCV$-49$($k$3$H$,$G$-$^$9!#(B
  36.     </p>
  37.   </summary>
  38.  
  39.   <section id="behavior">
  40.     <title>$BF0:n(B</title>
  41.  
  42.     <section>
  43.       <title>$B8E$$F0:n(B</title>
  44.  
  45.       <p>NCSA httpd 1.3 $B$O!"8E$/$FB`6~$J%(%i!<(B/$BLdBj%a%C%;!<%8$r(B
  46.       $BJV$7$F$$$^$7$?!#$=$l$O$7$P$7$P%f!<%6$K$OL50UL#$G$"$j!"(B
  47.       $B$^$?$=$l$rH/@8$5$;$?860x$r5-O?$9$kJ}K!$bDs6!$7$F$$$^$;$s$G$7$?!#(B</p>
  48.     </section>
  49.  
  50.     <section>
  51.       <title>$B?7$7$$F0:n(B</title>
  52.  
  53.         <ol>
  54.           <li>NCSA $B$N%O!<%I%3!<%I$5$l$?%a%C%;!<%8$NBe$o$j$K(B
  55.           $BB>$N%F%-%9%H$rI=<((B</li>
  56.  
  57.           <li>$B%m!<%+%k$N(B URL $B$K%j%@%$%l%/%H(B</li>
  58.  
  59.           <li>$B30It$N(B URL $B$K%j%@%$%l%/%H(B</li>
  60.         </ol>
  61.  
  62.         <p>$B$9$k$h$&$K%5!<%P$r@_Dj$G$-$^$9!#(B</p>
  63.  
  64.         <p>$BJL$N(B URL $B$K%j%@%$%l%/%H$9$k$3$H$OLr$KN)$A$^$9$,!"(B
  65.         $B$=$l$O@bL@$r$7$?$j!"$h$jL@3N$K8m$j(B/$BLdBj$r5-O?$7$?$j$9$k$?$a$K(B
  66.         $B2?$+>pJs$rEA$($i$l$k$H$-$K8B$j$^$9!#(B</p>
  67.  
  68.         <p>$B$3$l$r<B8=$9$k$?$a$K!"(B Apache $B$O?7$7$/(B CGI $B$N$h$&$J4D6-JQ?t$r(B
  69.         $BDj5A$7$^$9(B:</p>
  70.  
  71.         <example>
  72.           REDIRECT_HTTP_ACCEPT=*/*, image/gif,
  73.           image/x-xbitmap, image/jpeg<br />
  74.            REDIRECT_HTTP_USER_AGENT=Mozilla/1.1b2 (X11; I; HP-UX
  75.           A.09.05 9000/712)<br />
  76.            REDIRECT_PATH=.:/bin:/usr/local/bin:/etc<br />
  77.            REDIRECT_QUERY_STRING=<br />
  78.            REDIRECT_REMOTE_ADDR=121.345.78.123<br />
  79.            REDIRECT_REMOTE_HOST=ooh.ahhh.com<br />
  80.            REDIRECT_SERVER_NAME=crash.bang.edu<br />
  81.            REDIRECT_SERVER_PORT=80<br />
  82.            REDIRECT_SERVER_SOFTWARE=Apache/0.8.15<br />
  83.            REDIRECT_URL=/cgi-bin/buggy.pl
  84.         </example>
  85.  
  86.         <p>$BF,$KIU$/(B <code>REDIRECT_</code> $B$KCmL\$7$F$/$@$5$$!#(B</p>
  87.  
  88.         <p>$B>/$J$/$H$b(B <code>REDIRECT_URL</code> $B$H(B
  89.         <code>REDIRECT_QUERY_STRING</code> $B$O?7$7$$(B URL (CGI $B%9%/%j%W%H$+(B
  90.         CGI $B%$%s%/%k!<%I$G$"$k$H2>Dj$5$l$^$9(B) $B$KEO$5$l$^$9!#(B
  91.         $BB>$NJQ?t$O!"%(%i!<$dLdBj$,5/$-$kA0$KB8:_$7$?>l9g$K$@$1B8:_$7$^$9!#(B
  92.         $B$b$7$"$J$?$N@_Dj$7$?(B <directive
  93.         module="core">ErrorDocument</directive> $B$,(B <em>$B30It(B</em>$B%j%@%$%l%/%H(B
  94.         (<em>$B$9$J$o$A(B</em>$B!"(B<code>http:</code> 
  95.         $B$N$h$&$JBN7OL>$+$i;O$^$k$9$Y$F$N$b$N!#$?$H$(F1$8%[%9%H$r;X$7$F$$$F$b(B)
  96.         $B$J$i$P!"$3$l$i$O(B<strong>$B$^$C$?$/(B</strong>$B@_Dj$5$l$^$;$s!#(B</p>
  97.     </section>
  98.   </section>
  99.  
  100.   <section id="configuration">
  101.     <title>$B@_Dj(B</title>
  102.  
  103.     <p><directive module="core">AllowOverride</directive> $B$,E,@Z$K@_Dj$5$l$F$$$l$P!"(B
  104.     .htaccess $B%U%!%$%k$G(B <directive module="core">ErrorDocument</directive>
  105.     $B$r;HMQ$9$k$3$H$,$G$-$^$9!#(B</p>
  106.  
  107.         <p>$B$3$3$K!"$$$/$D$+$NNc$r5s$2$^$9!#(B</p>
  108.  
  109.     <example>
  110.       ErrorDocument 500 /cgi-bin/crash-recover <br />
  111.       ErrorDocument 500 "Sorry, our script crashed. Oh dear" <br />
  112.       ErrorDocument 500 http://xxx/ <br />
  113.       ErrorDocument 404 /Lame_excuses/not_found.html <br />
  114.       ErrorDocument 401 /Subscription/how_to_subscribe.html
  115.     </example>
  116.  
  117.     <p>$B9=J8(B</p>
  118.  
  119.     <example>
  120.       ErrorDocument <3-digit-code> <action>
  121.     </example>
  122.  
  123.         <p>action ($BF0:n(B) $B$O!"(B</p>
  124.  
  125.         <ol>
  126.           <li>$BI=<($5$l$k$Y$-%F%-%9%H!#%F%-%9%H$K$O0zMQId(B (") $B$r$D$1$^$9!#(B
  127.           $B0zMQId$N8e$KB3$/$b$N$,2?$G$bI=<($5$l$^$9!#(B
  128.           <em>$BCm0U(B : (") $B$OI=<($5$l$^$;$s(B</em></li>
  129.  
  130.           <li>$B%j%@%$%l%/%H@h$N30It(B URL </li>
  131.  
  132.           <li>$B%j%@%$%l%/%H@h$N%m!<%+%k(B URL </li>
  133.         </ol>
  134.   </section>
  135.  
  136.   <section id="custom">
  137.     <title>$B%+%9%?%`%(%i!<%l%9%]%s%9$H%j%@%$%l%/%H(B</title>
  138.  
  139.       <p>$B%9%/%j%W%H(B/SSI $B$KDI2C$N4D6-JQ?t$,MxMQ2DG=$K$J$k$h$&$K!"(B
  140.       $B%j%@%$%l%/%H$5$l$?(B URL $B$KBP$9$k(B Apache $B$NF0:n$,JQ99$5$l$^$7$?!#(B</p>
  141.  
  142.     <section>
  143.       <title>$B8E$$F0:n(B</title>
  144.  
  145.       <p>$B%j%@%$%l%/%H$5$l$?%9%/%j%W%H$OI8=`$N(B CGI
  146.       $B4D6-JQ?t$rMxMQ2DG=$G$7$?!#$7$+$7!"$I$3$+$i%j%@%$%l%/%H(B
  147.       $B$5$l$?$+$N>pJs$ODs6!$5$l$F$$$^$;$s$G$7$?!#(B</p>
  148.     </section>
  149.  
  150.     <section>
  151.       <title>$B?7$7$$F0:n(B</title>
  152.  
  153.       <p>$B%j%@%$%l%/%H$5$l$?@h$N%9%/%j%W%H$,;HMQ2DG=$J$h$&$K!"(B
  154.       $B?7$7$$$?$/$5$s$N4D6-JQ?t$,=i4|2=$5$l$^$9!#?7$7$$JQ?t$O!"$=$l$>$l(B
  155.       <code>REDIRECT_</code> $B$G;O$^$j$^$9!#(B
  156.       <code>REDIRECT_</code> $B$G;O$^$k4D6-JQ?t$O%j%@%$%l%/%H$5$l$kA0$KB8:_$7$F$$$?(B
  157.       CGI $B4D6-JQ?t$NF,$K(B <code>REDIRECT_</code> $B$rIU$1$F:n@.$5$l$^$9!#(B
  158.       <em>$B$9$J$o$A(B</em>$B!"(B<code>HTTP_USER_AGENT</code> $B$O(B 
  159.       <code>REDIRECT_HTTP_USER_AGENT</code> $B$K$J$j$^$9!#(B
  160.       $B$3$l$i$N?7$7$$JQ?t$K2C$($F!"(BApache $B$O!"(B
  161.       $B%9%/%j%W%H$,%j%@%$%l%/%H85$N%H%l!<%9$r=u$1$k$?$a$K(B
  162.       <code>REDIRECT_URL</code> $B$H(B <code>REDIRECT_STATUS</code>
  163.       $B$rDj5A$7$^$9!#%"%/%;%9%m%0$K$O85$N(B URL $B$H%j%@%$%l%/%H$5$l$?(B URL
  164.       $B$NN>J}$,5-O?$5$l$^$9!#(B</p>
  165.  
  166.     <p>ErrorDocument $B$,(B CGI $B%9%/%j%W%H$X$N%m!<%+%k%j%@%$%l%/%H$r(B
  167.     $B;XDj$7$F$$$k>l9g$O!"$=$l$r5/F0$9$k$3$H$K$J$C$?%(%i!<$N>uBV$r(B
  168.     $B%/%i%$%"%s%H$^$G3N<B$KEA$($k$?$a$K(B <code>"Status:" </code>
  169.     $B%X%C%@$r4^$`$Y$-$G$9!#Nc$($P!"(BErrorDocument $BMQ$N(B Perl
  170.     $B%9%/%j%W%H$O0J2<$N$h$&$J$b$N$r4^$`$+$b$7$l$^$;$s!#(B
  171.     </p>
  172.  
  173.       <example>
  174.         ... <br />
  175.         print  "Content-type: text/html\n"; <br />
  176.         printf "Status: %s Condition Intercepted\n", $ENV{"REDIRECT_STATUS"}; <br />
  177.         ...
  178.       </example>
  179.  
  180.     <p>$B%9%/%j%W%H$,(B <code>404 Not Found</code> $B$N$h$&$J(B
  181.     $BFCDj$N%(%i!<%3%s%G%#%7%g%s$r07$&$?$a$@$1$K;H$o$l$k>l9g$O!"(B
  182.     $BBe$o$j$KFCDj$N%3!<%I$H%(%i!<%F%-%9%H$r;HMQ$9$k$3$H$,$G$-$^$9!#(B</p>
  183.     </section>
  184.   </section>
  185. </manualpage>
  186.