home *** CD-ROM | disk | FTP | other *** search
/ PC World 2002 April / PCWorld_2002-04_cd.bin / Komunik / apache / apache_1.3.23-win32-x86-no_src.msi / Data.Cab / F164996_env.html.ja.jis < prev    next >
Extensible Markup Language  |  2002-01-24  |  14KB  |  330 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.  
  5. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
  6.   <head>
  7.  
  8.  
  9.     <title>Apache $B$N4D6-JQ?t(B</title>
  10.   </head>
  11.   <!-- English revision: 1.16 -->
  12.   <!-- Background white, links blue (unvisited), navy (visited), red (active) -->
  13.   <body bgcolor="#ffffff" text="#000000" link="#0000ff"
  14.   vlink="#000080" alink="#ff0000">
  15.         <div align="CENTER">
  16.       <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> 
  17.  
  18.       <h3>Apache HTTP Server</h3>
  19.     </div>
  20.  
  21.  
  22.  
  23.     <h1 align="center">Apache $B$K$*$1$k4D6-JQ?t(B</h1>
  24.  
  25.     <p>$BB?$/$N%*%Z%l!<%F%#%s%0%7%9%F%`$O!"(B<em>$B4D6-JQ?t(B</em>$B$H8F$P$l$k!"(B
  26.     $B>pJs$NJ]B8!"EAC#$N$?$a$N5!G=$rDs6!$7$F$$$^$9!#F0:nJ}K!$r@)8f$7$?$j!"(B
  27.     CGI $B%9%/%j%W%H$N$h$&$JB>$N%W%m%0%i%`$HDL?.$7$?$j$9$k$?$a$K!"(BApache
  28.     $B$OB?$/$NJ}K!$G4D6-JQ?t$r;H$$$^$9!#$3$NJ8=q$G$O!"(BApache
  29.     $B$K$*$1$k4D6-JQ?t$N;HMQK!$r$$$/$D$+@bL@$7$^$9!#(B
  30.     </p>
  31.  
  32.  
  33.     <ul>
  34.       <li><a href="#setting">$B4D6-JQ?t$N@_Dj(B</a></li>
  35.  
  36.       <li><a href="#using">$B4D6-JQ?t$N;HMQ(B</a></li>
  37.  
  38.       <li><a href="#special">$BFCJL$JL\E*$N4D6-JQ?t(B</a></li>
  39.  
  40.       <li><a href="#examples">$BNc(B</a></li>
  41.     </ul>
  42.     <hr />
  43.  
  44.     <h2><a id="setting" name="setting">$B4D6-JQ?t$N@_Dj(B</a></h2>
  45.  
  46.  
  47.     <table border="1">
  48.       <tr>
  49.         <td valign="top"><strong>$B4XO"%b%8%e!<%k(B</strong><br />
  50.          <br />
  51.          <a href="mod/mod_env.html">mod_env</a><br />
  52.          <a href="mod/mod_rewrite.html">mod_rewrite</a><br />
  53.          <a href="mod/mod_setenvif.html">mod_setenvif</a><br />
  54.          <a href="mod/mod_unique_id.html">mod_unique_id</a><br />
  55.          </td>
  56.  
  57.         <td valign="top"><strong>$B4XO"%G%#%l%/%F%#%V(B</strong><br />
  58.          <br />
  59.          <a
  60.         href="mod/mod_setenvif.html#BrowserMatch">BrowserMatch</a><br />
  61.          <a
  62.         href="mod/mod_setenvif.html#BrowserMatchNoCase">BrowserMatchNoCase</a><br />
  63.          <a href="mod/mod_env.html#passenv">PassEnv</a><br />
  64.          <a
  65.         href="mod/mod_rewrite.html#RewriteRule">RewriteRule</a><br />
  66.          <a href="mod/mod_env.html#setenv">SetEnv</a><br />
  67.          <a
  68.         href="mod/mod_setenvif.html#SetEnvIf">SetEnvIf</a><br />
  69.          <a
  70.         href="mod/mod_setenvif.html#SetEnvIfNoCase">SetEnvIfNoCase</a><br />
  71.          <a href="mod/mod_env.html#unsetenv">UnsetEnv</a><br />
  72.          </td>
  73.       </tr>
  74.     </table>
  75.  
  76.     <h3>$B4pK\E*$J4D6-$NA`:n(B</h3>
  77.  
  78.     <p>Apache $B$K$*$$$F4D6-JQ?t$r@_Dj$9$k0lHV4pK\E*$JJ}K!$O!"(B
  79.     $BL5>r7o$K4D6-JQ?t$r@_Dj$9$k(B <code>SetEnv</code>
  80.     $B%G%#%l%/%F%#%V$r;HMQ$9$k$3$H$G$9!#(B <code>PassEnv</code> 
  81.     $B%G%#%l%/%F%#%V$K$h$j!"(BApache $B$,5/F0$5$l$?%7%'%k$N(B
  82.     $B4D6-JQ?t$rEO$9$3$H$b$G$-$^$9!#(B</p>
  83.  
  84.     <h3>$B%j%/%(%9%HKh$K>r7o$K4p$E$$$F@_Dj$9$k(B</h3>
  85.  
  86.     <p>$B$h$j=@Fp@-$r9b$a$k$?$a$K!"(Bmod_setenvif
  87.     $B$GDs6!$5$l$F$$$k%G%#%l%/%F%#%V$r;HMQ$9$k$3$H$G!"%j%/%(%9%H$N(B
  88.     $BFC@-$K4p$E$$$F4D6-JQ?t$r@_Dj$9$k$3$H$,$G$-$^$9!#Nc$($P!"FCDj$N%V%i%&%6(B
  89.     (User-Agent) $B$N%j%/%(%9%H$dFCDj$N(B Referer [$B0U?^E*$JDV$j$G$9(B]
  90.     ($BLuCm(B: $B@5$7$$DV$j$O(B referrer $B$G$9$,!"(BHTTP $B$N;EMM$G$O(B Referer
  91.     $B$H$J$C$F$$$^$9(B) $B%X%C%@$,8+$D$+$C$?$H$-$N$_JQ?t$r@_Dj$9$k$3$H$,$G$-$^$9!#(B
  92.     mod_rewrite $B$N(B <code>RewriteRule</code> $B%G%#%l%/%F%#%V$K$*$$$F(B
  93.     $B4D6-JQ?t$r@_Dj$9$k(B <code>[E=...]</code> $B%*%W%7%g%s$r;HMQ$9$k$3$H$G!"(B
  94.     $B$h$j=@Fp$J@_Dj$r9T$J$&$3$H$,$G$-$^$9!#(B</p>
  95.  
  96.     <h3>$B0l0U$J<1JL;R(B</h3>
  97.  
  98.     <p>mod_unique_id $B$O!"Hs>o$K8B$i$l$?>r7o$N2<$G(B
  99.     $B!V$9$Y$F!W$N%j%/%(%9%H$K$D$$$F!"0l0U$G$"$k$3$H$,J]>Z$5$l$F$$$kCM$r4D6-JQ?t(B
  100.     <code>UNIQUE_ID</code> $B$K@_Dj$7$^$9!#(B
  101.     </p>
  102.  
  103.     <h3>$BI8=`(B CGI $BJQ?t(B</h3>
  104.  
  105.     <p>Apache $B$N@_Dj%U%!%$%k$G@_Dj$5$l$?4D6-JQ?t$H%7%'%k$+$iEO$5$l$k(B
  106.     $B4D6-JQ?t$K2C$($F!"(BCGI $B%9%/%j%W%H$H(B SSI $B%Z!<%8$K$O(B <a
  107.     href="misc/FAQ.html#cgi-spec">CGI $B$N;EMM(B</a>$B$GMW5a$5$l$F$$$k!"(B
  108.     $B%j%/%(%9%H$N%a%?>pJs$r;}$C$?4D6-JQ?t$NAH$,Ds6!$5$l$^$9!#(B
  109.     </p>
  110.  
  111.     <h3>$B$$$/$D$+$NCm0U(B</h3>
  112.  
  113.     <ul>
  114.       <li>$B4D6-$rA`:n$9$k%G%#%l%/%F%#%V$r;H$C$FI8=`(B CGI
  115.       $BJQ?t$r>e=q$-$7$?$jJQ99$7$?$j$9$k$3$H$O$G$-$^$;$s!#(B</li>
  116.  
  117.       <li>CGI $B%9%/%j%W%H$r5/F0$9$k$?$a$K(B <a href="suexec.html">suexec</a>
  118.       $B$,;HMQ$5$l$F$$$k>l9g!"(BCGI $B%9%/%j%W%H$,5/F0$9$k$?$a$K!"4D6-JQ?t$O(B<em
  119.       >$B0BA4(B</em>$B$J4D6-JQ?t$NAH$K@0M}$5$l$^$9!#(B
  120.       $B$3$N0BA4$J4D6-JQ?t$N=89g$O!"%3%s%Q%$%k;~$K(B <code>suexec.c</code>
  121.       $B$GDj5A$5$l$^$9!#(B</li>
  122.  
  123.       <li>$B0\?"@-$N$?$a$K!"4D6-JQ?t$NL>A0$O%"%k%U%!%Y%C%H!"(B
  124.       $B?t;z$H%"%s%@!<%9%3%"(B ($BLuCm(B: '_') $B$@$1$+$i@.$j$^$9!#(B
  125.       $B$5$i$K!":G=i$NJ8;z$O?t;z$G$"$C$F$O$$$1$^$;$s!#(B
  126.       $B$3$N@)8B$K9g$o$J$$J8;z$O(B CGI $B%9%/%j%W%H$H(B SSI
  127.       $B%Z!<%8$KEO$5$l$k$H$-$K%"%s%@!<%9%3%"$KCV49$5$l$^$9!#(B
  128.       </li>
  129.     </ul>
  130.     <hr />
  131.  
  132.     <h2><a id="using" name="using">$B4D6-JQ?t$N;HMQ(B</a></h2>
  133.  
  134.  
  135.     <table border="1">
  136.       <tr>
  137.         <td valign="top"><strong>$B4XO"%b%8%e!<%k(B</strong><br />
  138.          <br />
  139.          <a href="mod/mod_access.html">mod_access</a><br />
  140.          <a href="mod/mod_cgi.html">mod_cgi</a><br />
  141.          <a href="mod/mod_include.html">mod_include</a><br />
  142.          <a href="mod/mod_log_config.html">mod_log_config</a><br />
  143.          <a href="mod/mod_rewrite.html">mod_rewrite</a><br />
  144.          </td>
  145.  
  146.         <td valign="top"><strong>$B4XO"%G%#%l%/%F%#%V(B</strong><br />
  147.          <br />
  148.          <a href="mod/mod_access.html#allow">Allow</a><br />
  149.          <a
  150.         href="mod/mod_log_config.html#customlog">CustomLog</a><br />
  151.          <a href="mod/mod_access.html#deny">Deny</a><br />
  152.          <a
  153.         href="mod/mod_log_config.html#logformat">LogFormat</a><br />
  154.          <a
  155.         href="mod/mod_rewrite.html#RewriteCond">RewriteCond</a><br />
  156.          <a
  157.         href="mod/mod_rewrite.html#RewriteRule">RewriteRule</a><br />
  158.          </td>
  159.        </tr>
  160.     </table>
  161.  
  162.     <h3>CGI $B%9%/%j%W%H(B</h3>
  163.  
  164.     <p>$B4D6-JQ?t$N<g$JMxMQK!$N0l$D$O!"(BCGI $B%9%/%j%W%H$K>pJs$rEA$($k$3$H$G$9!#(B
  165.     $B>e$G@bL@$5$l$F$$$k$h$&$K!"(BCGI $B%9%/%j%W%H$KEO$5$l$k4D6-JQ?t$O(B Apache
  166.     $B$N@_Dj$K$h$j@_Dj$5$l$kJQ?t$K2C$($F!"%j%/%(%9%H$NI8=`$N%a%?>pJs$r4^$s$G$$$^$9!#(B
  167.     $B>\:Y$O(B <a href="howto/cgi.html">CGI $B%A%e!<%H%j%"%k(B</a> $B$r;2>H$7$F$/$@$5$$!#(B
  168.     </p>
  169.  
  170.  
  171.     <h3>SSI $B%Z!<%8(B</h3>
  172.  
  173.     <p>
  174.     mod_include $B$N(B <code>server-parsed</code> $B%O%s%I%i$G=hM}$5$l$k(B
  175.     server-parsed (SSI) $B%I%-%e%a%s%H$G$O!"(B<code>echo</code>
  176.     $BMWAG$r;HMQ$9$k$H4D6-JQ?t$,=PNO$5$l$^$9!#(B
  177.     $B$^$?!"%Z!<%8$N$"$kItJ,$,%j%/%(%9%H$N@-<A$K1~$8$FJQ99$5$l$k$h$&$K!"(B
  178.     $B4D6-JQ?t$r%U%m!<@)8fMWAG$G;H$&$3$H$,$G$-$^$9!#>\:Y$O(B
  179.     <a href="howto/ssi.html">SSI $B%A%e!<%H%j%"%k(B</a> $B$r;2>H$7$F$/$@$5$$!#(B
  180.     </p>
  181.  
  182.     <h3>$B%"%/%;%9@)8f(B</h3>
  183.  
  184.     <p><code>allow from env=</code> $B%G%#%l%/%F%#%V$H(B <code>deny from env=</code>
  185.     $B%G%#%l%/%F%#%V$r;HMQ$7$F!"%5!<%P$X$N%"%/%;%9$r4D6-JQ?t$NCM$G@)8f$9$k$3$H$,$G$-$^$9!#(B
  186.     <code>SetEnvIf</code> $B%G%#%l%/%F%#%V$HAH$_9g$o$;$k$3$H$G!"%/%i%$%"%s%H$NFC@-$K4p$E$$$F(B
  187.     $B%5!<%P$X$N%"%/%;%9@)8f$r=@Fp$K9T$J$&$3$H$,$G$-$k$h$&$K$J$j$^$9!#(B
  188.     $BNc$($P!"$3$l$i$N%G%#%l%/%F%#%V$r;HMQ$7$F!"FCDj$N%V%i%&%6(B (User-Agent)
  189.     $B$+$i$N%"%/%;%9$r5qH]$9$k$3$H$,$G$-$^$9!#(B
  190.     </p>
  191.  
  192.     <h3>$B>r7oIU$-%m%05-O?(B</h3>
  193.  
  194.     <p>
  195.     <code>LogFormat</code> $B%G%#%l%/%F%#%V$N%*%W%7%g%s(B <code>%e</code>
  196.     $B$r;HMQ$9$k$3$H$G!"4D6-JQ?t$r%"%/%;%9%m%0$K5-O?$9$k$3$H$,$G$-$^$9!#$5$i$K!"(B
  197.     <code>CustomLog</code> $B%G%#%l%/%F%#%V$N>r7oJ,4t<0$r;HMQ$9$k$3$H$G!"(B
  198.     $B4D6-JQ?t$NCM$K$h$C$F%j%/%(%9%H$r%m%0$K5-O?$9$k$+$I$&$+$r7h$a$k$3$H$,$G$-$^$9!#(B
  199.     <code>SetEnvIf</code> $B%G%#%l%/%F%#%V$HAH$_9g$o$;$k$3$H$G!"(B
  200.     $B$I$N%j%/%(%9%H$r%m%0$K5-O?$9$k$+$r=@Fp$K@)8f$9$k$3$H$,2DG=$K$J$j$^$9!#Nc$($P!"(B
  201.     <code>gif</code> $B$G=*$o$k%U%!%$%kL>$X$N%j%/%(%9%H$O%m%0$K5-O?$7$J$$!"(B
  202.     $B0c$&%5%V%M%C%H$N%/%i%$%"%s%H$+$i$N%j%/%(%9%H$@$1$r%m%0$K5-O?$9$k!"$H$$$&A*Br$,2DG=$G$9!#(B
  203.     </p>
  204.  
  205.     <h3>URL $B$N=q$-49$((B</h3>
  206.  
  207.     <p><code>RewriteCond</code> $B%G%#%l%/%F%#%V$G(B<em>$BI>2AJ8;zNs(B</em>$B$H$7$F(B
  208.     <code>%{ENV:...}</code> $B<0$r;XDj$9$k$3$H$G!"(Bmod_rewrite
  209.     $B$N=q$-49$(%(%s%8%s$,4D6-JQ?t$K4p$$$F>r7oJ,4t$r9T$J$&$3$H$,$G$-$^$9!#(B
  210.     mod_rewrite $B$,;HMQ2DG=$JJQ?t$G(B <code>ENV:</code> $B$,A0$K$D$$$F$$$J$$JQ?t$O!"(B
  211.     $B<B:]$O4D6-JQ?t$G$O$J$$$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#(B
  212.     $B$=$l$i$OB>$N%b%8%e!<%k$+$i$O;HMQ$G$-$J$$(B mod_rewrite $BMQ$NFCJL$JJQ?t$G$9!#(B
  213.     </p>
  214.     <hr />
  215.  
  216.     <h2><a id="special" name="special">$BFCJL$JL\E*$N4D6-JQ?t(B</a></h2>
  217.  
  218.  
  219.     <p>
  220.     $B8_49@-$NLdBj$r2r7h$9$k$?$a$K!"FCDj$N%/%i%$%"%s%H$HDL?.$7$F$$$k$H$-$O(B
  221.     Apache $B$NF0:n$rJQ99$G$-$k5!9=$,F3F~$5$l$^$7$?!#$G$-$k$@$1=@Fp$K$9$k$?$a$K!"(B
  222.     $B$3$l$i$N5!9=$O4D6-JQ?t$rDj5A$9$k$3$H$G8F$S=P$5$l$^$9!#IaDL$O!"(B
  223.     <a href="mod/mod_setenvif.html#browsermatch">BrowserMatch</a>
  224.     $B%G%#%l%/%F%#%V$r;H$$$^$9$,!"Nc$($P(B <a href="mod/mod_env.html#setenv"
  225.     >SetEnv</a> $B%G%#%l%/%F%#%V$d(B <a href="mod/mod_env.html#passenv"
  226.     >PassEnv</a> $B%G%#%l%/%F%#%V$b;HMQ$9$k$3$H$,$G$-$^$9!#(B
  227.     </p>
  228.  
  229.     <h2>downgrade-1.0</h2>
  230.  
  231.     <p>$B$3$l$r;XDj$9$k$3$H$G!"%j%/%(%9%H$,(B HTTP/1.0
  232.     $B$h$j?7$7$$%W%m%H%3%k$N>l9g$G$b!"(BHTTP/1.0 $B$H$7$F07$o$l$^$9!#(B</p>
  233.  
  234.     <h2>force-no-vary</h2>
  235.  
  236.     <p>$B1~Ez%X%C%@$,%/%i%$%"%s%H$KAw$i$l$kA0$K(B <code>Vary</code>
  237.     $B%U%#!<%k%I$r<h$j=|$-$^$9!#(B
  238.     $B%/%i%$%"%s%H$NCf$K$O$3$N%U%#!<%k%I$r@5$7$/2r<a$7$J$$$b$N$,$"$j$^$9(B
  239.     (<a href="misc/known_client_problems.html">$B%/%i%$%"%s%H$N4{CN$NLdBj(B</a>
  240.     $B$N%Z!<%8$r;2>H$7$F$/$@$5$$(B)$B!#$3$NJQ?t$r@_Dj$9$k$3$H$G$=$NLdBj$r2sHr(B
  241.     $B$9$k$3$H$,$G$-$^$9!#$3$NJQ?t$r@_Dj$9$k$H!"(B<strong>force-response-1.0</strong>
  242.     $B$,@_Dj$5$l$?$3$H$K$J$j$^$9!#(B</p>
  243.  
  244.     <h2>force-response-1.0</h2>
  245.  
  246.     <p>$B$3$l$,@_Dj$5$l$F$$$k$H!">o$K(B HTTP/1.0 $B$G$N1~Ez$K$J$j$^$9!#$3$N5!G=$O!"(B
  247.     $B85!9$O(B AOL $B$N%W%m%-%7$NLdBj$N$?$a$K<BAu$5$l$^$7$?!#%/%i%$%"%s%H$NCf$K$O!"(B
  248.     HTTP/1.1 $B$N1~Ez$rJV$5$l$k$H@5$7$/F0:n$7$J$$$b$N$,$"$k$+$b$7$l$^$;$s!#(B
  249.     $B$3$N5!G=$r;HMQ$9$k$3$H$G!"$=$N$h$&$J%/%i%$%"%s%H$H$N4V$N8_49@-LdBj$r2r7h$G$-$^$9!#(B</p>
  250.  
  251.     <h2>nokeepalive</h2>
  252.  
  253.     <p>$B$3$l$,@_Dj$5$l$F$$$k>l9g$O!"(B<a href="mod/core.html#keepalive"
  254.     >KeepAlive</a> $B$r;HMQ$7$J$$$h$&$K$7$^$9!#(B</p>
  255.     <hr />
  256.  
  257.     <h2><a id="examples" name="examples">$BNc(B</a></h2>
  258.  
  259.     <h3>$B$*$+$7$J5sF0$r$9$k%/%i%$%"%s%H$KBP$7$F%W%m%H%3%k$NF0:n$rJQ99$9$k(B</h3>
  260.  
  261.     <p>$B%/%i%$%"%s%H$K4X$9$k4{CN$NLdBj$KBP=h$9$k$?$a$K!"0J2<$N9T$r(B
  262.     httpd.conf $B$KF~$l$k$3$H$r?d>)$7$F$$$^$9!#(B</p>
  263. <pre>
  264. #
  265. # The following directives modify normal HTTP response behavior.
  266. # The first directive disables keepalive for Netscape 2.x and browsers that
  267. # spoof it. There are known problems with these browser implementations.
  268. # The second directive is for Microsoft Internet Explorer 4.0b2
  269. # which has a broken HTTP/1.1 implementation and does not properly
  270. # support keepalive when it is used on 301 or 302 (redirect) responses.
  271. #
  272. BrowserMatch "Mozilla/2" nokeepalive
  273. BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
  274.  
  275. #
  276. # The following directive disables HTTP/1.1 responses to browsers which
  277. # are in violation of the HTTP/1.0 spec by not being able to grok a
  278. # basic 1.1 response.
  279. #
  280. BrowserMatch "RealPlayer 4\.0" force-response-1.0
  281. BrowserMatch "Java/1\.0" force-response-1.0
  282. BrowserMatch "JDK/1\.0" force-response-1.0
  283. </pre>
  284.  
  285.     <h3>$B2hA|$X$N%j%/%(%9%H$r%"%/%;%9%m%0$K5-O?$7$J$$(B</h3>
  286.  
  287.     <p>$B$3$NNc$G$O!"2hA|$X$N%j%/%(%9%H$,%"%/%;%9%m%0$K8=$l$J$$$h$&$K$7$^$9!#(B
  288.     $B$3$l$rJQ99$9$k$3$H$G!"FCDj$N%G%#%l%/%H%j$N%m%0<}=8$r$d$a$?$j!"(B
  289.     $BFCDj$N%[%9%H$+$i$N%j%/%(%9%H$N%m%0<}=8$r$d$a$?$j$9$k$3$H$,4JC1$K$G$-$^$9!#(B
  290.     </p>
  291. <pre>
  292.     SetEnvIf Request_URI \.gif image-request
  293.     SetEnvIf Request_URI \.jpg image-request
  294.     SetEnvIf Request_URI \.png image-request
  295.     CustomLog logs/access_log env=!image-request
  296. </pre>
  297.  
  298.     <h3>$B!V2hA|$NEpMQ!W$rKI$0(B</h3>
  299.  
  300.     <p>$B$3$NNc$O!"JL$N%5!<%P$K$$$k?M$,!"$"$J$?$N%5!<%P$K$"$k2hA|$r(B
  301.     inline $B2hA|$H$7$F;HMQ$9$k$3$H$rKI$.$^$9!#(B
  302.     $B$3$l$O?d>)$5$l$F$$$k@_Dj$G$O$"$j$^$;$s$,!"$"$k8BDj$5$l$?>u67$G$OM-8z$G$9!#(B
  303.     $B$3$3$G$O!"$9$Y$F$N2hA|$O(B /web/images $B$H$$$&%G%#%l%/%H%j$K$"$k$H2>Dj$7$^$9!#(B
  304.     </p>
  305. <pre>
  306.     SetEnvIf Referer "^http://www.example.com/" local_referal
  307.     # Allow browsers that do not send Referer info
  308.     SetEnvIf Referer "^$" local_referal
  309.     <Directory /web/images>
  310.        Order Deny,Allow
  311.        Deny from all
  312.        Allow from env=local_referal
  313.     </Directory>
  314. </pre>
  315.  
  316.     <p><em>$BCm(B:</em> 'referer' $B$H(B 'referal' $B$NDV$j$O0U?^E*$J$b$N$G$9(B ($BLuCm(B:
  317.     $B@5$7$$DV$j$O(B referrer $B$H(B referral)$B!#(B</p>
  318.  
  319.     <p>$B$3$N<jK!$K4X$9$k>\$7$$>pJs$O(B ApacheToday $B$N%A%e!<%H%j%"%k(B "<a
  320.     href="http://apachetoday.com/news_story.php3?ltsn=2000-06-14-002-01-ps"
  321.     >Keeping Your Images from Adorning Other Sites</a>"
  322.     $B$r;2>H$7$F$/$@$5$$!#(B</p>
  323.         <hr />
  324.  
  325.     <h3 align="CENTER">Apache HTTP Server</h3>
  326.     <a href="./"><img src="images/index.gif" alt="Index" /></a>
  327.  
  328.   </body>
  329. </html>
  330.