]> granicus.if.org Git - apache/blob - docs/manual/howto/auth.xml.ja
977a9f1a0523c996f231e67a6448301675ba8fe5
[apache] / docs / manual / howto / auth.xml.ja
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.8 -->
5
6 <!--
7  Copyright 2003-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="auth.xml.meta">
23 <parentdocument href="./">How-To / \e$B%A%e!<%H%j%"%k\e(B</parentdocument>
24
25 <title>\e$BG'>Z!">5G'!"%"%/%;%9@)8f\e(B</title>
26
27 <summary>
28     <p>\e$B!VG'>Z!W$H$O!"C/$+$,<+J,$OC/$G$"$k$+$r<gD%$7$?>l9g$K!"\e(B
29     \e$B$=$l$r3NG'$9$k$?$a$NA42aDx$r;X$7$^$9!#!V>5G'!W$H$O!"\e(B
30     \e$BC/$+$,9T$-$?$$>l=j$K9T$1$k$h$&$K!"$"$k$$$OM_$7$$>pJs$r\e(B
31     \e$BF@$k$3$H$,$G$-$k$h$&$K$9$k$?$a$NA42aDx$r;X$7$^$9!#\e(B</p>
32 </summary>
33   
34 <section id="related"><title>\e$B4XO"$9$k%b%8%e!<%k$H%G%#%l%/%F%#%V\e(B</title>
35     <related>
36       <modulelist>
37         <module>mod_auth_basic</module>
38         <module>mod_authn_file</module>
39         <module>mod_authz_groupfile</module>
40         <module>mod_authz_host</module>
41       </modulelist>
42
43       <directivelist>
44         <directive module="mod_authz_host">Allow</directive>
45         <directive module="mod_authz_groupfile">AuthGroupFile</directive>
46         <directive module="core">AuthName</directive>
47         <directive module="core">AuthType</directive>
48         <directive module="mod_authn_file">AuthUserFile</directive>
49         <directive module="mod_authz_host">Deny</directive>
50         <directive module="core">Options</directive>
51         <directive module="core">Require</directive>
52       </directivelist>
53     </related>
54 </section>
55
56 <section id="introduction"><title>\e$B$O$8$a$K\e(B</title>
57     <p>\e$B$b$75!L)$N>pJs$d!"$4$/$4$/>/?t%0%k!<%W$N?M8~$1$N>pJs$r\e(B
58     \e$B%&%'%V%5%$%H$KCV$/$N$G$"$l$P!"$3$NJ8=q$K=q$+$l$F$$$k\e(B
59     \e$B%F%/%K%C%/$r;H$&$3$H$G!"$=$N%Z!<%8$r8+$F$$$k?M$?$A$,\e(B
60     \e$BK>$_$N?M$?$A$G$"$k$3$H$r3N<B$K$G$-$k$G$7$g$&!#\e(B</p>
61
62     <p>\e$B$3$NJ8=q$G$O!"B?$/$N?M$,:NMQ$9$k$G$"$m$&!"\e(B
63     \e$B%&%'%V%5%$%H$N0lItJ,$rJ]8n$9$k!V0lHLE*$J!W\e(B
64     \e$BJ}K!$K$D$$$F%+%P!<$7$F$$$^$9!#\e(B</p>
65 </section>
66
67 <section id="theprerequisites"><title>\e$B=`Hw\e(B</title>
68     <p>\e$B$3$NJ8=q$G<h$j07$o$l$k%G%#%l%/%F%#%V$O!"\e(B
69     \e$B%a%$%s%5!<%P@_Dj%U%!%$%k\e(B (\e$BIaDL$O\e(B 
70     <directive module="core" type="section">Directory</directive>
71     \e$B%;%/%7%g%sCf\e(B) \e$B$+!"$"$k$$$O%G%#%l%/%H%jKh$N@_Dj%U%!%$%k\e(B 
72     (<code>.htaccess</code> \e$B%U%!%$%k\e(B) \e$B$+$GMQ$$$^$9!#\e(B</p>
73
74     <p><code>.htaccess</code> \e$B%U%!%$%k$rMQ$$$k$N$G$"$l$P!"\e(B
75     \e$B$3$l$i$N%U%!%$%k$KG'>ZMQ$N%G%#%l%/%F%#%V$rCV$1$k$h$&$K\e(B
76     \e$B%5!<%P$N@_Dj$r$7$J$$$H$$$1$J$$$G$7$g$&!#$3$l$O\e(B
77     <directive module="core">AllowOverride</directive>
78     \e$B%G%#%l%/%F%#%V$G2DG=$K$J$j$^$9!#\e(B
79     <directive module="core">AllowOverride</directive>
80     \e$B%G%#%l%/%F%#%V$G$O!"%G%#%l%/%H%jKh$N@_Dj%U%!%$%kCf$KCV$/$3$H$N$G$-$k\e(B
81     \e$B%G%#%l%/%F%#%V$r!"$b$7$"$l$P!";XDj$7$^$9!#\e(B</p>
82
83     <p>\e$BG'>Z$K$D$$$FOC$r?J$a$F$$$k$N$G!"<!$N$h$&$J\e(B
84     <directive module="core">AllowOverride</directive>
85     \e$B%G%#%l%/%F%#%V$,I,MW$K$J$k$G$7$g$&!#\e(B</p>
86
87     <example>
88       AllowOverride AuthConfig
89     </example>
90
91     <p>\e$B$=$&$G$J$/!"%a%$%s%5!<%P@_Dj%U%!%$%k$NCf$K\e(B
92     \e$BD>@\CV$/$N$G$"$l$P!"EvA3$J$,$i$=$N%U%!%$%k$X$N=q$-9~$_\e(B
93     \e$B8"8B$r;}$C$F$$$J$1$l$P$J$i$J$$$G$7$g$&!#\e(B</p>
94
95     <p>\e$B$^$?!"$I$N%U%!%$%k$,$I$3$KJ]B8$5$l$F$$$k$+CN$k$?$a$K!"\e(B
96     \e$B%5!<%P$N%G%#%l%/%H%j9=B$$K$D$$$F>/$7CN$C$F$*$/\e(B
97     \e$BI,MW$,$"$k$G$7$g$&!#\e(B
98     \e$B$3$l$O$=$s$J$KFq$7$/$J$$$N$G!"$3$NJ8=qCf$G\e(B
99     \e$B%G%#%l%/%H%j9=B$$K$D$$$FCN$C$F$*$/I,MW$,$"$k>lLL$G$O!"\e(B
100     \e$BL@$i$+$K$J$k$h$&$K$7$^$9!#\e(B</p>
101 </section>
102
103 <section id="gettingitworking"><title>\e$BF0:n$5$;$k\e(B</title>
104     <p>\e$B$G$O!"%5!<%P>e$N$"$k%G%#%l%/%H%j$r%Q%9%o!<%I$GJ]8n$9$k\e(B
105     \e$B4pK\<j=g$r<($7$^$9!#\e(B</p>
106
107     <p>\e$B%Q%9%o!<%I%U%!%$%k$r:n$kI,MW$,$"$j$^$9!#\e(B
108     \e$B$3$N%U%!%$%k$O!"%&%'%V$+$i%"%/%;%9$G$-$k>l=j$K\e(B
109     \e$BCV$/$Y$-$G$O$"$j$^$;$s!#B>$N?M$,%Q%9%o!<%I%U%!%$%k$r\e(B
110     \e$B%@%&%s%m!<%I$G$-$J$$$h$&$K$9$k$?$a$G$9!#Nc$($P!"\e(B
111     <code>/usr/local/apache/htdocs</code> \e$B$G%I%-%e%a%s%H$r\e(B
112     \e$BDs6!$7$F$$$k$N$G$"$l$P!"%Q%9%o!<%I%U%!%$%k$O\e(B
113     <code>/usr/local/apache/passwd</code>
114     \e$B$J$I$KCV$$$?J}$,NI$$$G$7$g$&!#\e(B</p>
115
116     <p>\e$B%U%!%$%k$r:n$k$?$a$K$O!"\e(BApache \e$BIUB0$N\e(B <a
117     href="../programs/htpasswd.html">htpasswd</a> 
118     \e$B$r;H$$$^$9!#$3$N%3%^%s%I$O\e(B Apache \e$B$r$I$3$K%$%s%9%H!<%k$7$h$&$H$b!"\e(B
119     \e$B%$%s%9%H!<%k%G%#%l%/%H%j$N\e(B <code>bin</code> 
120     \e$B%G%#%l%/%H%j0J2<$KCV$+$l$^$9!#%U%!%$%k$r:n$k$K$O!"<!$N$h$&$K\e(B
121     \e$B%?%$%W$7$F$/$@$5$$!#\e(B</p>
122
123     <example>
124       htpasswd -c /usr/local/apache/passwd/passwords rbowen
125     </example>
126
127     <p><code>htpasswd</code> \e$B$O!"%Q%9%o!<%I$rMW5a$7!"$=$N8e\e(B
128     \e$B3NG'$N$?$a$K$b$&0lEYF~NO$9$k$h$&$KMW5a$7$F$-$^$9!#\e(B</p>
129
130     <example>
131       # htpasswd -c /usr/local/apache/passwd/passwords rbowen<br />
132       New password: mypassword<br />
133       Re-type new password: mypassword<br />
134       Adding password for user rbowen
135     </example>
136
137     <p>\e$B$b$7\e(B <code>htpasswd</code> \e$B$,%Q%9$NCf$KF~$C$F$$$J$$>l9g$O!"\e(B
138     \e$B$b$A$m$s!"<B9T$9$k$?$a$K%W%m%0%i%`$^$G$N%U%k%Q%9$r\e(B
139     \e$B%?%$%W$9$kI,MW$,$"$j$^$9!#;d$N%5!<%P$G$"$l$P!"\e(B
140     <code>/usr/local/apache/bin/htpasswd</code>
141     \e$B$K%W%m%0%i%`$,CV$+$l$F$$$^$9!#\e(B</p>
142
143     <p>\e$B<!$K!"%5!<%P$,%Q%9%o!<%I$rMW5a$9$k$h$&$K@_Dj$7$F!"\e(B
144     \e$B$I$N%f!<%6$,%"%/%;%9$r5v$5$l$F$$$k$+$r%5!<%P$KCN$i$;$J$1$l$P\e(B
145     \e$B$J$j$^$;$s!#\e(B <code>httpd.conf</code> \e$B$rJT=8$9$k$+\e(B
146     <code>.htaccess</code> \e$B%U%!%$%k$r;HMQ$9$k$+$G\e(B
147     \e$B@_Dj$7$^$9!#Nc$($P!"%G%#%l%/%H%j\e(B
148     <code>/usr/local/apache/htdocs/secret</code>
149     \e$B$rJ]8n$7$?$$>l9g$O!"\e(B
150     <code>/usr/local/apache/htdocs/secret/.htaccess</code>
151     \e$B$+\e(B httpd.conf \e$BCf$N\e(B &lt;Directory
152     /usr/local/apache/apache/htdocs/secret&gt; \e$B%;%/%7%g%s$K\e(B
153     \e$BG[CV$7$F!"<!$N%G%#%l%/%F%#%V$r;H$&$3$H$,$G$-$^$9!#\e(B</p>
154
155     <example>
156       AuthType Basic<br />
157       AuthName "Restricted Files"<br />
158       AuthUserFile /usr/local/apache/passwd/passwords<br />
159       Require user rbowen
160     </example>
161
162     <p>\e$B8D!9$N%G%#%l%/%F%#%V$K$D$$$F8+$F$_$^$7$g$&!#\e(B
163     <directive module="core">AuthType</directive>
164     \e$B%G%#%l%/%F%#%V$O$I$&$$$&G'>ZJ}K!$G%f!<%6$NG'>Z$r9T$&$+$r\e(B
165     \e$BA*Br$7$^$9!#:G$b0lHLE*$JJ}K!$O\e(B <code>Basic</code>
166     \e$B$G!"$3$l$O\e(B <module>mod_auth_basic</module>
167     \e$B$G<BAu$5$l$F$$$^$9!#$7$+$7$J$,$i!"\e(B
168     \e$B$3$l$O5$$rIU$1$k$Y$-=EMW$J%]%$%s%H$J$N$G$9$,!"\e(B
169     Basic \e$BG'>Z$O%/%i%$%"%s%H$+$i%V%i%&%6$X!"\e(B
170     \e$B%Q%9%o!<%I$r0E9f2=$;$:$KAw$j$^$9!#$G$9$+$i!"\e(B
171     \e$B$3$NJ}K!$OFC$K5!L)@-$N9b$$%G!<%?$KBP$7$F$OMQ$$$k$Y$-$G$O\e(B
172     \e$B$"$j$^$;$s!#\e(B Apache \e$B$G$O$b$&0l$DJL$NG'>ZJ}K!\e(B:
173     <code>AuthType Digest</code> \e$B$r%5%]!<%H$7$F$$$^$9!#\e(B
174     \e$B$3$NJ}K!$O\e(B <module>mod_auth_digest</module>
175     \e$B$G<BAu$5$l$F$$$F!"$b$C$H0BA4$G$9!#\e(B
176     \e$B$4$/$4$/:G6a$N%/%i%$%"%s%H$7$+\e(B Digest
177     \e$BG'>Z$r%5%]!<%H$7$F$$$J$$$h$&$G$9!#\e(B</p>
178
179     <p><directive module="core">AuthName</directive>
180     \e$B%G%#%l%/%F%#%V$G$O!"G'>Z$K;H$&\e(B <dfn>Realm</dfn> (\e$BLuCm\e(B: \e$BNN0h\e(B)
181     \e$B$r@_Dj$7$^$9!#\e(BRealm \e$B$OBg$-$/J,$1$FFs$D$N5!G=$rDs6!$7$^$9!#\e(B
182     \e$B0l$DL\$O!"%/%i%$%"%s%H$,%Q%9%o!<%I%@%$%"%m%0%\%C%/%9$N\e(B
183     \e$B0lIt$H$7$F%f!<%6$K$3$N>pJs$r$h$/Ds<($9$k!"$H$$$&$b$N$G$9!#\e(B
184     \e$BFs$DL\$K$O!"%/%i%$%"%s%H$,M?$($i$l$?G'>ZNN0h$KBP$7$F$I$N%Q%9%o!<%I$r\e(B
185     \e$BAw?.$9$l$PNI$$$N$+$r7hDj$9$k$?$a$K;H$o$l$k!"$H$$$&5!G=$G$9!#\e(B</p>
186
187     <p>\e$BNc$($P!"\e(B<code>"Restricted Files"</code> \e$BNN0hCf$G\e(B
188     \e$B0lEYG'>Z$5$l$l$P!"F10l%5!<%P>e$G\e(B <code>"Restricted Files"</code>
189     Realm \e$B$H$7$F%^!<%/$5$l$?$I$s$JNN0h$G$b!"%/%i%$%"%s%H$O\e(B
190     \e$B<+F0E*$KF1$8%Q%9%o!<%I$r;H$*$&$H;n$_$^$9!#\e(B
191     \e$B$3$N$*$+$2$G!"J#?t$N@)8BNN0h$KF1$8\e(B realm \e$B$r6&M-$5$;$F!"\e(B
192     \e$B%f!<%6$,%Q%9%o!<%I$r2?EY$bMW5a$5$l$k;vBV$r\e(B
193     \e$BKI$0$3$H$,$G$-$^$9!#$b$A$m$s!"%;%-%e%j%F%#>e$NM}M3$+$i!"\e(B
194     \e$B%5!<%P$N%[%9%HL>$,JQ$o$l$P$$$D$G$bI,$:!"\e(B
195     \e$B%/%i%$%"%s%H$O:F$S%Q%9%o!<%I$r?R$M$kI,MW$,$"$j$^$9!#\e(B</p>
196
197     <p><directive module="mod_authn_file">AuthUserFile</directive>
198     \e$B%G%#%l%/%F%#%V$O\e(B <code>htpasswd</code> \e$B$G:n$C$?\e(B
199     \e$B%Q%9%o!<%I%U%!%$%k$X$N%Q%9$r@_Dj$7$^$9!#\e(B
200     \e$B%f!<%6?t$,B?$$>l9g$O!"%j%/%(%9%HKh$N%f!<%6$NG'>Z$N$?$a$N\e(B
201     \e$B%W%l!<%s%F%-%9%H$NC5:w$,Hs>o$KCY$/$J$k$3$H$,$"$j$^$9!#\e(B
202     Apache \e$B$G$O%f!<%6>pJs$r9bB.$J%G!<%?%Y!<%9%U%!%$%k$K\e(B
203     \e$BJ]4I$9$k$3$H$b$G$-$^$9!#\e(B
204     <module>mod_auth_dbm</module> \e$B%b%8%e!<%k$,\e(B
205     <directive module="mod_authn_dbm">AuthDBMUserFile</directive>
206     \e$B%G%#%l%/%F%#%V$rDs6!$7$^$9!#$3$l$i$N%U%!%$%k$O\e(B <a
207     href="../programs/dbmmanage.html">dbmmanage</a>
208     \e$B%W%m%0%i%`$G:n@.$7$?$jA`:n$7$?$j$G$-$^$9!#\e(B
209     <a href="http://modules.apache.org/">Apache 
210     \e$B%b%8%e!<%k%G!<%?%Y!<%9\e(B</a>\e$BCf$K$"$k%5!<%I%Q!<%F%#!<@=$N\e(B
211     \e$B%b%8%e!<%k$G!"$=$NB>B?$/$N%?%$%W$NG'>Z%*%W%7%g%s$,\e(B
212     \e$BMxMQ2DG=$G$9!#\e(B</p>
213
214     <p>\e$B:G8e$K!"\e(B<directive module="core">Require</directive>
215     \e$B%G%#%l%/%F%#%V$,!"%5!<%P$N$3$NNN0h$K%"%/%;%9$G$-$k%f!<%6$r\e(B
216     \e$B;XDj$9$k$3$H$K$h$C$F!"%W%m%;%9$N>5G'ItJ,$rDs6!$7$^$9!#\e(B
217     \e$B<!$N%;%/%7%g%s$G$O!"\e(B<directive module="core">Require</directive>
218     \e$B%G%#%l%/%F%#%V$NMM!9$JMQK!$K$D$$$F=R$Y$^$9!#\e(B</p>
219 </section>
220
221 <section id="lettingmorethanonepersonin"><title>
222 \e$BJ#?t$N?M$,F~$l$k$h$&$K$9$k\e(B</title>
223     <p>\e$B>e5-$N%G%#%l%/%F%#%V$O!"$?$@0l?M\e(B (\e$B6qBNE*$K$O%f!<%6L>\e(B
224     <code>rbowen</code> \e$B$NC/$+\e(B) \e$B$,%G%#%l%/%H%j$K\e(B
225     \e$BF~$l$k$h$&$K$7$^$9!#B?$/$N>l9g$O!"J#?t$N?M$,\e(B
226     \e$BF~$l$k$h$&$K$7$?$$$G$7$g$&!#$3$3$G\e(B
227     <directive module="mod_authz_groupfile">AuthGroupFile</directive>
228     \e$B$NEP>l$G$9!#\e(B</p>
229
230     <p>\e$B$b$7J#?t$N?M$,F~$l$k$h$&$K$7$?$$$N$G$"$l$P!"\e(B
231     \e$B%0%k!<%W$KB0$9$k%f!<%6$N0lMw$NF~$C$F$$$k!"%0%k!<%WL>$N$D$$$?\e(B
232     \e$B%0%k!<%W%U%!%$%k$r:n$kI,MW$,$"$j$^$9!#$3$N%U%!%$%k$N\e(B
233     \e$B=q<0$O$-$o$a$FC1=c$G!"$*9%$_$N%(%G%#%?$G@8@.$G$-$^$9!#\e(B
234     \e$B%U%!%$%k$NCf?H$O<!$N$h$&$J$b$N$G$9!#\e(B</p>
235
236    <example>
237      GroupName: rbowen dpitts sungo rshersey
238    </example>
239
240     <p>\e$B0l9T$K%9%Z!<%96h@Z$j$G!"%0%k!<%W$K=jB0$9$k%a%s%P!<$N\e(B
241     \e$B0lMw$r$J$i$Y$k$@$1$G$9!#\e(B</p>
242
243     <p>\e$B4{$KB8:_$9$k%Q%9%o!<%I%U%!%$%k$K%f!<%6$r2C$($k>l9g$O!"\e(B
244     \e$B<!$N$h$&$K%?%$%W$7$F$/$@$5$$!#\e(B</p>
245
246     <example>
247       htpasswd /usr/local/apache/passwd/password dpitts
248     </example>
249
250     <p>\e$B0JA0$HF1$81~Ez$,JV$5$l$^$9$,!"?7$7$$%U%!%$%k$r\e(B
251     \e$B:n$k$N$G$O$J$/!"4{$K$"$k%U%!%$%k$KDI2C$5$l$F$$$^$9!#\e(B
252     (\e$B?7$7$$%Q%9%o!<%I%U%!%$%k$r:n$k$K$O\e(B <code>-c</code>
253     \e$B$r;H$$$^$9!#\e(B)</p>
254
255     <p>\e$B$3$3$G<!$N$h$&$K$7$F\e(B <code>.htaccess</code> \e$B%U%!%$%k$r\e(B
256     \e$B=$@5$9$kI,MW$,$"$j$^$9!#\e(B</p>
257
258     <example>
259       AuthType Basic<br />
260       AuthName "By Invitation Only"<br />
261       AuthUserFile /usr/local/apache/passwd/passwords<br />
262       AuthGroupFile /usr/local/apache/passwd/groups<br />
263       Require group GroupName
264     </example>
265
266     <p>\e$B$3$l$G!"%0%k!<%W\e(B <code>GroupName</code> \e$B$K%j%9%H$5$l$F$$$F!"\e(B
267     <code>password</code> \e$B%U%!%$%k$K%(%s%H%j$,$"$k?M$O!"\e(B
268     \e$B@5$7$$%Q%9%o!<%I$r%?%$%W$9$l$PF~$k$3$H$,$G$-$k$G$7$g$&!#\e(B</p>
269
270     <p>\e$B$b$C$HFCDj$;$:$KJ#?t$N%f!<%6$,F~$l$k$h$&$K$9$k!"\e(B
271     \e$B$b$&0l$D$NJ}K!$,$"$j$^$9!#%0%k!<%W%U%!%$%k$r:n$k$N$G$O$J$/!"\e(B
272     \e$B<!$N%G%#%l%/%F%#%V$r;H$($P$G$-$^$9!#\e(B</p>
273
274     <example>
275       Require valid-user
276     </example>
277
278     <p><code>require user rbowen</code> \e$B9T$G$J$/!">e5-$r;H$&$H!"\e(B
279     \e$B%Q%9%o!<%I%U%!%$%k$K%j%9%H$5$l$F$$$k?M$G$"$l$PC/$G$b\e(B
280     \e$B5v2D$5$l$^$9!#\e(B
281     \e$BC1$K%Q%9%o!<%I%U%!%$%k$r%0%k!<%WKh$KJ,$1$F$*$/$3$H$G!"\e(B
282     \e$B%0%k!<%W$N$h$&$J?6$kIq$$$r$5$;$k$3$H$b$G$-$^$9!#\e(B
283     \e$B$3$N%"%W%m!<%A$NMxE@$O!"\e(BApache \e$B$OFs$D$G$O$J$/!"\e(B
284     \e$B$?$@0l$D$N%U%!%$%k$@$1$r8!::$9$l$P$h$$$H$$$&E@$G$9!#\e(B
285     \e$B7gE@$O!"$?$/$5$s$N%Q%9%o!<%I%U%!%$%k$r4IM}$7$F!"$=$NCf$+$i\e(B
286     <directive module="mod_authn_file">AuthUserFile</directive>
287     \e$B%G%#%l%/%F%#%V$K@5$7$$%U%!%$%k$r;2>H$5$;$J$1$l$P$J$i$J$$E@$G$9!#\e(B</p>
288 </section>
289
290 <section id="possibleproblems"><title>\e$B5/$3$j$($kLdBj\e(B</title>
291     <p>Basic \e$BG'>Z$,;XDj$5$l$F$$$k>l9g$O!"\e(B
292     \e$B%5!<%P$K%I%-%e%a%s%H$r%j%/%(%9%H$9$kEY$K\e(B
293     \e$B%f!<%6L>$H%Q%9%o!<%I$r8!::$7$J$1$l$P$J$j$^$;$s!#\e(B
294     \e$B$3$l$OF1$8%Z!<%8!"%Z!<%8$K$"$kA4$F$N2hA|$r\e(B
295     \e$B%j%m!<%I$9$k>l9g$G$"$C$F$b3:Ev$7$^$9\e(B
296      (\e$B$b$72hA|$bJ]8n$5$l$?%G%#%l%/%H%j$+$iMh$k$N$G$"$l$P\e(B) \e$B!#\e(B
297     \e$BM=A[$5$l$kDL$j!"$3$l$OF0:n$rB?>/CY$/$7$^$9!#\e(B
298     \e$BCY$/$J$kDxEY$O%Q%9%o!<%I%U%!%$%k$NBg$-$5$HHfNc$7$^$9$,!"\e(B
299     \e$B$3$l$O!"%U%!%$%k$r3+$$$F$"$J$?$NL>A0$rH/8+$9$k$^$G\e(B
300     \e$B%f!<%6L>$N%j%9%H$rFI$^$J$1$l$P$J$i$J$$$+$i$G$9!#\e(B
301     \e$B$=$7$F!"%Z!<%8$,%m!<%I$5$l$kEY$K$3$l$r9T$o$J$1$l$P\e(B
302     \e$B$J$j$^$;$s!#\e(B</p>
303
304     <p>\e$B7kO@$H$7$F$O!"0l$D$N%Q%9%o!<%I%U%!%$%k$KCV$/$3$H$N$G$-$k\e(B
305     \e$B%f!<%6?t$K$O<B<AE*$J8B3&$,$"$j$^$9!#\e(B
306     \e$B$3$N8B3&$O%5!<%P%^%7%s$N@-G=$K0MB8$7$FJQ$o$j$^$9$,!"\e(B
307     \e$B?tI4$N%(%s%H%j$r1[$($?$"$?$j$+$iB.EYDc2<$,8+$i$l$k$HM=4|$5$l$F$$$^$9!#\e(B
308     \e$B$=$N;~$OB>$NG'>ZJ}K!$r9MN8$KF~$l$?J}$,NI$$$G$7$g$&!#\e(B</p>
309 </section>
310
311 <section id="whatotherneatstuffcanido"><title>\e$B$b$C$H9*$_$K@)8f$G$-$J$$\e(B
312 ?</title>
313     <p>\e$B%f!<%6L>$H%Q%9%o!<%I$K$h$kG'>Z$OG'>Z$N0l$D$NJ}K!$K2a$.$^$;$s!#\e(B
314     \e$B$7$P$7$PC/$G$"$k$+$H$$$&$3$H$H$O0c$&2?$+$K4p$E$$$F!"\e(B
315     \e$BF~$l$k$h$&$K$7$?$/$J$k$3$H$b$"$k$G$7$g$&!#\e(B
316     \e$BNc$($P$=$N?M$,$I$3$+$iMh$F$$$k$+$H$$$C$?$3$H$G$9!#\e(B</p>
317
318     <p><directive module="mod_authz_host">Allow</directive> \e$B$H\e(B
319     <directive module="mod_authz_host">Deny</directive>
320     \e$B%G%#%l%/%F%#%V$r;H$C$F!"%I%-%e%a%s%H$rMW5a$7$F$-$?%^%7%s$N\e(B
321     \e$B%[%9%HL>$d%[%9%H%"%I%l%9$K4p$E$$$F5v2DIT5v2D$r@)8f$G$-$^$9!#\e(B
322     <directive module="mod_authz_host">Order</directive>
323     \e$B%G%#%l%/%F%#%V$O$3$NFs$D$HO"7H$7$FF0:n$7!"\e(BApache 
324     \e$B$K$I$N=gHV$G%U%#%k%?$rE,MQ$9$k$+$rCN$i$;$^$9!#\e(B</p>
325
326     <p>\e$B$3$l$i$N%G%#%l%/%F%#%V$N;H$$J}$O<!$N$h$&$K$J$j$^$9!#\e(B</p>
327
328     <example>
329       Allow from <var>address</var>
330     </example>
331
332     <p>\e$B$3$3$G!"\e(B<var>address</var> \e$B$O\e(B IP \e$B%"%I%l%9\e(B
333     (\e$B$^$?$O\e(B IP \e$B%"%I%l%9$N0lIt\e(B)\e$B!"$"$k$$$O40A4=$>~%I%a%$%sL>\e(B
334     (\e$B$^$?$O%I%a%$%sL>$N0lIt\e(B) \e$B$G$9!#\e(B
335     \e$BI,MW$G$"$l$PJ#?t$N%"%I%l%9$d%I%a%$%sL>$r;XDj$G$-$^$9!#\e(B</p>
336
337     <p>\e$BNc$($P!"$b$7C/$+$,7G<(HD$r967b$7$F$$$F!"\e(B
338     \e$B$=$N?M$rJD$a=P$7$?$$$N$G$"$l$P!"\e(B
339     \e$B<!$N$h$&$K$9$k$3$H$,$G$-$^$9!#\e(B</p>
340
341     <example>
342       Deny from 205.252.46.165
343     </example>
344
345     <p>\e$B$3$N%"%I%l%9$+$iMh$k?M$O!"$3$N%G%#%l%/%F%#%V$NHO0OFb$N\e(B
346     \e$B%3%s%F%s%D$r8+$k$3$H$,$G$-$J$$$^$;$s!#$b$7\e(B IP
347     \e$B%"%I%l%9$NBe$o$j$K%^%7%sL>$,$"$l$P!"$=$l$r;H$($^$9!#\e(B</p>
348
349     <example>
350       Deny from <var>host.example.com</var>
351     </example>
352
353     <p>\e$B%I%a%$%sA4BN$+$i$N%"%/%;%9$rKI$.$?$1$l$P!"\e(B
354     \e$BC1$K%"%I%l%9$d%I%a%$%sL>$N0lIt$r;XDj$9$k$3$H$,$G$-$^$9!#\e(B</p>
355
356     <example>
357       Deny from <var>192.101.205</var><br />
358       Deny from <var>cyberthugs.com</var> <var>moreidiots.com</var><br />
359       Deny from ke
360     </example>
361
362     <p><directive module="mod_authz_host">Order</directive> \e$B$r;H$&$3$H$G!"\e(B
363     <directive module="mod_authz_host">Deny</directive> \e$B$H\e(B
364     <directive module="mod_authz_host">Allow</directive> \e$B$NAH$_9g$o$;$G\e(B
365     \e$BF~$C$F$bNI$$%0%k!<%W$,K\Ev$K3N<B$K8BDj$G$-$F$$$k$h$&$K$G$-$^$9!#\e(B</p>
366
367     <example>
368       Order deny,allow<br />
369       Deny from all<br />
370       Allow from <var>dev.example.com</var>
371     </example>
372
373     <p><directive module="mod_authz_host">Allow</directive>
374     \e$B%G%#%l%/%F%#%V$rC1=c$KNs5s$9$k$N$G$OK>$_$NF0:n$r$7$J$$$G$7$g$&!#\e(B
375     \e$B$J$<$J$i!"A4$F$N?M$,F~$l$k$H$$$&$3$H$K2C$($F!"\e(B
376     \e$B;XDj$7$?%[%9%H$+$i$N?M$,F~$l$k$h$&$K$9$k$+$i$G$9!#\e(B
377     \e$B$d$j$?$$$3$H$O!";XDj$7$??M$?$A\e(B<em>\e$B$@$1\e(B</em>\e$B$,F~$l$k$h$&$K\e(B
378     \e$B$9$k$3$H$G$9!#\e(B</p>
379 </section>
380
381 <section id="moreinformation"><title>\e$BDI2C>pJs\e(B</title>
382     <p>\e$B$3$l$iA4$F$,$I$N$h$&$KF0:n$9$k$+$K$D$$$F\e(B
383     \e$B$b$C$HB?$/$N>pJs$,=q$+$l$F$$$k\e(B <module>mod_auth</module> \e$B$H\e(B
384     <module>mod_access</module>
385     \e$B$NJ8=q$bFI$`$H$h$$$G$7$g$&!#\e(B</p>
386 </section>
387
388 </manualpage>
389