| <?xml version="1.0" encoding="iso-2022-jp"?> | |
| <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd"> | |
| <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?> | |
| <!-- English Revision: 522942 --> | |
| <!-- | |
| Licensed to the Apache Software Foundation (ASF) under one or more | |
| contributor license agreements. See the NOTICE file distributed with | |
| this work for additional information regarding copyright ownership. | |
| The ASF licenses this file to You under the Apache License, Version 2.0 | |
| (the "License"); you may not use this file except in compliance with | |
| the License. You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 | |
| Unless required by applicable law or agreed to in writing, software | |
| distributed under the License is distributed on an "AS IS" BASIS, | |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| See the License for the specific language governing permissions and | |
| limitations under the License. | |
| --> | |
| <modulesynopsis metafile="mod_access_compat.xml.meta"> | |
| <name>mod_access_compat</name> | |
| <description>$B%[%9%H(B ($BL>A0$b$7$/$O(B IP $B%"%I%l%9(B) $B$K4p$E$$$?%0%k!<%W>5G'(B</description> | |
| <status>Extension</status> | |
| <sourcefile>mod_access_compat.c</sourcefile> | |
| <identifier>access_compat_module</identifier> | |
| <compatibility>Apache 2.3 (Apache 2.x $B$N0JA0$N%P!<%8%g%s$H$N8_49@-$N$?$a$N%b%8%e!<%k$H$7$F(B)$B!#(B | |
| $B$3$N%b%8%e!<%k$GDs6!$9$k%G%#%l%/%F%#%V$O!">5G'$N;EAH$_$N0l?7$KH<$$!"Hs?d>)$K$J$C$?$b$N$G$9!#(B | |
| <module>mod_authz_host</module> $B$b8+$F$/$@$5$$!#(B</compatibility> | |
| <summary> | |
| <p><module>mod_access_compat</module> $B$K$h$jDs6!$5$l$k%G%#%l%/%F%#%V$O(B | |
| $B%5!<%P$NFCDj$NItJ,$X$N(B | |
| $B%"%/%;%9$r@)8f$9$k$?$a$K(B <directive module="core" type="section" | |
| >Directory</directive>, <directive module="core" | |
| type="section">Files</directive>, <directive module="core" | |
| type="section">Location</directive> | |
| $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$J$I$N%j%/%(%9%H$NFCD'$K4p$E$$$F(B | |
| $B%"%/%;%9@)8f$r9T$J$&$3$H$,$G$-$^$9!#(B<directive | |
| module="mod_access_compat">Allow</directive> $B$H(B | |
| <directive module="mod_access_compat">Deny</directive> $B%G%#%l%/%F%#%V$r;H$C$F!"(B | |
| $B$I$N$h$&$J%/%i%$%"%s%H$K%"%/%;%9$r(B | |
| $B5v2D$9$k!"$7$J$$$r;XDj$7$^$9!#$^$?(B | |
| <directive module="mod_access_compat">Order</directive> $B%G%#%l%/%F%#%V$r;H$C$F!"(B | |
| $B%G%U%)%k%H$N%"%/%;%9>uBV$H!"(B | |
| <directive module="mod_access_compat">Allow</directive> $B%G%#%l%/%F%#%V$H(B | |
| <directive module="mod_access_compat">Deny</directive> | |
| $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$r!"(B | |
| $BF1;~$KAH$_9g$o$;$F;H$&$3$H$b$G$-$^$9!#(B | |
| $B$3$N>l9g!"$=$NFs$D$N@)8B$N4X78$r;XDj$9$k$?$a$K(B | |
| <directive module="core">Satisfy</directive> | |
| $B%G%#%l%/%F%#%V$r;HMQ$7$^$9!#(B</p> | |
| <note type="warning"><title>Note</title> | |
| <p><module>mod_access_compat</module>$B$,Ds6!$9$k%G%#%l%/%F%#%V$O!"(B | |
| $B>5G'$N;EAH$_$N0l?7$KH<$$!"Hs?d>)$K$J$C$?$b$N$G$9!#(B | |
| <module>mod_authz_host</module> $B$b8+$F$/$@$5$$!#(B | |
| $B%G%U%)%k%H$N>5G'$N<h$j07$$5!G=$r;HMQ$9$k$?$a$K(B | |
| <module>mod_authz_default</module> | |
| $B%b%8%e!<%k$b%m!<%I$5$l$J$1$l$P$J$j$^$;$s!#(B</p> | |
| </note> | |
| <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<directive module="core" type="section">Limit</directive> | |
| $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> | |
| </summary> | |
| <seealso><directive module="mod_authz_core">Require</directive></seealso> | |
| <seealso><module>mod_authz_host</module></seealso> | |
| <seealso><module>mod_authz_core</module></seealso> | |
| <directivesynopsis> | |
| <name>Allow</name> | |
| <description>$B%5!<%P$N$"$kNN0h$K%"%/%;%9$G$-$k%[%9%H$r@)8f$9$k(B</description> | |
| <syntax> Allow from all|<var>host</var>|env=<var>env-variable</var> | |
| [<var>host</var>|env=<var>env-variable</var>] ...</syntax> | |
| <contextlist><context>directory</context><context>.htaccess</context> | |
| </contextlist> | |
| <override>Limit</override> | |
| <usage> | |
| <p><directive>Allow</directive> $B%G%#%l%/%F%#%V$O!"$I$N%[%9%H$,(B | |
| $B%5!<%P$N$"$kNN0h$K%"%/%;%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$J$I$N%/%i%$%"%s%H$N%j%/%(%9%H$N(B | |
| $BFCD'$K4p$E$$$F%"%/%;%9@)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 | |
| <directive module="mod_access_compat">Deny</directive> | |
| $B%G%#%l%/%F%#%V$H(B <directive module="mod_access_compat">Order</directive> | |
| $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> | |
| <example><title>$BNc(B</title> | |
| Allow from apache.org<br /> | |
| Allow from .net example.edu | |
| </example> | |
| <p>$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!"(BApache $B$O(B | |
| <directive module="core">HostnameLookups</directive> | |
| $B$N@_Dj$K4X$o$i$:!"%/%i%$%"%s%H$N(B IP $B%"%I%l%9$KBP$7$F(B | |
| DNS $B$N(B 2 $B=E5U0z$-$r9T$J$$$^$9!#(B | |
| $B%[%9%HL>$+$i%*%j%8%J%k$N(B IP $B%"%I%l%9$r=g0z$-$7$^$9!#(B | |
| $B=g0z$-$H5U0z$-$,0lCW$7!"%[%9%HL>$,3:Ev$7$?>l9g$K$N$_!"(B | |
| $B%"%/%;%9$,5v2D$5$l$^$9!#(B</p></dd> | |
| <dt>$B40A4$J(B IP $B%"%I%l%9(B</dt> | |
| <dd> | |
| <example><title>$BNc(B</title> | |
| Allow from 10.1.2.3<br /> | |
| Allow from 192.168.1.104 192.168.1.205 | |
| </example> | |
| <p>$B%"%/%;%9$r5v2D$9$k(B IP $B%"%I%l%9$G$9!#(B</p></dd> | |
| <dt>IP $B%"%I%l%9$N0lIt(B</dt> | |
| <dd> | |
| <example><title>$BNc(B</title> | |
| Allow from 10.1<br /> | |
| Allow from 10 172.20 192.168.2 | |
| </example> | |
| <p>$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</p></dd> | |
| <dt>$B%M%C%H%o!<%/(B/$B%M%C%H%^%9%/(B $B$NBP(B</dt> | |
| <dd> | |
| <example><title>$BNc(B</title> | |
| Allow from 10.1.0.0/255.255.0.0 | |
| </example> | |
| <p>$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</p></dd> | |
| <dt>$B%M%C%H%o!<%/(B/nnn CIDR $B;XDj(B</dt> | |
| <dd> | |
| <example><title>$BNc(B</title> | |
| Allow from 10.1.0.0/16 | |
| </example> | |
| <p>$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</p></dd> | |
| </dl> | |
| <p>$BCm(B: $B:G8e$N;0$D$NNc$O$^$C$?$/F1$8%[%9%H$K9g$$$^$9!#(B</p> | |
| <p>IPv6 $B%"%I%l%9$H(B IPv6 $B$N%5%V%M%C%H$O0J2<$N$h$&$K;XDj$G$-$^$9(B:</p> | |
| <example> | |
| Allow from 2001:db8::a00:20ff:fea7:ccea<br /> | |
| Allow from 2001:db8::a00:20ff:fea7:ccea/10 | |
| </example> | |
| <p><directive>Allow</directive> $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=<var>env-variable</var></code> | |
| $B$,;XDj$5$l$F$$$k$H!"4D6-JQ?t(B <var>env-variable</var> | |
| $B$,B8:_$7$?>l9g$K%j%/%(%9%H$O%"%/%;%9$r5v2D$5$l$^$9!#%5!<%P$O(B | |
| <module>mod_setenvif</module> | |
| $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> | |
| <example><title>Example:</title> | |
| SetEnvIf User-Agent ^KnockKnock/2\.0 let_me_in<br /> | |
| <Directory /docroot><br /> | |
| <indent> | |
| Order Deny,Allow<br /> | |
| Deny from all<br /> | |
| Allow from env=let_me_in<br /> | |
| </indent> | |
| </Directory> | |
| </example> | |
| <p>$B$3$N>l9g!"(Buser-agent $B$NJ8;zNs$,(B <code>KnockKnock/2.0</code> | |
| $B$G;O$^$k%V%i%&%6$N$_$,%"%/%;%9$,5v2D$5$l!"(B | |
| $BB>$N$b$N$O%"%/%;%9$,5qH]$5$l$^$9!#(B</p> | |
| </usage> | |
| </directivesynopsis> | |
| <directivesynopsis> | |
| <name>Deny</name> | |
| <description>$B%5!<%P$,%"%/%;%9$r5qH]$9$k%[%9%H$r@)8f$9$k(B</description> | |
| <syntax> Deny from all|<var>host</var>|env=<var>env-variable</var> | |
| [<var>host</var>|env=<var>env-variable</var>] ...</syntax> | |
| <contextlist><context>directory</context><context>.htaccess</context> | |
| </contextlist> | |
| <override>Limit</override> | |
| <usage> | |
| <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 | |
| <directive>Deny</directive> $B%G%#%l%/%F%#%V$N0z?t$O(B <directive | |
| module="mod_access_compat">Allow</directive> | |
| $B%G%#%l%/%F%#%V$H$^$C$?$/F1$8$G$9!#(B</p> | |
| </usage> | |
| </directivesynopsis> | |
| <directivesynopsis> | |
| <name>Order</name> | |
| <description>$B%G%U%)%k%H$N%"%/%;%92DG=$J>uBV$H!"(B<directive>Allow</directive> $B$H(B | |
| <directive>Deny</directive> $B$,I>2A$5$l$k=gHV$r@)8f$9$k(B</description> | |
| <syntax> Order <var>ordering</var></syntax> | |
| <default>Order Deny,Allow</default> | |
| <contextlist><context>directory</context><context>.htaccess</context> | |
| </contextlist> | |
| <override>Limit</override> | |
| <usage> | |
| <p><directive>Order</directive> $B%G%#%l%/%F%#%V$O(B <directive | |
| module="mod_access_compat">Allow</directive> $B%G%#%l%/%F%#%V$H(B<directive | |
| module="mod_access_compat">Deny</directive> $B$H6&$K(B"3$BCJ3,%"%/%;%9@)8f%7%9%F%`(B" | |
| $B$r@)8f$7$^$9!#Bh(B1$BCJ3,L\$G$O(B <directive>Order</directive> $B%G%#%l%/%F%#%V$G(B1$BHVL\$K(B | |
| $B;XDj$7$?%G%#%l%/%F%#%V(B(<directive module="mod_access_compat">Allow</directive> | |
| $B$^$?$O(B <directive module="mod_access_compat">Deny</directive>)$B$rA4$F=hM}$7$^$9!#(B | |
| $BBh(B2$BCJ3,L\$G!";D$j$N%G%#%l%/%F%#%V(B(<directive | |
| module="mod_access_compat">Deny</directive> $B$^$?$O(B <directive | |
| module="mod_access_compat">Allow</directive>) | |
| $B$rA4$F=hM}$7$^$9!#Bh(B3$BCJ3,L\$G!"Bh(B1$BCJ3,L\$HBh(B2$BCJ3,L\$G(B | |
| $B%^%C%A$7$J$+$C$?%j%/%(%9%H$r=hM}$7$^$9!#(B</p> | |
| <p>$BA4$F$N(B <directive module="mod_access_compat">Allow</directive> $B$H(B <directive | |
| module="mod_access_compat">Deny</directive> $B$,=hM}$5$l!"7k6I$N$H$3$m:G8e$K%^%C%A(B | |
| $B$7$?>r7o$,M-8z$H$J$k$3$H$KCm0U$7$F$/$@$5$$!#$3$l$O:G=i$K%^%C%A$7$?>r7o$@$1$,M-8z(B | |
| $B$H$J$k!"E57?E*$J%U%!%$%"%&%)!<%k$NF0:n$H$O0[$J$C$F$$$^$9!#(B | |
| $B$^$?!"@_Dj%U%!%$%k$K=q$/=gHV$K$O0UL#$O$"$j$^$;$s!#(B<directive | |
| module="mod_access_compat">Allow</directive> $B9T$OA4It0l$D$N%0%k!<%W$H$7$F07$o$l!"(B | |
| <directive module="mod_access_compat">Deny</directive> $B9T$O$b$&0l$D$N%0%k!<%W$H$_$J$5$l$^$9!#(B | |
| $B$^$?%G%U%)%k%H>uBV$OC1FH$G0l$D$N%0%k!<%W$H$_$J$5$l$^$9!#(B</p> | |
| <p><em>Order</em> $B@_Dj$O0J2<$N0J2<$N$I$l$+$G$9!#(B</p> | |
| <dl> | |
| <dt><code>Allow,Deny</code></dt> | |
| <dd>$B$^$:(B <directive module="mod_access_compat">Allow</directive> | |
| $B%G%#%l%/%F%#%V$,E,MQ$5$l$^$9!#$I$l$K$b%^%C%A$7$J$+$C$?>l9g!"$3$N;~E@$G(B | |
| $B%j%/%(%9%H$O5qH]$5$l$^$9!#<!$K!"A4$F$N(B <directive module="mod_access_compat"> | |
| Deny</directive> $B%G%#%l%/%F%#%V$,E,MQ$5$l$^$9!#$I$l$+0l$D$G$b%^%C%A$7$?>l9g$O!"(B | |
| $B%j%/%(%9%H$O5qH]$5$l$^$9!#(B | |
| $B:G8e$K!"(B <directive module="mod_access_compat">Allow</directive> $B$K$b(B <directive | |
| module="mod_access_compat">Deny</directive> $B$K$b%^%C%A$7$J$+$C$?%j%/%(%9%H$O(B | |
| $B%G%U%)%k%H@_Dj$,E,MQ$5$l$k$N$G5qH]$5$l$^$9!#(B</dd> | |
| <dt><code>Deny,Allow</code></dt> | |
| <dd>$B$^$:(B <directive module="mod_access_compat">Deny</directive> | |
| $B%G%#%l%/%F%#%V$,E,MQ$5$l$^$9!#$I$l$+0l$D$G$b%^%C%A$7$?>l9g$O!"(B | |
| <directive module="mod_access_compat">Allow</directive> $B$N$I$l$K$b(B | |
| $B%^%C%A(B<strong>$B$7$J$1$l$P(B</strong>$B!"%"%/%;%9$O5qH]$5$l$^$9!#(B | |
| $B$I$N(B <directive module="mod_access_compat">Allow</directive> $B$K$b(B <directive | |
| module="mod_access_compat">Deny</directive> $B$K$b%^%C%A$7$J$$%j%/%(%9%H$O(B | |
| $B5v2D$5$l$^$9!#(B</dd> | |
| <dt><code>Mutual-failure</code></dt> | |
| <dd>$B$3$l$O(B <directive>Order Allow,Deny</directive> $B$HA4$/F1$88z2L$r;}$A!"(B | |
| $B$=$N$?$aHs?d>)$H$J$C$F$$$^$9!#(B | |
| </dd> | |
| </dl> | |
| <p>$B%-!<%o!<%I$N4V$KCV$1$k$N$O%3%s%^$@$1$G$9!#(B | |
| $B4V$K(B<em>$B6uGr$,$"$C$F$O$$$1$^$;$s(B</em>$B!#(B</p> | |
| <table border="1"> | |
| <tr> | |
| <th>$B%^%C%A(B</th> | |
| <th>Allow,Deny $B;~$N7k2L(B</th> | |
| <th>Deny,Allow $B;~$N7k2L(B</th> | |
| </tr><tr> | |
| <th>Allow $B$@$1$K%^%C%A(B</th> | |
| <td>$B5v2D(B</td> | |
| <td>$B5v2D(B</td> | |
| </tr><tr> | |
| <th>Deny $B$@$1$K%^%C%A(B</th> | |
| <td>$B5qH](B</td> | |
| <td>$B5qH](B</td> | |
| </tr><tr> | |
| <th>$B$I$A$i$K$b%^%C%A$7$J$$(B</th> | |
| <td>2$BHVL\$N%G%#%l%/%F%#%V$,%G%U%)%k%H(B: $B5qH](B</td> | |
| <td>2$BHVL\$N%G%#%l%/%F%#%V$,%G%U%)%k%H(B: $B5v2D(B</td> | |
| </tr><tr> | |
| <th>Allow $B$H(B Deny $BN>J}$K%^%C%A(B</th> | |
| <td>$B:G8e$K%^%C%A$7$?$[$&(B: $B5qH](B</td> | |
| <td>$B:G8e$K%^%C%A$7$?$[$&(B: $B5v2D(B</td> | |
| </tr> | |
| </table> | |
| <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> | |
| <example> | |
| Order Deny,Allow<br /> | |
| Deny from all<br /> | |
| Allow from apache.org | |
| </example> | |
| <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$,(B <directive | |
| module="mod_access_compat">Deny</directive> $B$N$?$a!"(B | |
| $B%5!<%P$X$N%"%/%;%9$r5qH]$5$l$^$9!#(B</p> | |
| <example> | |
| Order Allow,Deny<br /> | |
| Allow from apache.org<br /> | |
| Deny from foo.apache.org | |
| </example> | |
| <p>$B0lJ}!">e$NNc$N(B <directive>Order</directive> $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 <directive | |
| module="mod_access_compat">Allow</directive> | |
| $B$J$N$G!"%"%/%;%9$r5v2D$5$l$^$9!#(B | |
| </p> | |
| <p><directive>Order</directive> | |
| $B%G%#%l%/%F%#%V$O%G%U%)%k%H$N%"%/%;%9$N>uBV$K1F6A$rM?$($k$N$G!"(B | |
| <directive module="mod_authz_host">Allow</directive> $B%G%#%l%/%F%#%V$H(B | |
| <directive module="mod_authz_host">Deny</directive> | |
| $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> | |
| <example> | |
| <Directory /www><br /> | |
| <indent> | |
| Order Allow,Deny<br /> | |
| </indent> | |
| </Directory> | |
| </example> | |
| <p>$B$O%G%U%)%k%H$N%"%/%;%9>uBV$,(B | |
| <directive module="mod_access_compat">Deny</directive> $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><directive>Order</directive> | |
| $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 | |
| <directive>Order</directive> $B%G%#%l%/%F%#%V$N@_Dj$K4X$o$i$:!"(B | |
| <directive module="core" type="section">Location</directive> $B%;%/%7%g%s$N(B | |
| <directive module="mod_access_compat">Allow</directive> $B%G%#%l%/%F%#%V$d(B | |
| <directive module="mod_access_compat">Deny</directive> $B%G%#%l%/%F%#%V$O!"(B | |
| <directive module="core" type="sectino">Directory</directive> $B%;%/%7%g%s$d(B | |
| <code>.htaccess</code> $B%U%!%$%k$N(B <directive | |
| module="mod_access_compat">Allow</directive> | |
| $B%G%#%l%/%F%#%V$d(B <directive module="mod_access_compat">Deny</directive> | |
| $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> | |
| </usage> | |
| </directivesynopsis> | |
| <directivesynopsis> | |
| <name>Satisfy</name> | |
| <description>$B%[%9%H%l%Y%k$N%"%/%;%9@)8f$H%f!<%6G'>Z$H$NAj8_:nMQ$r;XDj(B</description> | |
| <syntax>Satisfy Any|All</syntax> | |
| <default>Satisfy All</default> | |
| <contextlist><context>directory</context><context>.htaccess</context> | |
| </contextlist> | |
| <override>AuthConfig</override> | |
| <compatibility>$B%P!<%8%g%s(B 2.0.51 $B0J9_$G$O(B <directive module="core" type="section" | |
| >Limit</directive> $B%G%#%l%/%F%#%V$H(B <directive module="core" | |
| type="section">LimitExcept</directive> $B%G%#%l%/%F%#%V$N1F6A$r<u$1$k(B | |
| </compatibility> | |
| <usage> | |
| <p><directive module="mod_authz_host">Allow</directive> $B$H(B | |
| <directive module="mod_authz_core">Require</directive> $B$NN>J}$,;H$o$l$F$$$k$H$-$N(B | |
| $B%"%/%;%9%]%j%7!<$r@_Dj$7$^$9!#%Q%i%a!<%?$O(B <code>All</code> $B$+(B <code>Any</code> | |
| $B$G$9!#$3$N%G%#%l%/%F%#%V$O$"$k>l=j$X$N%"%/%;%9$,%f!<%6L>(B/$B%Q%9%o!<%I(B | |
| <em>$B$H(B</em>$B%/%i%$%"%s%H$N%[%9%H$N%"%I%l%9$G@)8B$5$l$F$$$k$H$-$K$N$_(B | |
| $BLrN)$A$^$9!#%G%U%)%k%H$NF0:n(B (<code>All</code>) $B$O%/%i%$%"%s%H$,%"%I%l%9$K$h$k(B | |
| $B%"%/%;%9@)8B$rK~$?$7!"(B<em>$B$+$D(B</em>$B@5$7$$%f!<%6L>$H%Q%9%o!<%I$rF~NO$9$k$3$H$r(B | |
| $BMW5a$7$^$9!#(B<code>Any</code> $B$G$O!"%/%i%$%"%s%H$O%[%9%H$N@)8B$rK~$?$9$+!"(B | |
| $B@5$7$$%f!<%6L>$H%Q%9%o!<%I$NF~NO$r$9$k$+$r$9$l$P%"%/%;%9$r5v2D$5$l$^$9!#(B | |
| $B$3$l$O!"$"$k>l=j$r%Q%9%o!<%I$GJ]8n$9$k$1$l$I!"FCDj$N%"%I%l%9$+$i$N(B | |
| $B%/%i%$%"%s%H$K$O%Q%9%o!<%I$NF~NO$rMW5a$;$:$K%"%/%;%9$r5v2D$9$k!"(B | |
| $B$H$$$&$h$&$J$H$-$K;HMQ$G$-$^$9!#(B</p> | |
| <p>$BNc$($P!"F1$8%M%C%H%o!<%/>e$K$$$k?M$K$O%&%'%V%5%$%H$N$"$kItJ,$K$D$$$F(B | |
| $BL5@)8B$N%"%/%;%9$r5v$7$?$$$1$l$I!"30$N%M%C%H%o!<%/$N?M$K$O(B | |
| $B%Q%9%o!<%I$rDs6!$5$;$k$h$&$K$9$k$?$a$K$O!"<!$N$h$&$J@_Dj$r$9$k$3$H$,(B | |
| $B$G$-$^$9(B:</p> | |
| <example> | |
| Require valid-user<br /> | |
| Allow from 192.168.1<br /> | |
| Satisfy Any | |
| </example> | |
| <p>$B%P!<%8%g%s(B 2.0.51 $B$+$i$O(B | |
| <directive module="core" | |
| type="section">Limit</directive> $B%;%/%7%g%s$H(B | |
| <directive module="core" type="section" | |
| >LimitExcept</directive> $B%;%/%7%g%s$r;HMQ$9$k$3$H$G(B | |
| <directive>Satisfy</directive> $B%G%#%l%/%F%#%V$,(B | |
| $BE,MQ$5$l$k%a%=%C%I$r@)8B$9$k$3$H$,(B | |
| $B$G$-$k$h$&$K$J$j$^$7$?!#(B</p> | |
| </usage> | |
| <seealso><directive module="mod_access_compat">Allow</directive></seealso> | |
| <seealso><directive module="mod_authz_core">Require</directive></seealso> | |
| </directivesynopsis> | |
| </modulesynopsis> |