1 <?xml version="1.0" encoding="iso-2022-jp"?>
2 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
3 <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
4 <!-- English Revision: 522942:552021 (outdated) -->
7 Licensed to the Apache Software Foundation (ASF) under one or more
8 contributor license agreements. See the NOTICE file distributed with
9 this work for additional information regarding copyright ownership.
10 The ASF licenses this file to You under the Apache License, Version 2.0
11 (the "License"); you may not use this file except in compliance with
12 the License. You may obtain a copy of the License at
14 http://www.apache.org/licenses/LICENSE-2.0
16 Unless required by applicable law or agreed to in writing, software
17 distributed under the License is distributed on an "AS IS" BASIS,
18 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 See the License for the specific language governing permissions and
20 limitations under the License.
23 <modulesynopsis metafile="mod_access_compat.xml.meta">
25 <name>mod_access_compat</name>
26 <description>
\e$B%[%9%H
\e(B (
\e$BL>A0$b$7$/$O
\e(B IP
\e$B%"%I%l%9
\e(B)
\e$B$K4p$E$$$?%0%k!<%W>5G'
\e(B</description>
27 <status>Extension</status>
28 <sourcefile>mod_access_compat.c</sourcefile>
29 <identifier>access_compat_module</identifier>
30 <compatibility>Apache 2.3 (Apache 2.x
\e$B$N0JA0$N%P!<%8%g%s$H$N8_49@-$N$?$a$N%b%8%e!<%k$H$7$F
\e(B)
\e$B!#
\e(B
31 \e$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!#
\e(B
32 <module>mod_authz_host</module>
\e$B$b8+$F$/$@$5$$!#
\e(B</compatibility>
35 <p><module>mod_access_compat</module>
\e$B$K$h$jDs6!$5$l$k%G%#%l%/%F%#%V$O
\e(B
36 \e$B%5!<%P$NFCDj$NItJ,$X$N
\e(B
37 \e$B%"%/%;%9$r@)8f$9$k$?$a$K
\e(B <directive module="core" type="section"
38 >Directory</directive>, <directive module="core"
39 type="section">Files</directive>, <directive module="core"
40 type="section">Location</directive>
41 \e$B$H
\e(B <code><a href="core.html#accessfilename">.htaccess</a
42 ></code>
\e$B%U%!%$%k$G;HMQ$5$l$^$9!#%/%i%$%"%s%H$N%[%9%HL>!"
\e(BIP
43 \e$B%"%I%l%9$d!"
\e(B<a href="../env.html">
\e$B4D6-JQ?t
\e(B</a
44 >
\e$B$J$I$N%j%/%(%9%H$NFCD'$K4p$E$$$F
\e(B
45 \e$B%"%/%;%9@)8f$r9T$J$&$3$H$,$G$-$^$9!#
\e(B<directive
46 module="mod_access_compat">Allow</directive>
\e$B$H
\e(B
47 <directive module="mod_access_compat">Deny</directive>
\e$B%G%#%l%/%F%#%V$r;H$C$F!"
\e(B
48 \e$B$I$N$h$&$J%/%i%$%"%s%H$K%"%/%;%9$r
\e(B
49 \e$B5v2D$9$k!"$7$J$$$r;XDj$7$^$9!#$^$?
\e(B
50 <directive module="mod_access_compat">Order</directive>
\e$B%G%#%l%/%F%#%V$r;H$C$F!"
\e(B
51 \e$B%G%U%)%k%H$N%"%/%;%9>uBV$H!"
\e(B
52 <directive module="mod_access_compat">Allow</directive>
\e$B%G%#%l%/%F%#%V$H
\e(B
53 <directive module="mod_access_compat">Deny</directive>
54 \e$B%G%#%l%/%F%#%V$H$N$*8_$$$X$N1F6A$N;EJ}$r@_Dj$7$^$9!#
\e(B
57 <p>
\e$B%[%9%H$K$h$k%"%/%;%9@)8B$H%Q%9%o!<%I$K$h$kG'>Z$r!"
\e(B
58 \e$BF1;~$KAH$_9g$o$;$F;H$&$3$H$b$G$-$^$9!#
\e(B
59 \e$B$3$N>l9g!"$=$NFs$D$N@)8B$N4X78$r;XDj$9$k$?$a$K
\e(B
60 <directive module="core">Satisfy</directive>
61 \e$B%G%#%l%/%F%#%V$r;HMQ$7$^$9!#
\e(B</p>
63 <note type="warning"><title>Note</title>
64 <p><module>mod_access_compat</module>
\e$B$,Ds6!$9$k%G%#%l%/%F%#%V$O!"
\e(B
65 \e$B>5G'$N;EAH$_$N0l?7$KH<$$!"Hs?d>)$K$J$C$?$b$N$G$9!#
\e(B
66 <module>mod_authz_host</module>
\e$B$b8+$F$/$@$5$$!#
\e(B
67 \e$B%G%U%)%k%H$N>5G'$N<h$j07$$5!G=$r;HMQ$9$k$?$a$K
\e(B
68 <module>mod_authz_default</module>
69 \e$B%b%8%e!<%k$b%m!<%I$5$l$J$1$l$P$J$j$^$;$s!#
\e(B</p>
72 <p>
\e$B0lHLE*$K$O!"%"%/%;%9@)8B%G%#%l%/%F%#%V$O$9$Y$F$N%"%/%;%9%a%=%C%I
\e(B
73 (<code>GET</code>, <code>PUT</code>, <code>POST</code>
\e$B$J$I
\e(B)
74 \e$B$KE,MQ$5$l$^$9!#$=$7$F!"$[$H$s$I$N>l9g$3$l$,K>$^$7$$F0:n$G$9!#
\e(B
75 \e$B$7$+$7!"
\e(B<directive module="core" type="section">Limit</directive>
76 \e$B%;%/%7%g%s$NCf$K%G%#%l%/%F%#%V$r=q$/$3$H$G!"
\e(B
77 \e$B0lIt$N%a%=%C%I$K$N$_@)8B$r$+$1$k$3$H$b$G$-$^$9!#
\e(B</p>
80 <seealso><directive module="mod_authz_core">Require</directive></seealso>
81 <seealso><module>mod_authz_host</module></seealso>
82 <seealso><module>mod_authz_core</module></seealso>
86 <description>
\e$B%5!<%P$N$"$kNN0h$K%"%/%;%9$G$-$k%[%9%H$r@)8f$9$k
\e(B</description>
87 <syntax> Allow from all|<var>host</var>|env=<var>env-variable</var>
88 [<var>host</var>|env=<var>env-variable</var>] ...</syntax>
89 <contextlist><context>directory</context><context>.htaccess</context>
91 <override>Limit</override>
94 <p><directive>Allow</directive>
\e$B%G%#%l%/%F%#%V$O!"$I$N%[%9%H$,
\e(B
95 \e$B%5!<%P$N$"$kNN0h$K%"%/%;%9$G$-$k$+$K1F6A$rM?$($^$9!#
\e(B
96 \e$B%"%/%;%9$O%[%9%HL>!"
\e(BIP
\e$B%"%I%l%9!"
\e(BIP
\e$B%"%I%l%9$NHO0O$d!"
\e(B
97 \e$B4D6-JQ?t$J$I$N%/%i%$%"%s%H$N%j%/%(%9%H$N
\e(B
98 \e$BFCD'$K4p$E$$$F%"%/%;%9@)8f$9$k$3$H$,$G$-$^$9!#
\e(B</p>
100 <p>
\e$B$3$N%G%#%l%/%F%#%V$N:G=i$N0z?t$O>o$K
\e(B <code>from</code>
\e$B$G$9!#
\e(B
101 \e$B$=$l$KB3$/0z?t$O;0$D$N0c$C$?7A<0$,$"$j$^$9!#
\e(B<code>Allow from
102 all</code>
\e$B$,;XDj$5$l$F$$$l$P!"$9$Y$F$N%[%9%H$K%"%/%;%9$r5v2D$7!"
\e(B
103 \e$B%"%/%;%9@)8B$O2<$G@bL@$5$l$F$$$k$h$&$K!"
\e(B
104 <directive module="mod_access_compat">Deny</directive>
105 \e$B%G%#%l%/%F%#%V$H
\e(B <directive module="mod_access_compat">Order</directive>
106 \e$B%G%#%l%/%F%#%V$N@_Dj$G7h$^$j$^$9!#
\e(B
107 \e$BFCDj$N%[%9%H$d%[%9%H72$K$N$_%5!<%P$X$N%"%/%;%9$r5v2D$9$k$?$a$K$O!"
\e(B
108 \e$B0J2<$N$I$l$+$N7A<0$G
\e(B <em>host</em>
\e$B$r;XDj$9$k$3$H$,$G$-$^$9
\e(B:</p>
111 <dt>
\e$B%I%a%$%sL>
\e(B (
\e$B$N0lIt
\e(B)</dt>
114 <example><title>
\e$BNc
\e(B</title>
115 Allow from apache.org<br />
116 Allow from .net example.edu
118 <p>
\e$B$3$NJ8;zNs$K9g$&$+!"$3$l$G=*$o$kL>A0$N%[%9%H$N%"%/%;%9$,5v2D$5$l$^$9!#
\e(B
119 \e$B3FItJ,$,40A4$K9g$&$b$N$@$1$KE,MQ$5$l$^$9$N$G!">e$NNc$O
\e(B
120 <code>foo.apache.org</code>
\e$B$K$O%^%C%A$7$^$9$,!"
\e(B
121 <code>fooapache.org</code>
\e$B$K$O%^%C%A$7$^$;$s!#
\e(B
122 \e$B$3$N@_Dj$r$9$k$H!"
\e(BApache
\e$B$O
\e(B
123 <directive module="core">HostnameLookups</directive>
124 \e$B$N@_Dj$K4X$o$i$:!"%/%i%$%"%s%H$N
\e(B IP
\e$B%"%I%l%9$KBP$7$F
\e(B
125 DNS
\e$B$N
\e(B 2
\e$B=E5U0z$-$r9T$J$$$^$9!#
\e(B
126 \e$B%[%9%HL>$+$i%*%j%8%J%k$N
\e(B IP
\e$B%"%I%l%9$r=g0z$-$7$^$9!#
\e(B
127 \e$B=g0z$-$H5U0z$-$,0lCW$7!"%[%9%HL>$,3:Ev$7$?>l9g$K$N$_!"
\e(B
128 \e$B%"%/%;%9$,5v2D$5$l$^$9!#
\e(B</p></dd>
130 <dt>
\e$B40A4$J
\e(B IP
\e$B%"%I%l%9
\e(B</dt>
133 <example><title>
\e$BNc
\e(B</title>
134 Allow from 10.1.2.3<br />
135 Allow from 192.168.1.104 192.168.1.205
137 <p>
\e$B%"%/%;%9$r5v2D$9$k
\e(B IP
\e$B%"%I%l%9$G$9!#
\e(B</p></dd>
139 <dt>IP
\e$B%"%I%l%9$N0lIt
\e(B</dt>
142 <example><title>
\e$BNc
\e(B</title>
143 Allow from 10.1<br />
144 Allow from 10 172.20 192.168.2
146 <p>
\e$B%5%V%M%C%H$N@)8BMQ$N!"
\e(BIP
147 \e$B%"%I%l%9$N:G=i$N0l$D$+$i;0$D$^$G$N%P%$%H$G$9!#
\e(B</p></dd>
149 <dt>
\e$B%M%C%H%o!<%/
\e(B/
\e$B%M%C%H%^%9%/
\e(B
\e$B$NBP
\e(B</dt>
152 <example><title>
\e$BNc
\e(B</title>
153 Allow from 10.1.0.0/255.255.0.0
155 <p>
\e$B%M%C%H%o!<%/
\e(B a.b.c.d
\e$B$H%M%C%H%^%9%/
\e(B w.x.y.z
\e$B$G$9!#
\e(B
156 \e$B$h$j:YN3EY$N%5%V%M%C%H@)8BMQ$G$9!#
\e(B</p></dd>
158 <dt>
\e$B%M%C%H%o!<%/
\e(B/nnn CIDR
\e$B;XDj
\e(B</dt>
161 <example><title>
\e$BNc
\e(B</title>
162 Allow from 10.1.0.0/16
164 <p>
\e$B%M%C%H%^%9%/$,
\e(B nnn
\e$B$N>e0L%S%C%H$,
\e(B 1
165 \e$B$H$J$C$F$$$k$b$N$+$i$J$k$3$H0J30$OA0$N$b$N$HF1$8$G$9!#
\e(B</p></dd>
168 <p>
\e$BCm
\e(B:
\e$B:G8e$N;0$D$NNc$O$^$C$?$/F1$8%[%9%H$K9g$$$^$9!#
\e(B</p>
171 <p>IPv6
\e$B%"%I%l%9$H
\e(B IPv6
\e$B$N%5%V%M%C%H$O0J2<$N$h$&$K;XDj$G$-$^$9
\e(B:</p>
174 Allow from 2001:db8::a00:20ff:fea7:ccea<br />
175 Allow from 2001:db8::a00:20ff:fea7:ccea/10
178 <p><directive>Allow</directive>
\e$B%G%#%l%/%F%#%V$N0z?t$N;0$DL\$N7A<0$O!"
\e(B
179 <a href="../env.html">
\e$B4D6-JQ?t
\e(B</a>
180 \e$B$NB8:_$K$h$j%"%/%;%9$N@)8f$r9T$J$($k$h$&$K$9$k$b$N$G$9!#
\e(B
181 <code>Allow from env=<var>env-variable</var></code>
182 \e$B$,;XDj$5$l$F$$$k$H!"4D6-JQ?t
\e(B <var>env-variable</var>
183 \e$B$,B8:_$7$?>l9g$K%j%/%(%9%H$O%"%/%;%9$r5v2D$5$l$^$9!#%5!<%P$O
\e(B
184 <module>mod_setenvif</module>
185 \e$B$N%G%#%l%/%F%#%V$K$h$j!"%/%i%$%"%s%H$N%j%/%(%9%H
\e(B
186 \e$B$NFCD'$K4p$E$$$F=@Fp$K4D6-JQ?t$r@_Dj$9$k5!G=$rDs6!$7$^$9!#
\e(B
187 \e$B$G$9$+$i!"$3$N%G%#%l%/%F%#%V$O%/%i%$%"%s%H$N
\e(B
188 <code>User-Agent</code> (
\e$B%V%i%&%6$N<oN`
\e(B)
\e$B!"
\e(B<code>Referer</code>
189 \e$B$dB>$N
\e(B HTTP
\e$B%j%/%(%9%H$N%X%C%@%U%#!<%k%I$J$I$K4p$E$$$F
\e(B
190 \e$B%"%/%;%95v2D$r$9$k$?$a$K;H$&$3$H$,$G$-$^$9!#
\e(B
193 <example><title>Example:</title>
194 SetEnvIf User-Agent ^KnockKnock/2\.0 let_me_in<br />
195 <Directory /docroot><br />
197 Order Deny,Allow<br />
199 Allow from env=let_me_in<br />
204 <p>
\e$B$3$N>l9g!"
\e(Buser-agent
\e$B$NJ8;zNs$,
\e(B <code>KnockKnock/2.0</code>
205 \e$B$G;O$^$k%V%i%&%6$N$_$,%"%/%;%9$,5v2D$5$l!"
\e(B
206 \e$BB>$N$b$N$O%"%/%;%9$,5qH]$5$l$^$9!#
\e(B</p>
213 <description>
\e$B%5!<%P$,%"%/%;%9$r5qH]$9$k%[%9%H$r@)8f$9$k
\e(B</description>
214 <syntax> Deny from all|<var>host</var>|env=<var>env-variable</var>
215 [<var>host</var>|env=<var>env-variable</var>] ...</syntax>
216 <contextlist><context>directory</context><context>.htaccess</context>
218 <override>Limit</override>
220 <p>
\e$B$3$N%G%#%l%/%F%#%V$O%[%9%HL>!"
\e(BIP
221 \e$B%"%I%l%9!"4D6-JQ?t$K4p$E$$$F%5!<%P$X$N%"%/%;%9$r@)8B$7$^$9!#
\e(B
222 <directive>Deny</directive>
\e$B%G%#%l%/%F%#%V$N0z?t$O
\e(B <directive
223 module="mod_access_compat">Allow</directive>
224 \e$B%G%#%l%/%F%#%V$H$^$C$?$/F1$8$G$9!#
\e(B</p>
231 <description>
\e$B%G%U%)%k%H$N%"%/%;%92DG=$J>uBV$H!"
\e(B<directive>Allow</directive>
\e$B$H
\e(B
232 <directive>Deny</directive>
\e$B$,I>2A$5$l$k=gHV$r@)8f$9$k
\e(B</description>
233 <syntax> Order <var>ordering</var></syntax>
234 <default>Order Deny,Allow</default>
235 <contextlist><context>directory</context><context>.htaccess</context>
237 <override>Limit</override>
241 <p><directive>Order</directive>
\e$B%G%#%l%/%F%#%V$O
\e(B <directive
242 module="mod_access_compat">Allow</directive>
\e$B%G%#%l%/%F%#%V$H
\e(B<directive
243 module="mod_access_compat">Deny</directive>
\e$B$H6&$K
\e(B"3
\e$BCJ3,%"%/%;%9@)8f%7%9%F%`
\e(B"
244 \e$B$r@)8f$7$^$9!#Bh
\e(B1
\e$BCJ3,L\$G$O
\e(B <directive>Order</directive>
\e$B%G%#%l%/%F%#%V$G
\e(B1
\e$BHVL\$K
\e(B
245 \e$B;XDj$7$?%G%#%l%/%F%#%V
\e(B(<directive module="mod_access_compat">Allow</directive>
246 \e$B$^$?$O
\e(B <directive module="mod_access_compat">Deny</directive>)
\e$B$rA4$F=hM}$7$^$9!#
\e(B
247 \e$BBh
\e(B2
\e$BCJ3,L\$G!";D$j$N%G%#%l%/%F%#%V
\e(B(<directive
248 module="mod_access_compat">Deny</directive>
\e$B$^$?$O
\e(B <directive
249 module="mod_access_compat">Allow</directive>)
250 \e$B$rA4$F=hM}$7$^$9!#Bh
\e(B3
\e$BCJ3,L\$G!"Bh
\e(B1
\e$BCJ3,L\$HBh
\e(B2
\e$BCJ3,L\$G
\e(B
251 \e$B%^%C%A$7$J$+$C$?%j%/%(%9%H$r=hM}$7$^$9!#
\e(B</p>
253 <p>
\e$BA4$F$N
\e(B <directive module="mod_access_compat">Allow</directive>
\e$B$H
\e(B <directive
254 module="mod_access_compat">Deny</directive>
\e$B$,=hM}$5$l!"7k6I$N$H$3$m:G8e$K%^%C%A
\e(B
255 \e$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
\e(B
256 \e$B$H$J$k!"E57?E*$J%U%!%$%"%&%)!<%k$NF0:n$H$O0[$J$C$F$$$^$9!#
\e(B
257 \e$B$^$?!"@_Dj%U%!%$%k$K=q$/=gHV$K$O0UL#$O$"$j$^$;$s!#
\e(B<directive
258 module="mod_access_compat">Allow</directive>
\e$B9T$OA4It0l$D$N%0%k!<%W$H$7$F07$o$l!"
\e(B
259 <directive module="mod_access_compat">Deny</directive>
\e$B9T$O$b$&0l$D$N%0%k!<%W$H$_$J$5$l$^$9!#
\e(B
260 \e$B$^$?%G%U%)%k%H>uBV$OC1FH$G0l$D$N%0%k!<%W$H$_$J$5$l$^$9!#
\e(B</p>
262 <p><em>Order</em>
\e$B@_Dj$O0J2<$N0J2<$N$I$l$+$G$9!#
\e(B</p>
265 <dt><code>Allow,Deny</code></dt>
267 <dd>
\e$B$^$:
\e(B <directive module="mod_access_compat">Allow</directive>
268 \e$B%G%#%l%/%F%#%V$,E,MQ$5$l$^$9!#$I$l$K$b%^%C%A$7$J$+$C$?>l9g!"$3$N;~E@$G
\e(B
269 \e$B%j%/%(%9%H$O5qH]$5$l$^$9!#<!$K!"A4$F$N
\e(B <directive module="mod_access_compat">
270 Deny</directive>
\e$B%G%#%l%/%F%#%V$,E,MQ$5$l$^$9!#$I$l$+0l$D$G$b%^%C%A$7$?>l9g$O!"
\e(B
271 \e$B%j%/%(%9%H$O5qH]$5$l$^$9!#
\e(B
272 \e$B:G8e$K!"
\e(B <directive module="mod_access_compat">Allow</directive>
\e$B$K$b
\e(B <directive
273 module="mod_access_compat">Deny</directive>
\e$B$K$b%^%C%A$7$J$+$C$?%j%/%(%9%H$O
\e(B
274 \e$B%G%U%)%k%H@_Dj$,E,MQ$5$l$k$N$G5qH]$5$l$^$9!#
\e(B</dd>
276 <dt><code>Deny,Allow</code></dt>
278 <dd>
\e$B$^$:
\e(B <directive module="mod_access_compat">Deny</directive>
279 \e$B%G%#%l%/%F%#%V$,E,MQ$5$l$^$9!#$I$l$+0l$D$G$b%^%C%A$7$?>l9g$O!"
\e(B
280 <directive module="mod_access_compat">Allow</directive>
\e$B$N$I$l$K$b
\e(B
281 \e$B%^%C%A
\e(B<strong>
\e$B$7$J$1$l$P
\e(B</strong>
\e$B!"%"%/%;%9$O5qH]$5$l$^$9!#
\e(B
282 \e$B$I$N
\e(B <directive module="mod_access_compat">Allow</directive>
\e$B$K$b
\e(B <directive
283 module="mod_access_compat">Deny</directive>
\e$B$K$b%^%C%A$7$J$$%j%/%(%9%H$O
\e(B
284 \e$B5v2D$5$l$^$9!#
\e(B</dd>
286 <dt><code>Mutual-failure</code></dt>
288 <dd>
\e$B$3$l$O
\e(B <directive>Order Allow,Deny</directive>
\e$B$HA4$/F1$88z2L$r;}$A!"
\e(B
289 \e$B$=$N$?$aHs?d>)$H$J$C$F$$$^$9!#
\e(B
293 <p>
\e$B%-!<%o!<%I$N4V$KCV$1$k$N$O%3%s%^$@$1$G$9!#
\e(B
294 \e$B4V$K
\e(B<em>
\e$B6uGr$,$"$C$F$O$$$1$^$;$s
\e(B</em>
\e$B!#
\e(B</p>
298 <th>
\e$B%^%C%A
\e(B</th>
299 <th>Allow,Deny
\e$B;~$N7k2L
\e(B</th>
300 <th>Deny,Allow
\e$B;~$N7k2L
\e(B</th>
302 <th>Allow
\e$B$@$1$K%^%C%A
\e(B</th>
303 <td>
\e$B5v2D
\e(B</td>
304 <td>
\e$B5v2D
\e(B</td>
306 <th>Deny
\e$B$@$1$K%^%C%A
\e(B</th>
307 <td>
\e$B5qH]
\e(B</td>
308 <td>
\e$B5qH]
\e(B</td>
310 <th>
\e$B$I$A$i$K$b%^%C%A$7$J$$
\e(B</th>
311 <td>2
\e$BHVL\$N%G%#%l%/%F%#%V$,%G%U%)%k%H
\e(B:
\e$B5qH]
\e(B</td>
312 <td>2
\e$BHVL\$N%G%#%l%/%F%#%V$,%G%U%)%k%H
\e(B:
\e$B5v2D
\e(B</td>
314 <th>Allow
\e$B$H
\e(B Deny
\e$BN>J}$K%^%C%A
\e(B</th>
315 <td>
\e$B:G8e$K%^%C%A$7$?$[$&
\e(B:
\e$B5qH]
\e(B</td>
316 <td>
\e$B:G8e$K%^%C%A$7$?$[$&
\e(B:
\e$B5v2D
\e(B</td>
320 <p>
\e$B0J2<$NNc$G$O!"
\e(Bapache.org
321 \e$B%I%a%$%s$N$9$Y$F$N%[%9%H$O%"%/%;%9$r5v2D$5$l$^$9!#
\e(B
322 \e$BB>$N$9$Y$F$N%[%9%H$O%"%/%;%9$r5qH]$5$l$^$9!#
\e(B</p>
325 Order Deny,Allow<br />
327 Allow from apache.org
330 <p>
\e$B<!$NNc$G$O!"
\e(Bfoo.apache.org
\e$B%5%V%I%a%$%s$K$"$k%[%9%H0J30$N!"
\e(B
331 apache.org
\e$B%I%a%$%s$N$9$Y$F$N%[%9%H$,%"%/%;%9$r5v2D$5$l$^$9!#
\e(B
333 \e$B%I%a%$%s$G$J$$%[%9%H$O!"%G%U%)%k%H$N>uBV$,
\e(B <directive
334 module="mod_access_compat">Deny</directive>
\e$B$N$?$a!"
\e(B
335 \e$B%5!<%P$X$N%"%/%;%9$r5qH]$5$l$^$9!#
\e(B</p>
338 Order Allow,Deny<br />
339 Allow from apache.org<br />
340 Deny from foo.apache.org
343 <p>
\e$B0lJ}!">e$NNc$N
\e(B <directive>Order</directive>
\e$B$,
\e(B <code>Deny,Allow</code>
344 \e$B$KJQ$o$C$F$$$l$P!"$9$Y$N%[%9%H$K%"%/%;%9$,5v2D$5$l$^$9!#
\e(B
345 \e$B$3$l$O!"@_Dj%U%!%$%kCf$N<B:]$N=gHV$K4X$o$i$:!"
\e(B
346 <code>Allow from apache.org</code>
\e$B$,:G8e$KI>2A$5$l$F!"
\e(B
347 <code>Deny from foo.apache.org</code>
\e$B$r>e=q$-$9$k$+$i$G$9!#
\e(B
348 <code>apache.org</code>
349 \e$B%I%a%$%s$K$J$$%[%9%H$b!"%G%U%)%k%H$N>uBV$,
\e(B <directive
350 module="mod_access_compat">Allow</directive>
351 \e$B$J$N$G!"%"%/%;%9$r5v2D$5$l$^$9!#
\e(B
354 <p><directive>Order</directive>
355 \e$B%G%#%l%/%F%#%V$O%G%U%)%k%H$N%"%/%;%9$N>uBV$K1F6A$rM?$($k$N$G!"
\e(B
356 <directive module="mod_authz_host">Allow</directive>
\e$B%G%#%l%/%F%#%V$H
\e(B
357 <directive module="mod_authz_host">Deny</directive>
358 \e$B%G%#%l%/%F%#%V$,L5$/$F$b!"%5!<%P$N%"%/%;%9$K1F6A$rM?$($k$3$H$,$G$-$^$9!#
\e(B
359 \e$B$?$H$($P!"
\e(B</p>
362 <Directory /www><br />
364 Order Allow,Deny<br />
369 <p>
\e$B$O%G%U%)%k%H$N%"%/%;%9>uBV$,
\e(B
370 <directive module="mod_access_compat">Deny</directive>
\e$B$K$J$k$?$a!"
\e(B
371 <code>/www</code>
\e$B%G%#%l%/%H%j$X$N$9$Y$F$N%"%/%;%9$r5qH]$7$^$9!#
\e(B
374 <p><directive>Order</directive>
375 \e$B%G%#%l%/%F%#%V$O%5!<%P$N@_Dj=hM}$N3FCJ3,$G$@$1
\e(B
376 \e$B%"%/%;%9%G%#%l%/%F%#%V$N=hM}$N=gHV$rJQ99$7$^$9!#$3$l$O!"$?$H$($P!"
\e(B
377 <directive>Order</directive>
\e$B%G%#%l%/%F%#%V$N@_Dj$K4X$o$i$:!"
\e(B
378 <directive module="core" type="section">Location</directive>
\e$B%;%/%7%g%s$N
\e(B
379 <directive module="mod_access_compat">Allow</directive>
\e$B%G%#%l%/%F%#%V$d
\e(B
380 <directive module="mod_access_compat">Deny</directive>
\e$B%G%#%l%/%F%#%V$O!"
\e(B
381 <directive module="core" type="sectino">Directory</directive>
\e$B%;%/%7%g%s$d
\e(B
382 <code>.htaccess</code>
\e$B%U%!%$%k$N
\e(B <directive
383 module="mod_access_compat">Allow</directive>
384 \e$B%G%#%l%/%F%#%V$d
\e(B <directive module="mod_access_compat">Deny</directive>
385 \e$B%G%#%l%/%F%#%V$h$j$b>o$K8e$KI>2A$5$l$k$H$$$&$3$H$r0UL#$7$^$9!#
\e(B
386 \e$B@_Dj%;%/%7%g%s$N%^!<%8$N>\:Y$K$D$$$F$O!"
\e(B
387 <a href="../sections.html">Directory,Location, Files
388 \e$B%;%/%7%g%s$NF0:nJ}K!
\e(B</a>
\e$B$r;2>H$7$F$/$@$5$$!#
\e(B</p>
394 <description>
\e$B%[%9%H%l%Y%k$N%"%/%;%9@)8f$H%f!<%6G'>Z$H$NAj8_:nMQ$r;XDj
\e(B</description>
395 <syntax>Satisfy Any|All</syntax>
396 <default>Satisfy All</default>
397 <contextlist><context>directory</context><context>.htaccess</context>
399 <override>AuthConfig</override>
400 <compatibility>
\e$B%P!<%8%g%s
\e(B 2.0.51
\e$B0J9_$G$O
\e(B <directive module="core" type="section"
401 >Limit</directive>
\e$B%G%#%l%/%F%#%V$H
\e(B <directive module="core"
402 type="section">LimitExcept</directive>
\e$B%G%#%l%/%F%#%V$N1F6A$r<u$1$k
\e(B
406 <p><directive module="mod_authz_host">Allow</directive>
\e$B$H
\e(B
407 <directive module="mod_authz_core">Require</directive>
\e$B$NN>J}$,;H$o$l$F$$$k$H$-$N
\e(B
408 \e$B%"%/%;%9%]%j%7!<$r@_Dj$7$^$9!#%Q%i%a!<%?$O
\e(B <code>All</code>
\e$B$+
\e(B <code>Any</code>
409 \e$B$G$9!#$3$N%G%#%l%/%F%#%V$O$"$k>l=j$X$N%"%/%;%9$,%f!<%6L>
\e(B/
\e$B%Q%9%o!<%I
\e(B
410 <em>
\e$B$H
\e(B</em>
\e$B%/%i%$%"%s%H$N%[%9%H$N%"%I%l%9$G@)8B$5$l$F$$$k$H$-$K$N$_
\e(B
411 \e$BLrN)$A$^$9!#%G%U%)%k%H$NF0:n
\e(B (<code>All</code>)
\e$B$O%/%i%$%"%s%H$,%"%I%l%9$K$h$k
\e(B
412 \e$B%"%/%;%9@)8B$rK~$?$7!"
\e(B<em>
\e$B$+$D
\e(B</em>
\e$B@5$7$$%f!<%6L>$H%Q%9%o!<%I$rF~NO$9$k$3$H$r
\e(B
413 \e$BMW5a$7$^$9!#
\e(B<code>Any</code>
\e$B$G$O!"%/%i%$%"%s%H$O%[%9%H$N@)8B$rK~$?$9$+!"
\e(B
414 \e$B@5$7$$%f!<%6L>$H%Q%9%o!<%I$NF~NO$r$9$k$+$r$9$l$P%"%/%;%9$r5v2D$5$l$^$9!#
\e(B
415 \e$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
\e(B
416 \e$B%/%i%$%"%s%H$K$O%Q%9%o!<%I$NF~NO$rMW5a$;$:$K%"%/%;%9$r5v2D$9$k!"
\e(B
417 \e$B$H$$$&$h$&$J$H$-$K;HMQ$G$-$^$9!#
\e(B</p>
419 <p>
\e$BNc$($P!"F1$8%M%C%H%o!<%/>e$K$$$k?M$K$O%&%'%V%5%$%H$N$"$kItJ,$K$D$$$F
\e(B
420 \e$BL5@)8B$N%"%/%;%9$r5v$7$?$$$1$l$I!"30$N%M%C%H%o!<%/$N?M$K$O
\e(B
421 \e$B%Q%9%o!<%I$rDs6!$5$;$k$h$&$K$9$k$?$a$K$O!"<!$N$h$&$J@_Dj$r$9$k$3$H$,
\e(B
422 \e$B$G$-$^$9
\e(B:</p>
425 Require valid-user<br />
426 Allow from 192.168.1<br />
430 <p>
\e$B%P!<%8%g%s
\e(B 2.0.51
\e$B$+$i$O
\e(B
431 <directive module="core"
432 type="section">Limit</directive>
\e$B%;%/%7%g%s$H
\e(B
433 <directive module="core" type="section"
434 >LimitExcept</directive>
\e$B%;%/%7%g%s$r;HMQ$9$k$3$H$G
\e(B
435 <directive>Satisfy</directive>
\e$B%G%#%l%/%F%#%V$,
\e(B
436 \e$BE,MQ$5$l$k%a%=%C%I$r@)8B$9$k$3$H$,
\e(B
437 \e$B$G$-$k$h$&$K$J$j$^$7$?!#
\e(B</p>
439 <seealso><directive module="mod_access_compat">Allow</directive></seealso>
440 <seealso><directive module="mod_authz_core">Require</directive></seealso>