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.7 -->
7 Copyright 2002-2004 The Apache Software Foundation
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
13 http://www.apache.org/licenses/LICENSE-2.0
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.
22 <manualpage metafile="directive-dict.xml.meta">
24 <title>
\e$B%G%#%l%/%F%#%V$N2r@b$K;H$o$l$kMQ8l
\e(B</title>
27 <p>
\e$B$3$NJ8=q$O3F
\e(B Apache <a href="directives.html">
\e$B@_Dj%G%#%l%/%F%#%V
\e(B</a>
28 \e$B$r@bL@$9$k$?$a$K;H$o$l$F$$$kMQ8l$r@bL@$7$^$9!#
\e(B</p>
30 <seealso><a href="../configuring.html">
\e$B@_Dj%U%!%$%k
\e(B</a></seealso>
32 <section id="Description"><title>
\e$B@bL@
\e(B</title>
34 <p>
\e$B%G%#%l%/%F%#%V$NL\E*$N4JC1$J@bL@!#
\e(B</p>
37 <section id="Syntax"><title>
\e$B9=J8
\e(B</title>
39 <p>
\e$B@_Dj%U%!%$%kCf$N%G%#%l%/%F%#%V$N=q<0$r<($7$^$9!#
\e(B
40 \e$B$3$N9=J8$O%G%#%l%/%F%#%VFCM-$J$N$G!">\:Y$O%G%#%l%/%F%#%V$N@bL@$r
\e(B
41 \e$B;2>H$7$F$/$@$5$$!#0lHLE*$K!"%G%#%l%/%F%#%VL>$N8e$K$O
\e(B
42 \e$B6uGr$K$h$jJ,3d$5$l$?$$$/$D$+$N0z?t$,B3$-$^$9!#
\e(B
43 \e$B0z?t$,6uGr$r4^$`$H$-$OFs=E0zMQId
\e(B (
\e$BLuCm
\e(B: ")
44 \e$B$G0O$^$l$F$$$^$9!#
\e(B
\e$B%*%W%7%g%J%k$J0z?t$O3g8L
\e(B
45 (
\e$BLuCm
\e(B: [])
\e$B$G0O$^$l$F$$$^$9!#
\e(B
46 \e$B0z?t$,J#?t$NCM$r<h$jF@$k>l9g$O!"$=$l$i$NCM$O?bD>$NK@
\e(B "|"
47 \e$B$G
\e(B
\e$BJ,3d$5$l$F$$$^$9!#
\e(B
48 \e$BJQ99$5$l$J$$%F%-%9%H$O%G%U%)%k%H$N%U%)%s%H$GI=<($5$l!"CV49$NI,MW$J
\e(B
49 \e$B0z?t$O
\e(B<em>
\e$B6/D4$5$l$F
\e(B</em>
\e$BI=<($5$l$^$9!#
\e(B
50 \e$B0z?t$N?t$,JQ$o$k%G%#%l%/%F%#%V$O:G8e$N
\e(B
51 \e$B0z?t$,7+$jJV$5$l$k$3$H$r<($9$?$a$K
\e(B "..."
52 \e$B$G=*$o$j$^$9!#
\e(B</p>
55 \e$B%G%#%l%/%F%#%V$OB?$/$N0c$&7?$N0z?t$r$H$j$^$9!#$$$/$D$+!"NI$/
\e(B
56 \e$B;H$o$l$k$b$N$r0J2<$GDj5A$7$^$9!#
\e(B</p>
61 <dd><code>http://www.example.com/path/to/file.html</code>
63 \e$B%9%-!<%`!"%[%9%HL>!"%Q%9L>
\e(B(
\e$B>JN,2DG=
\e(B)
\e$B$r4^$s$G$$$k40A4$J
\e(B
64 Uniform Resource Locator
\e$B!#
\e(B</dd>
66 <dt><em>URL-path</em></dt>
68 <dd><code>/path/to/file.html</code>
\e$B$N$h$&$K!"%9%-!<%`$H
\e(B
69 \e$B%[%9%HL>$N8e$KB3$/
\e(B <em>url</em>
70 \e$B$N0lIt!#
\e(B<em>url-path</em>
\e$B$O
\e(B
71 \e$B%U%!%$%k%7%9%F%`$+$i$N;kE@$G$O$J$/!"
\e(B
72 \e$B%&%'%V$+$i$N;kE@$G%j%=!<%9$rI=8=$7$^$9!#
\e(B</dd>
74 <dt><em>file-path</em></dt>
76 <dd><code>/usr/local/apache/htdocs/path/to/file.html</code>
78 \e$B%k!<%H%G%#%l%/%H%j$+$i;O$^$k%m!<%+%k$N%U%!%$%k%7%9%F%`>e$N%U%!%$%k$X$N%Q%9!#
\e(B
79 \e$BDL>o!"%9%i%C%7%e$G;O$^$i$J$$
\e(B <em>file-path</em>
\e$B$O
\e(B <a
80 href="core.html#serverroot">ServerRoot</a>
81 \e$B$+$i$NAjBP%Q%9$H$7$F
\e(B
\e$B07$o$l$^$9!#
\e(B</dd>
83 <dt><em>directory-path</em></dt>
85 <dd><code>/usr/local/apache/htdocs/path/to/</code>
87 \e$B%k!<%H%G%#%l%/%H%j$+$i;O$^$k%m!<%+%k$N%U%!%$%k%7%9%F%`$N%G%#%l%/%H%j$X$N
\e(B
90 <dt><em>filename</em></dt>
92 <dd><code>file.html</code>
\e$B$N$h$&$K!"%Q%9>pJs$NIU$$$F$$$J$$
\e(B
93 \e$B%U%!%$%kL>!#
\e(B</dd>
95 <dt><em>regex</em></dt>
97 <dd>
\e$B@55,I=8=$G!"
\e(B
98 \e$B%F%-%9%H$N%^%C%A$N%Q%?!<%s$rI=$7$^$9!#%G%#%l%/%F%#%V$NDj5A$,
\e(B
100 \e$B$,2?$KBP$7$F%^%C%A$r9T$J$&$N$+$r;XDj$7$^$9!#
\e(B</dd>
102 <dt><em>extension</em></dt>
104 <dd>
\e$B0lHLE*$K$O
\e(B <em>filename</em>
105 \e$B$N:G8e$N%I%C%H$N8e$NItJ,$G$9!#
\e(B
\e$B$7$+$7!"
\e(BApache
106 \e$B$OJ#?t$N%U%!%$%k$N3HD%;R$rG'<1$7$^$9$N$G!"
\e(B<em>filename</em>
107 \e$B$KJ#?t$N%I%C%H$,$"$k$H!":G=i$N%I%C%H$N8e$N!"$=$l$>$l$N%I%C%H$GJ,N%$5$l$?ItJ,$,
\e(B
108 <em>extension</em> (
\e$BLuCm
\e(B:
\e$B3HD%;R
\e(B)
109 \e$B$K$J$j$^$9!#Nc$($P!"
\e(B<em>filename</em>
110 <code>file.html.en</code>
111 \e$B$K$OFs$D$N3HD%;R$,$"$j$^$9!#
\e(B<code>.html</code>
\e$B$H
\e(B
112 <code>.en</code>
\e$B$G$9!#
\e(BApache
113 \e$B$N%G%#%l%/%F%#%V$G$O!"
\e(B<em>extension</em>
114 \e$B$O%I%C%HIU$-$G$bL5$7$G$b;XDj$G$-$^$9!#$5$i$K!"
\e(B<em>extension</em>
115 \e$B$O
\e(B
\e$BBgJ8;z>.J8;z$r6hJL$7$^$;$s!#
\e(B</dd>
117 <dt><em>MIME-type</em></dt>
119 <dd><code>text/html</code>
\e$B$N$h$&$K!"%9%i%C%7%e$GJ,N%$5$l$?
\e(B
120 \e$B<g%U%)!<%^%C%H$HI{%U%)!<%^%C%H$K$h$C$F%U%!%$%k$N7A<0$r
\e(B
121 \e$BI=$9J}K!$G$9!#
\e(B</dd>
123 <dt><em>env-variable</em></dt>
125 <dd>Apache
\e$B$N@_Dj$K$h$jDj5A$5$l$k
\e(B <a
126 href="../env.html">
\e$B4D6-JQ?t
\e(B</a>
\e$B$NL>A0$G$9!#$3$l$O%*%Z%l!<%F%#%s%0%7%9%F%`$N
\e(B
127 \e$B4D6-JQ?t$HF1$8$H$O8B$i$J$$$3$H$KCm0U$7$F$/$@$5$$!#>\:Y$O
\e(B <a
128 href="../env.html">
\e$B4D6-JQ?t$N@bL@
\e(B</a>
\e$B$r;2>H$7$F$/$@$5$$!#
\e(B</dd>
132 <section id="Default"><title>
\e$B%G%U%)%k%H
\e(B</title>
134 <p>
\e$B%G%#%l%/%F%#%V$K%G%U%)%k%HCM
\e(B
135 (<em>
\e$B$9$J$o$A
\e(B</em>
\e$B!"@_Dj%U%!%$%k$+$i
\e(B
136 \e$B>JN,$5$l$F$$$F$b!"
\e(BApache
137 \e$B%&%'%V%5!<%P$OFCDj$NCM$K@_Dj$5$l$F$$$k$+$N$h$&$K
\e(B
138 \e$BF0:n$7$^$9
\e(B)
\e$B$,$"$k>l9g$O$3$3$K5-=R$5$l$^$9!#
\e(B
139 \e$B%G%U%)%k%HCM$NL5$$>l9g!"$3$3$O
\e(B "<em>None</em>"
\e$B$H
\e(B
140 \e$B=q$+$l$^$9!#$3$3$G=q$+$l$F$$$k%G%U%)%k%H$O%5!<%P$H6&$KG[I[$5$l$F$$$k
\e(B
141 \e$B%G%U%)%k%H$N
\e(B httpd.conf
142 \e$BFb$K=q$+$l$F$$$k%G%#%l%/%F%#%V$NCM$H
\e(B
143 \e$B0c$&2DG=@-$,$"$k$3$H$KCm0U$7$F$/$@$5$$!#
\e(B</p>
146 <section id="Context"><title>
\e$B%3%s%F%-%9%H
\e(B</title>
149 \e$B$3$l$O!"%5!<%P$N@_Dj%U%!%$%kCf$N$I$3$G%G%#%l%/%F%#%V$,M-8z$J$N$+$r<($7$^$9!#
\e(B
150 \e$B<!$K<($9CM$,0l$D0J>e%+%s%^6h@Z$j$GNs5s$5$l$F$$$^$9!#
\e(B</p>
153 <dt>
\e$B%5!<%P@_Dj%U%!%$%k
\e(B</dt>
155 <dd>
\e$B$3$l$O!"%5!<%P@_Dj%U%!%$%k
\e(B
156 (<em>
\e$BNc$($P
\e(B</em>
\e$B!"
\e(B<code>httpd.conf</code>,
157 <code>srm.conf</code>, <code>access.conf</code>)
158 \e$BFb$G$O;HMQ$G$-$^$9$,!"
\e(B
159 <directive module="core" type="section">VirtualHost</directive>
\e$B$d
\e(B
160 <directive module="core" type="section">Directory</directive>
\e$B$NCf$G$O
\e(B
161 <strong>
\e$B;HMQ$G$-$J$$
\e(B</strong>
\e$B$3$H$r<($7$^$9!#
\e(B
162 <code>.htaccess</code>
\e$B%U%!%$%k$G$N;HMQ$O5v2D$5$l$F$$$^$;$s!#
\e(B</dd>
164 <dt>
\e$B%P!<%A%c%k%[%9%H
\e(B</dt>
166 <dd>
\e$B$3$l$O!"%5!<%P@_Dj%U%!%$%k$N
\e(B
167 <directive module="core" type="section">VirtualHost</directive>
168 \e$B$NCf$G;HMQ$G$-$k$3$H$r<($7$^$9!#
\e(B</dd>
170 <dt>
\e$B%G%#%l%/%H%j
\e(B</dt>
172 <dd>
\e$B$3$l$O!"%5!<%P@_Dj%U%!%$%k$N
\e(B
173 <directive module="core" type="section">Directory</directive>,
174 <directive module="core" type="section">Location</directive>,
175 <directive module="core" type="section">Files</directive>,
176 <directive module="mod_proxy" type="section">Proxy</directive>
177 \e$B%3%s%F%J$NCf$G!"
\e(B <a
178 href="../sections.html">
\e$B@_Dj%;%/%7%g%s
\e(B</a>
179 \e$B$G@bL@$5$l$F$$$k@)8B$N2<$G;HMQ$G$-$k$3$H$r<($7$^$9!#
\e(B</dd>
183 <dd>
\e$B$3$l$O!"%G%#%l%/%H%j
\e(B<em>
\e$BKh
\e(B</em>
\e$B$N
\e(B
184 <code>.htaccess</code>
\e$B%U%!%$%kFb$G
\e(B
185 \e$B;HMQ2DG=$G$"$k$3$H$r<($7$^$9!#
\e(B
\e$B$?$@!"
\e(B<a
186 href="#Override">
\e$B>e=q$-
\e(B</a>
187 \e$B$N@_Dj$K$h$C$F$O!"=hM}$5$l$J$$$+$b$7$l$^$;$s!#
\e(B</dd>
191 \e$B%G%#%l%/%F%#%V$O;X<($5$l$?%3%s%F%-%9%H$G
\e(B<em>
\e$B$N$_
\e(B</em>
\e$B5v2D$5$l$^$9!#
\e(B
192 \e$BB>$N>l=j$G;H$*$&$H$9$k$H!"%5!<%P$,$=$N%3%s%F%-%9%H$r@5$7$/07$($J$/
\e(B
193 \e$B$J$k$h$&$J@_Dj%(%i!<$,H/@8$9$k$+!"%5!<%P$,$^$C$?$/F0:n$7$J$/$J$k!"
\e(B
194 <em>
\e$B$9$J$o$A
\e(B</em>
\e$B!"%5!<%P$,5/F0$7$J$/$J$k$H$$$&$3$H$K$J$j$^$9!#
\e(B</p>
197 \e$B%G%#%l%/%F%#%V$NM-8z$J0LCV$O!"<B:]$O5s$2$i$l$F$$$k%3%s%F%-%9%H$N
\e(B
198 \e$BO@M}OB
\e(B (
\e$BLuCm
\e(B: Boolen OR)
199 \e$B$K$J$j$^$9!#8@$$49$($k$H!"
\e(B
200 "<code>
\e$B%5!<%P@_Dj%U%!%$%k!"
\e(B.htaccess</code>"
\e$B$GM-8z$@$H
\e(B
201 \e$B5-$5$l$F$$$k%G%#%l%/%F%#%V$O
\e(B <code>httpd.conf</code>
202 \e$B%U%!%$%k$H
\e(B <code>.htaccess</code>
203 \e$B%U%!%$%k$H$GM-8z$G$9$,!"
\e(B <directive module="core"
204 type="section">Directory</directive>
205 \e$B$d
\e(B <directive module="core" type="section">VirtualHost</directive>
206 \e$B$NCf$G$O;HMQ$G$-$^$;$s!#
\e(B</p>
209 <section id="Override"><title>
\e$B>e=q$-
\e(B</title>
211 <p>
\e$B$3$N%G%#%l%/%F%#%V$NB0@-$O!"
\e(B<code>.htaccess</code>
213 \e$B%G%#%l%/%F%#%V$,8=$l$?$H$-$K!"$=$l$N=hM}$rM-8z$K$9$k$?$a$K
\e(B
214 \e$B$I$N@_Dj$N>e=q$-$,I,MW$+$r<($7$^$9!#
\e(B
\e$B%G%#%l%/%F%#%V$N
\e(B
215 <a href="#Context">
\e$B%3%s%F%-%9%H
\e(B</a>
216 \e$B$,!"
\e(B<code>.htaccess</code>
217 \e$B%U%!%$%kCf$G$O5v2D$7$F$$$J$$>l9g$O!"
\e(B
\e$B$3$NB0@-$O
\e(B
218 "<em>
\e$BE,MQIT2D
\e(B</em>"
\e$B$H=q$+$l$^$9!#
\e(B</p>
220 <p>
\e$B>e=q$-$O!"
\e(B<directive module="core">AllowOverride</directive>
221 \e$B%G%#%l%/%F%#%V$K$h$C$FM-8z$K$5$l!"
\e(B
222 \e$BFCDj$N%9%3!<%W
\e(B(
\e$B%G%#%l%/%H%j$J$I
\e(B)
\e$B$H!"
\e(B
223 \e$B$5$i$K2<0L$N%l%Y%k$N
\e(B <directive module="core">AllowOverride</directive>
224 \e$B$G=$@5$5$l$J$$8B$j!"
\e(B
\e$B$=$NG[2<$KBP$7$FE,MQ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rD4$Y$F$/$@$5$$!#
\e(B</dd>
281 <section id="Module"><title>
\e$B%b%8%e!<%k
\e(B</title>
284 \e$B$3$l$OC1=c$K%G%#%l%/%F%#%V$,Dj5A$5$l$F$$$k%b%8%e!<%k$NL>A0$r5-:\$7$^$9!#
\e(B</p>
287 <section id="Compatibility"><title>
\e$B8_49@-
\e(B</title>
289 <p>
\e$B%G%#%l%/%F%#%V$,
\e(B Apache 2
290 \e$B$NG[I[$KAH$_9~$^$l$F$$$J$+$C$?>l9g!"
\e(B
291 \e$B%G%#%l%/%F%#%V$,F3F~$5$l$?%P!<%8%g%s$,$3$3$K=q$+$l$F$$$^$9!#
\e(B
292 \e$B$^$?!"%G%#%l%/%F%#%V$,FCDj$N%W%i%C%H%U%)!<%`$K$N$_B8:_$9$k$H$-$b
\e(B
293 \e$B$3$3$K=q$+$l$F$$$^$9!#
\e(B</p>