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: 151408:395228 (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_dir.xml.meta">
26 <description>
\e$B!V:G8e$N%9%i%C%7%e!W$N%j%@%$%l%/%H$H!"%G%#%l%/%H%j$N
\e(B
27 \e$B%$%s%G%C%/%9%U%!%$%k$r07$&5!G=$rDs6!$9$k
\e(B</description>
29 <sourcefile>mod_dir.c</sourcefile>
30 <identifier>dir_module</identifier>
33 <p>
\e$B%G%#%l%/%H%j%$%s%G%C%/%9$O!"<!$NFs$D$N$&$A$I$A$i$+$,MxMQ$5$l$^$9
\e(B:</p>
36 <li>
\e$B0l$DL\$O!"%f!<%6$,:n@.$7$?%U%!%$%k$rMQ$$$k$b$N$G!"DL>o
\e(B
37 <code>index.html</code>
\e$B$H$$$&%U%!%$%kL>$r;H$$$^$9!#$3$N%U%!%$%kL>$O!"
\e(B
38 <directive module="mod_dir">DirectoryIndex</directive>
\e$B%G%#%l%/%F%#%V$G
\e(B
39 \e$B;XDj$9$k$3$H$,$G$-$^$9!#$3$N5!G=$O
\e(B <module>mod_dir</module>
40 \e$B%b%8%e!<%k$GDs6!$5$l$^$9!#
\e(B</li>
42 <li>
\e$B$b$&0l$D$NJ}K!$O!"
\e(B
43 \e$B%5!<%P$K$h$C$F<+F0E*$K@8@.$5$l$k%G%#%l%/%H%j%j%9%H$rMQ$$$k>l9g$G$9!#
\e(B
44 \e$B$3$N5!G=$O!"
\e(B<module>mod_autoindex</module>
45 \e$B%b%8%e!<%k$K$h$jDs6!$5$l$^$9!#
\e(B</li>
48 <p>
\e$B<+F0E*$J%$%s%G%C%/%9@8@.5!G=$r:o=|
\e(B (
\e$B$b$7$/$O8r49
\e(B)
49 \e$B$G$-$k$h$&$K!"$3$NFs$D$N5!G=$OJ,N%$5$l$F$$$^$9!#
\e(B</p>
51 <p>
\e$B$J$*
\e(B <code>http://servername/foo/dirname</code>
\e$B$H$$$&
\e(B URL
52 \e$B$X$N%j%/%(%9%H$,$"$C$?:]$K!"
\e(B<code>dirname</code>
53 \e$B$H$$$&%G%#%l%/%H%j$,$"$l$P!"!V:G8e$K%9%i%C%7%e$r$D$1$?7A!W$N
\e(B URL
54 \e$B$X$N%j%@%$%l%/%H$rAw=P$7$^$9!#
\e(B
55 \e$B%G%#%l%/%H%j$X$N%"%/%;%9$O%9%i%C%7%e$G=*$o$C$F$$$kI,MW$,$"$j!"
\e(B
56 <code>mod_dir</code>
\e$B$O!"
\e(B<code>http://servername/foo/dirname/</code>
57 \e$B$X$N%j%@%$%l%/%H$rAw=P$9$k$3$H$K$J$j$^$9!#
\e(B</p>
61 <name>DirectoryIndex</name>
62 <description>
\e$B%/%i%$%"%s%H$,%G%#%l%/%H%j$r%j%/%(%9%H$7$?$H$-$KD4$Y$k
\e(B
63 \e$B%j%=!<%9$N%j%9%H
\e(B</description>
64 <syntax>DirectoryIndex
65 <var>local-url</var> [<var>local-url</var>] ...</syntax>
66 <default>DirectoryIndex index.html</default>
67 <contextlist><context>server config</context><context>virtual host</context>
68 <context>directory</context><context>.htaccess</context></contextlist>
69 <override>Indexes</override>
73 \e$B%/%i%$%"%s%H$,!"%G%#%l%/%H%jL>$N:G8e$K!V
\e(B/
\e$B!W
\e(B
74 \e$B$r;XDj$7$F%G%#%l%/%H%j%$%s%G%C%/%9$rMW5a$9$k>l9g$KC5$9%j%=!<%9$N%j%9%H$r
\e(B
75 <directive>DirectoryIndex</directive>
\e$B%G%#%l%/%F%#%V$G@_Dj$7$^$9!#
\e(B
77 \e$B$O!"%j%/%(%9%H$5$l$?%G%#%l%/%H%j$KBP1~$9$k!"%5!<%P>e$N%I%-%e%a%s%H$N
\e(B
78 (%
\e$B%(%s%3!<%I$5$l$?
\e(B) URL
\e$B$G!"IaDL$O%G%#%l%/%H%jCf$N%U%!%$%k$NL>A0$G$9!#
\e(B
79 \e$BJ#?t$N
\e(B URL
\e$B$,@_Dj$5$l$?>l9g$K$O!":G=i$K8+$D$+$C$?$b$N$rJV$7$^$9!#
\e(B
80 \e$B$=$l$i$,8+$D$+$i$:!"
\e(B<code>Indexes</code>
81 \e$B%*%W%7%g%s$,%;%C%H$5$l$F$$$k>l9g!"%G%#%l%/%H%j$N%j%9%H$r@8@.$7$^$9!#
\e(B
84 <example><title>
\e$BNc
\e(B</title>
85 DirectoryIndex index.html
88 <p><code>http://myserver/docs/</code>
\e$B$X$N%"%/%;%9$,$"$j!"
\e(B
89 <code>http://myserver/docs/index.html</code>
90 \e$B$,B8:_$9$l$P!"$3$N
\e(B URL
\e$B$,JV$5$l$^$9!#
\e(B
91 \e$B$b$7B8:_$7$J$1$l$P!"%G%#%l%/%H%j$N%j%9%H$,JV$5$l$^$9!#
\e(B</p>
93 <p>
\e$BCm
\e(B:
\e$B%I%-%e%a%s%H$,F1$8%G%#%l%/%H%jFb$KB8:_$9$k$OI,MW$"$j$^$;$s!#
\e(B
97 DirectoryIndex index.html index.txt /cgi-bin/index.pl
100 <p>
\e$B$H$7$?>l9g!"
\e(B<code>index.html</code>
\e$B$H
\e(B <code>index.txt</code>
101 \e$B$N$I$A$i$b%G%#%l%/%H%jFb$KB8:_$7$J$$>l9g!"
\e(BCGI
\e$B%9%/%j%W%H
\e(B
102 <code>/cgi-bin/index.pl</code>
\e$B$,<B9T$5$l$^$9!#
\e(B</p>
107 <name>DirectorySlash</name>
108 <description>
\e$B%Q%9KvHx$N%9%i%C%7%e$G%j%@%$%l%/%H$9$k$+$I$&$+$N%*%s%*%U$r%H%0%k$5$;$k
\e(B</description>
109 <syntax>DirectorySlash On|Off</syntax>
110 <default>DirectorySlash On</default>
111 <contextlist><context>server config</context><context>virtual host</context>
112 <context>directory</context><context>.htaccess</context></contextlist>
113 <override>Indexes</override>
114 <compatibility>2.0.51
\e$B0J9_
\e(B</compatibility>
117 <p>
\e$BMW5a$N$"$C$?
\e(B URL
\e$B$,%G%#%l%/%H%j$r;X$9$+$I$&$+$r!"
\e(B
118 <module>mod_dir</module>
\e$B$,D4@0$9$k$Y$-$+$I$&$+$r
\e(B
119 <directive>DirectorySlash</directive>
120 \e$B%G%#%l%/%F%#%V$G@_Dj$7$^$9!#
\e(B</p>
122 <p>
\e$BE57?E*$K$O!"%f!<%6$,KvHx$N%9%i%C%7%eL5$7$G%j%=!<%9$X$N%j%/%(%9%H$rH/9T$7!"
\e(B
123 \e$B$=$7$F!"$=$N%j%=!<%9$,%G%#%l%/%H%j$r;X$7$F$$$?>l9g!"
\e(B<module>mod_dir</module>
124 \e$B$O!"KvHx$K%9%i%C%7%e$r
\e(B<em>
\e$BIU2C
\e(B</em>
\e$B$7$?>e$GF1$8%j%=!<%9$K%j%@%$%l%/%H$5$;$^$9!#
\e(B
125 \e$B$3$N5sF0$K$O4v$D$+M}M3$,$"$j$^$9
\e(B:</p>
128 <li>
\e$B%f!<%6$O!":G=*E*$K$O%j%=!<%9$NJLL>
\e(B URL
\e$B$r%j%/%(%9%H$9$k$3$H$K$J$k!#
\e(B</li>
129 <li><module>mod_autoindex</module>
\e$B$,4|BTDL$j$KF0$/!#
\e(B<module>mod_autoindex</module>
130 \e$B$N@8@.$9$k%j%s%/$O%Q%9$r=PNO$7$^$;$s$N$G!"%9%i%C%7%e$,$J$$>l9g$O4V0c$C$?%Q%9$r
\e(B
131 \e$B;X$7$F$7$^$&$3$H$K$J$j$^$9!#
\e(B</li>
132 <li><directive module="mod_dir">DirectoryIndex</directive>
\e$B$O!"
\e(B
133 \e$BKvHx$K%9%i%C%7%e$,$D$$$F$$$k%j%/%(%9%H$K$D$$$F
\e(B<em>
\e$B$N$_
\e(B</em>
\e$BI>2A$5$l$k!#
\e(B</li>
134 <li>HTML
\e$B%Z!<%8$NAjBP
\e(B URL
\e$B;2>H$,@5$7$/F0:n$9$k!#
\e(B</li>
137 <p>
\e$B$H$O$$$(!"$b$7$3$&$$$C$?8z2L$rK>$^$J$$!"$+$D!"
\e(B
138 \e$B>e5-$N$h$&$JM}M3$,Ev$F$O$^$i$J$$>l9g$O!"%j%@%$%l%/%H$r<!$N$h$&$K$7$F%*%U$K$G$-$^$9
\e(B:</p>
141 # see security warning below!<br />
142 <Location /some/path><br />
144 DirectorySlash Off<br />
145 SetHandler some-handler<br />
150 <note type="warning"><title>
\e$B%;%-%e%j%F%#7Y9p
\e(B</title>
151 <p>
\e$BKvHx$N%9%i%C%7%e$G$N%j%@%$%l%/%H$r%*%U$K$9$k$H!"7k2LE*$K>pJsO31L$r
\e(B
152 \e$B>7$/$3$H$K$J$k$+$b$7$l$^$;$s!#
\e(B
153 <module>mod_autoindex</module>
\e$B$,M-8z
\e(B (<code>Options +Indexes</code>)
\e$B$G!"
\e(B
154 <directive module="mod_dir">DirectoryIndex</directive>
\e$B$,M-8z$J%j%=!<%9
\e(B (
\e$BNc$($P
\e(B
155 <code>index.html</code>)
\e$B$r;X$7$F$$$F!"$^$?!"MW5a$N$"$C$?
\e(B URL
\e$B$KFCJL$J
\e(B
156 \e$B%O%s%I%i$,@_Dj$5$l$F$$$J$$>l9g$r9M$($F$_$F$/$@$5$$!#
\e(B
157 \e$B$3$N>l9gKvHx$K%9%i%C%7%e$N$D$$$F$$$k%j%/%(%9%H$KBP$7$F$O
\e(B <code>index.html</code>
158 \e$B%U%!%$%k$,JV$5$l$^$9!#
\e(B<strong>
\e$B$7$+$7%9%i%C%7%e$N$J$$%j%/%(%9%H$KBP$7$F$O!"
\e(B
159 \e$B%G%#%l%/%H%j$NFbMF0lMw$rJV$7$F$7$^$$$^$9!#
\e(B</strong></p>