Current Path : /usr/local/share/doc/apache/mod/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/share/doc/apache/mod/mod_access.html.ja.jis |
<?xml version="1.0" encoding="iso-2022-jp"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> <head> <title>Apache module mod_access</title> </head> <!-- English revision: 1.34 --> <!-- Background white, links blue (unvisited), navy (visited), red (active) --> <body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000080" alink="#ff0000"> <div align="CENTER"> <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> <h3>Apache HTTP Server Version 1.3</h3> <p><small><em>Is this the version you want? For more recent versions, check our <a href="/docs/">documentation index</a>.</em></small></p> </div> <h1 align="center">mod_access $B%b%8%e!<%k(B</h1> <p>$B$3$N%b%8%e!<%k$O%/%i%$%"%s%H$N%[%9%HL>!"(BIP $B%"%I%l%9!"$=$NB>$N%/%i%$%"%s%H$N%j%/%(%9%H$NFCD'$K4p$E$$$?(B $B%"%/%;%9@)8f5!G=$rDs6!$7$^$9!#(B</p> <p><a href="module-dict.html#status" rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> <a href="module-dict.html#sourcefile" rel="help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> mod_access.c<br /> <a href="module-dict.html#moduleidentifier" rel="help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> access_module</p> <h2>$B35MW(B</h2> <p>mod_access $B$K$h$jDs6!$5$l$k%G%#%l%/%F%#%V$O%5!<%P$NFCDj$NItJ,$X$N(B $B%"%/%;%9$r@)8f$9$k$?$a$K(B <code><a href="core.html#directory" ><Directory></a>, <a href="core.html#files"><Files></a ></code>, <code><a href="core.html#location"><Location></a ></code> $B$H(B <code><a href="core.html#accessfilename">.htaccess</a ></code> $B%U%!%$%k$G;HMQ$5$l$^$9!#%/%i%$%"%s%H$N%[%9%HL>!"(BIP $B%"%I%l%9$d(B <a href="../env.html">$B4D6-JQ?t(B</a >$B$H$7$F<hF@$5$l$?!"$=$NB>$N%j%/%(%9%H$NFCD'$K4p$E$$$F(B $B%"%/%;%9@)8f$r9T$J$&$3$H$,$G$-$^$9!#(B<code>Allow</code> $B$H(B <code>Deny</code> $B%G%#%l%/%F%#%V$O$I$N$h$&$J%/%i%$%"%s%H$K%"%/%;%9$r(B $B5v2D$9$k!"$7$J$$$+$r;XDj$9$k$?$a$K;HMQ$5$l$^$9!#0lJ}!"(B <code>Order</code> $B%G%#%l%/%F%#%V$O%G%U%)%k%H$N%"%/%;%9>uBV$H!"(B <code>Allow</code> $B%G%#%l%/%F%#%V$H(B <code>Deny</code> $B%G%#%l%/%F%#%V$H$N$*8_$$$X$N1F6A$N;EJ}$r@_Dj$7$^$9!#(B </p> <p>$B%[%9%H$K$h$k%"%/%;%9@)8B$H%Q%9%o!<%I$K$h$kG'>Z$rF1;~$K(B $B9T$J$&$3$H$,2DG=$G$9!#$=$N>l9g!"$=$NFs$D$N@)8B$N4X78$r;XDj$9$k$?$a$K(B <a href="core.html#satisfy">Satisfy</a> $B%G%#%l%/%F%#%V$r;HMQ$7$^$9!#(B</p> <p>$B0lHLE*$K$O!"%"%/%;%9@)8B%G%#%l%/%F%#%V$O$9$Y$F$N%"%/%;%9%a%=%C%I(B (<code>GET</code>, <code>PUT</code>, <code>POST</code> $B$J$I(B) $B$KE,MQ$5$l$^$9!#$=$7$F!"$[$H$s$I$N>l9g$3$l$,K>$^$7$$F0:n$G$9!#(B $B$7$+$7!"(B<a href="core.html#limit"><Limit></a> $B%;%/%7%g%s$NCf$K%G%#%l%/%F%#%V$r=q$/$3$H$G!"(B $B0lIt$N%a%=%C%I$K$N$_@)8B$r$+$1$k$3$H$b$G$-$^$9!#(B</p> <h2>$B%G%#%l%/%F%#%V(B</h2> <ul> <li><a href="#allow">Allow</a></li> <li><a href="#deny">Deny</a></li> <li><a href="#order">Order</a></li> </ul> <p><a href="core.html#satisfy">Satisfy</a> $B$H(B <a href="core.html#require">Require</a> $B$b;2>H$7$F$/$@$5$$!#(B</p> <hr /> <h2><a id="allow" name="allow">Allow</a> <a id="allowfromenv" name="allowfromenv">$B%G%#%l%/%F%#%V(B</a></h2> <p> <a href="directive-dict.html#syntax" rel="Help"><strong>$B9=J8(B:</strong></a> Allow from all|<em>host</em>|env=<em>env-variablename</em> [<em>host</em>|env=<em>env-variablename</em>] ...<br /> <a href="directive-dict.html#context" rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%G%#%l%/%H%j!"(B .htaccess<br /> <a href="directive-dict.html#override" rel="Help"><strong>$B>e=q$-(B:</strong></a> Limit<br /> <a href="directive-dict.html#status" rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> <a href="directive-dict.html#module" rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_access</p> <p><code>Allow</code> $B%G%#%l%/%F%#%V$O$I$N%[%9%H$,(B $B%5!<%P$N$"$kNN0h$r%"%/%;%9$G$-$k$+$K1F6A$rM?$($^$9!#(B $B%"%/%;%9$O%[%9%HL>!"(BIP $B%"%I%l%9!"(BIP $B%"%I%l%9$NHO0O$d!"(B $B4D6-JQ?t$H$7$F<hF@$5$l$?!"$=$NB>$N%/%i%$%"%s%H$N%j%/%(%9%H$N(B $BFCD'$K$h$C$F@)8f$9$k$3$H$,$G$-$^$9!#(B</p> <p>$B$3$N%G%#%l%/%F%#%V$N:G=i$N0z?t$O>o$K(B <code>from</code> $B$G$9!#(B $B$=$l$KB3$/0z?t$O;0$D$N0c$C$?7A<0$,$"$j$^$9!#(B<code>Allow from all</code> $B$,;XDj$5$l$F$$$l$P!"$9$Y$F$N%[%9%H$K%"%/%;%9$r5v2D$7!"(B $B%"%/%;%9@)8B$O2<$G@bL@$5$l$F$$$k$h$&$K!"(B<code>Deny</code> $B%G%#%l%/%F%#%V$H(B <code>Order</code> $B%G%#%l%/%F%#%V$N@_Dj$G7h$^$j$^$9!#(B $BFCDj$N%[%9%H$d%[%9%H72$K$N$_%5!<%P$X$N%"%/%;%9$r5v2D$9$k$?$a$K$O!"(B $B0J2<$N$I$l$+$N7A<0$G(B <em>host</em> $B$r;XDj$9$k$3$H$,$G$-$^$9(B:</p> <dl> <dt>$B%I%a%$%sL>(B ($B$N0lIt(B)</dt> <dd>$BNc(B: <code>Allow from apache.org</code><br /> $B$3$NJ8;zNs$K9g$&$+!"$3$l$G=*$o$kL>A0$N%[%9%H$N%"%/%;%9$,5v2D$5$l$^$9!#(B $B3FItJ,$,40A4$K9g$&$b$N$@$1$KE,MQ$5$l$^$9$N$G!">e$NNc$O(B <code>foo.apache.org</code> $B$K$O%^%C%A$7$^$9$,!"(B <code>fooapache.org</code> $B$K$O%^%C%A$7$^$;$s!#(B $B$3$N@_Dj$r$9$k$H!"%5!<%P$O(B <a href="core.html#hostnamelookups">HostnameLookups</a> $B$N@_Dj$K4X$o$i$:!"%/%i%$%"%s%H$N(B IP $B%"%I%l%9$KBP$7$F(B DNS $B$NFs=E$N5U0z$-$r9T$J$$$^$9!#$3$l$O(B IP $B%"%I%l%9$G(B DNS $B$N5U0z$-$r9T$J$C$F$=$l$K4XO"IU$1$i$l$?%[%9%HL>$r8+$D$1!"(B $B$=$l$+$i%[%9%HL>$G@50z$-$r9T$J$C$F%*%j%8%J%k$N(B IP $B%"%I%l%9$H0lCW$9$k$+3NG'$7$^$9!#%"%/%;%9$O@50z$-$H5U0z$-$KL7=b$,L5$/!"(B $B%[%9%HL>$,0lCW$7$?>l9g$K8B$j5v2D$5$l$^$9!#(B</dd> <dt>$B40A4$J(B IP $B%"%I%l%9(B</dt> <dd>$BNc(B: <code>Allow from 10.1.2.3</code><br /> $B%"%/%;%9$r5v2D$9$k(B IP $B%"%I%l%9$G$9!#(B</dd> <dt>IP $B%"%I%l%9$N0lIt(B</dt> <dd>$BNc(B: <code>Allow from 10.1</code><br /> $B%5%V%M%C%H$N@)8BMQ$N!"(BIP $B%"%I%l%9$N:G=i$N0l$D$+$i;0$D$^$G$N%P%$%H$G$9!#(B</dd> <dt>$B%M%C%H%o!<%/(B/$B%M%C%H%^%9%/(B $B$NBP(B</dt> <dd>$BNc(B: <code>Allow from 10.1.0.0/255.255.0.0</code><br /> $B%M%C%H%o!<%/(B a.b.c.d $B$H%M%C%H%^%9%/(B w.x.y.z $B$G$9!#(B $B$h$j:YN3EY$N%5%V%M%C%H@)8BMQ$G$9!#(B(Apache 1.3 $B0J9_(B)</dd> <dt>$B%M%C%H%o!<%/(B/nnn CIDR $B;XDj(B</dt> <dd>$BNc(B: <code>Allow from 10.1.0.0/16</code><br /> $B%M%C%H%^%9%/$,(B nnn $B$N>e0L%S%C%H$,(B 1 $B$H$J$C$F$$$k$b$N$+$i$J$k$3$H0J30$OA0$N$b$N$HF1$8$G$9!#(B (Apache 1.3 $B0J9_(B)</dd> </dl> <p>$BCm(B: $B:G8e$N;0$D$NNc$O$^$C$?$/F1$8%[%9%H$K9g$$$^$9!#(B</p> <p><code>Allow</code> $B%G%#%l%/%F%#%V$N0z?t$N;0$DL\$N7A<0$O!"(B <a href="../env.html">$B4D6-JQ?t(B</a> $B$NB8:_$K$h$j%"%/%;%9$N@)8f$r9T$J$($k$h$&$K$9$k$b$N$G$9!#(B <code>Allow from env=</code><em>variablename</em> $B$,;XDj$5$l$F$$$k$H!"4D6-JQ?t(B <em>variablename</em> $B$,B8:_$7$?>l9g$K%j%/%(%9%H$O%"%/%;%9$r5v2D$5$l$^$9!#%5!<%P$O(B <a href="mod_setenvif.html">mod_setenvif</a> $B$N%G%#%l%/%F%#%V$K$h$j!"%/%i%$%"%s%H$N%j%/%(%9%H(B $B$NFCD'$K4p$E$$$F=@Fp$K4D6-JQ?t$r@_Dj$9$k5!G=$rDs6!$7$^$9!#(B $B$G$9$+$i!"$3$N%G%#%l%/%F%#%V$O%/%i%$%"%s%H$N(B <code>User-Agent</code> ($B%V%i%&%6$N<oN`(B)$B!"(B<code>Referer</code> $B$dB>$N(B HTTP $B%j%/%(%9%H$N%X%C%@%U%#!<%k%I$J$I$K4p$E$$$F(B $B%"%/%;%95v2D$r$9$k$?$a$K;H$&$3$H$,$G$-$^$9!#(B </p> <p>$BNc(B:</p> <blockquote> <pre> SetEnvIf User-Agent ^KnockKnock/2\.0 let_me_in <Directory /docroot> Order Deny,Allow Deny from all Allow from env=let_me_in </Directory> </pre> </blockquote> <p>$B$3$N>l9g!"(Buser-agent $B$NJ8;zNs$,(B <tt>KnockKnock/2.0</tt> $B$G;O$^$k%V%i%&%6$N$_$,%"%/%;%9$r5v2D$5$l!"(B $BB>$N$b$N$O%"%/%;%9$r5qH]$5$l$^$9!#(B</p> <p><a href="#deny">Deny</a>, <a href="#order">Order</a>, <a href="mod_setenvif.html#setenvif">SetEnvIf</a> $B%G%#%l%/%F%#%V$b;2>H$7$F$/$@$5$$!#(B</p> <hr /> <h2><a id="deny" name="deny">Deny</a> <a id="denyfromenv" name="denyfromenv">$B%G%#%l%/%F%#%V(B</a></h2> <p> <a href="directive-dict.html#syntax" rel="help"><strong>$B9=J8(B:</strong></a> Deny from all|<em>host</em>|env=<em>variablename</em> [<em>host</em>|env=<em>variablename</em>] ...<br /> <a href="directive-dict.html#context" rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%G%#%l%/%H%j!"(B .htaccess<br /> <a href="directive-dict.html#override" rel="help"><strong>$B>e=q$-(B:</strong></a> Limit<br /> <a href="directive-dict.html#status" rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> <a href="directive-dict.html#module" rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_access</p> <p>$B$3$N%G%#%l%/%F%#%V$O%[%9%HL>!"(BIP $B%"%I%l%9!"4D6-JQ?t$K4p$E$$$F%5!<%P$X$N%"%/%;%9$r@)8B$7$^$9!#(B <code>Deny</code> $B%G%#%l%/%F%#%V$N0z?t$O(B <a href="#allow">Allow</a> $B%G%#%l%/%F%#%V$H$^$C$?$/F1$8$G$9!#(B</p> <p><a href="#allow">Allow</a>, <a href="#order">Order</a>, <a href="mod_setenvif.html#setenvif">SetEnvIf</a> $B$b;2>H$7$F$/$@$5$$!#(B</p> <hr /> <h2><a id="order" name="order">Order $B%G%#%l%/%F%#%V(B</a></h2> <p> <a href="directive-dict.html#syntax" rel="help"><strong>$B9=J8(B:</strong></a> Order <em>ordering</em><br /> <a href="directive-dict.html#default" rel="help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>Order Deny,Allow</code><br /> <a href="directive-dict.html#context" rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%G%#%l%/%H%j!"(B .htaccess<br /> <a href="directive-dict.html#override" rel="help"><strong>$B>e=q$-(B:</strong></a> Limit<br /> <a href="directive-dict.html#status" rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> <a href="directive-dict.html#module" rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_access</p> <p><code>Order</code> $B%G%#%l%/%F%#%V$O%G%U%)%k%H$N%"%/%;%9$N>uBV$H(B <a href="#allow">Allow</a> $B%G%#%l%/%F%#%V$H(B <a href="#deny">Deny</a> $B%G%#%l%/%F%#%V$,I>2A$5$l$k=gHV$r@)8f$7$^$9!#(B <em>Ordering</em> $B$O0J2<$N$I$l$+$G$9!#(B</p> <dl> <dt>Deny,Allow</dt> <dd><code>Deny</code> $B%G%#%l%/%F%#%V$,(B <code>Allow</code> $B%G%#%l%/%F%#%V$NA0$KI>2A$5$l$^$9!#(B $B%"%/%;%9$O%G%U%)%k%H$G5v2D$5$l$^$9!#(B<code>Deny</code> $B%G%#%l%/%F%#%V$K9g$o$J$$$+!"(B<code>Allow</code> $B%G%#%l%/%F%#%V$K9g$&%/%i%$%"%s%H$O%"%/%;%9$r5v2D$5$l$^$9!#(B</dd> <dt>Allow,Deny</dt> <dd><code>Allow</code> $B%G%#%l%/%F%#%V$,(B <code>Deny</code> $B%G%#%l%/%F%#%V$NA0$KI>2A$5$l$^$9!#(B $B%"%/%;%9$O%G%U%)%k%H$G5qH]$5$l$^$9!#(B<code>Allow</code> $B%G%#%l%/%F%#%V$K9g$o$J$$$+!"(B<code>Deny</code> $B%G%#%l%/%F%#%V$K9g$&%/%i%$%"%s%H$O%"%/%;%9$r5qH]$5$l$^$9!#(B </dd> <dt>Mutual-failure</dt> <dd><code>Allow</code> $B$N%j%9%H$K8=$l$F!"(B<code>Deny</code> $B$N%j%9%H$K8=$l$J$$%[%9%H$N$_$,%"%/%;%9$r5v2D$5$l$^$9!#(B $B$3$N=gHVIU$1$O(B <code>Order Allow,Deny</code> $B$HF1$88z2L$r;}$A!"(B $B$=$N@_Dj$NJ}$,9%$^$7$$$?$a$KHs?d>)$H$J$C$F$$$^$9!#(B</dd> </dl> <p>$B%-!<%o!<%I$O%3%s%^$GJ,N%$9$k$3$H$@$1$,2DG=$G$9!#(B $B4V$K6uGr$,$"$C$F$O$$$1$^$;$s!#$I$N>l9g$G$b!"(B<code>Allow</code> $B$H(B <code>Deny</code> $BJ8$OA4$FI>2A$5$l$k$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#(B </p> <p>$B0J2<$NNc$G$O!"(Bapache.org $B%I%a%$%s$N$9$Y$F$N%[%9%H$O%"%/%;%9$r5v2D$5$l$^$9!#(B $BB>$N$9$Y$F$N%[%9%H$O%"%/%;%9$r5qH]$5$l$^$9!#(B</p> <blockquote> <code>Order Deny,Allow<br /> Deny from all<br /> Allow from apache.org<br /> </code> </blockquote> <p>$B<!$NNc$G$O!"(Bfoo.apache.org $B%5%V%I%a%$%s$K$"$k%[%9%H0J30$N!"(B apache.org $B%I%a%$%s$N$9$Y$F$N%[%9%H$,%"%/%;%9$r5v2D$5$l$^$9!#(B apache.org $B%I%a%$%s$G$J$$%[%9%H$O!"%G%U%)%k%H$N>uBV$,%"%/%;%95qH]$N$?$a!"(B $B%5!<%P$X$N%"%/%;%9$r5qH]$5$l$^$9!#(B</p> <blockquote> <code>Order Allow,Deny<br /> Allow from apache.org<br /> Deny from foo.apache.org<br /> </code> </blockquote> <p>$B0lJ}!">e$NNc$N(B <code>Order</code> $B$,(B <code>Deny,Allow</code> $B$KJQ$o$C$F$$$l$P!"$9$Y$N%[%9%H$K%"%/%;%9$,5v2D$5$l$^$9!#(B $B$3$l$O!"@_Dj%U%!%$%kCf$N<B:]$N=gHV$K4X$o$i$:!"(B <code>Allow from apache.org</code> $B$,:G8e$KI>2A$5$l$F!"(B <code>Deny from foo.apache.org</code> $B$r>e=q$-$9$k$+$i$G$9!#(B <code>apache.org</code> $B%I%a%$%s$K$J$$%[%9%H$b!"%G%U%)%k%H$N>uBV$,(B <em>allow</em> $B$KJQ2=$9$k$?$a$K!"%"%/%;%9$r5v2D$5$l$^$9!#(B </p> <p><code>Order</code> $B%G%#%l%/%F%#%V$O%G%U%)%k%H$N%"%/%;%9$N>uBV$K1F6A$rM?$($k$N$G!"(B <code>Allow</code> $B%G%#%l%/%F%#%V$H(B <code>Deny</code> $B%G%#%l%/%F%#%V$,L5$/$F$b!"%5!<%P$N%"%/%;%9$K1F6A$rM?$($k$3$H$,$G$-$^$9!#(B $B$?$H$($P!"(B</p> <blockquote> <code><Directory /www><br /> Order Allow,Deny<br /> </Directory></code> </blockquote> <p>$B$O%G%U%)%k%H$N%"%/%;%9>uBV$,(B <em>deny</em> $B$K$J$k$?$a!"(B <code>/www</code> $B%G%#%l%/%H%j$X$N$9$Y$F$N%"%/%;%9$r5qH]$7$^$9!#(B </p> <p><code>Order</code> $B%G%#%l%/%F%#%V$O%5!<%P$N@_Dj=hM}$N3FCJ3,$G$@$1(B $B%"%/%;%9%G%#%l%/%F%#%V$N=hM}$N=gHV$rJQ99$7$^$9!#$3$l$O!"$?$H$($P!"(B <code>Order</code> $B%G%#%l%/%F%#%V$N@_Dj$K4X$o$i$:!"(B <Location> $B%;%/%7%g%s$N(B <code>Allow</code> $B%G%#%l%/%F%#%V$d(B <code>Deny</code> $B%G%#%l%/%F%#%V$O!"(B<Directory> $B%;%/%7%g%s$d(B <code>.htaccess</code> $B%U%!%$%k$N(B <code>Allow</code> $B%G%#%l%/%F%#%V$d(B <code>Deny</code> $B%G%#%l%/%F%#%V$h$j$b>o$K8e$KI>2A$5$l$k$H$$$&$3$H$r0UL#$7$^$9!#(B $B@_Dj%;%/%7%g%s$N%^!<%8$N>\:Y$K$D$$$F$O!"(B <a href="../sections.html">Directory,Location, Files $B%;%/%7%g%s$NF0:nJ}K!(B</a> $B$r;2>H$7$F$/$@$5$$!#(B</p> <p><a href="#deny">Deny</a> $B$H(B <a href="#allow">Allow</a> $B$b;2>H$7$F$/$@$5$$!#(B</p> <hr /> <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> <a href="./"><img src="../images/index.gif" alt="Index" /></a> <a href="../"><img src="../images/home.gif" alt="Home" /></a> </body> </html>