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: 105989 -->
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 <modulesynopsis metafile="mod_dir.xml.meta">
25 <description>
\e$B!V:G8e$N%9%i%C%7%e!W$N%j%@%$%l%/%H$H!"%G%#%l%/%H%j$N
\e(B
26 \e$B%$%s%G%C%/%9%U%!%$%k$r07$&5!G=$rDs6!$9$k
\e(B</description>
28 <sourcefile>mod_dir.c</sourcefile>
29 <identifier>dir_module</identifier>
32 <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>
35 <li>
\e$B0l$DL\$O!"%f!<%6$,:n@.$7$?%U%!%$%k$rMQ$$$k$b$N$G!"DL>o
\e(B
36 <code>index.html</code>
\e$B$H$$$&%U%!%$%kL>$r;H$$$^$9!#$3$N%U%!%$%kL>$O!"
\e(B
37 <directive module="mod_dir">DirectoryIndex</directive>
\e$B%G%#%l%/%F%#%V$G
\e(B
38 \e$B;XDj$9$k$3$H$,$G$-$^$9!#$3$N5!G=$O
\e(B <module>mod_dir</module>
39 \e$B%b%8%e!<%k$GDs6!$5$l$^$9!#
\e(B</li>
41 <li>
\e$B$b$&0l$D$NJ}K!$O!"
\e(B
42 \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
43 \e$B$3$N5!G=$O!"
\e(B<module>mod_autoindex</module>
44 \e$B%b%8%e!<%k$K$h$jDs6!$5$l$^$9!#
\e(B</li>
47 <p>
\e$B<+F0E*$J%$%s%G%C%/%9@8@.5!G=$r:o=|
\e(B (
\e$B$b$7$/$O8r49
\e(B)
48 \e$B$G$-$k$h$&$K!"$3$NFs$D$N5!G=$OJ,N%$5$l$F$$$^$9!#
\e(B</p>
50 <p>
\e$B$J$*
\e(B <code>http://servername/foo/dirname</code>
\e$B$H$$$&
\e(B URL
51 \e$B$X$N%j%/%(%9%H$,$"$C$?:]$K!"
\e(B<code>dirname</code>
52 \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
53 \e$B$X$N%j%@%$%l%/%H$rAw=P$7$^$9!#
\e(B
54 \e$B%G%#%l%/%H%j$X$N%"%/%;%9$O%9%i%C%7%e$G=*$o$C$F$$$kI,MW$,$"$j!"
\e(B
55 <code>mod_dir</code>
\e$B$O!"
\e(B<code>http://servername/foo/dirname/</code>
56 \e$B$X$N%j%@%$%l%/%H$rAw=P$9$k$3$H$K$J$j$^$9!#
\e(B</p>
60 <name>DirectoryIndex</name>
61 <description>
\e$B%/%i%$%"%s%H$,%G%#%l%/%H%j$r%j%/%(%9%H$7$?$H$-$KD4$Y$k
\e(B
62 \e$B%j%=!<%9$N%j%9%H
\e(B</description>
63 <syntax>DirectoryIndex
64 <var>local-url</var> [<var>local-url</var>] ...</syntax>
65 <default>DirectoryIndex index.html</default>
66 <contextlist><context>server config</context><context>virtual host</context>
67 <context>directory</context><context>.htaccess</context></contextlist>
68 <override>Indexes</override>
72 \e$B%/%i%$%"%s%H$,!"%G%#%l%/%H%jL>$N:G8e$K!V
\e(B/
\e$B!W
\e(B
73 \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
74 <directive>DirectoryIndex</directive>
\e$B%G%#%l%/%F%#%V$G@_Dj$7$^$9!#
\e(B
76 \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
77 (%
\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
78 \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
79 \e$B$=$l$i$,8+$D$+$i$:!"
\e(B<code>Indexes</code>
80 \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
83 <example><title>
\e$BNc
\e(B</title>
84 DirectoryIndex index.html
87 <p><code>http://myserver/docs/</code>
\e$B$X$N%"%/%;%9$,$"$j!"
\e(B
88 <code>http://myserver/docs/index.html</code>
89 \e$B$,B8:_$9$l$P!"$3$N
\e(B URL
\e$B$,JV$5$l$^$9!#
\e(B
90 \e$B$b$7B8:_$7$J$1$l$P!"%G%#%l%/%H%j$N%j%9%H$,JV$5$l$^$9!#
\e(B</p>
92 <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
96 DirectoryIndex index.html index.txt /cgi-bin/index.pl
99 <p>
\e$B$H$7$?>l9g!"
\e(B<code>index.html</code>
\e$B$H
\e(B <code>index.txt</code>
100 \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
101 <code>/cgi-bin/index.pl</code>
\e$B$,<B9T$5$l$^$9!#
\e(B</p>
106 <name>DirectorySlash</name>
107 <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>
108 <syntax>DirectorySlash On|Off</syntax>
109 <default>DirectorySlash On</default>
110 <contextlist><context>server config</context><context>virtual host</context>
111 <context>directory</context><context>.htaccess</context></contextlist>
112 <override>Indexes</override>
113 <compatibility>2.0.51
\e$B0J9_
\e(B</compatibility>
116 <p>
\e$BMW5a$N$"$C$?
\e(B URL
\e$B$,%G%#%l%/%H%j$r;X$9$+$I$&$+$r!"
\e(B
117 <module>mod_dir</module>
\e$B$,D4@0$9$k$Y$-$+$I$&$+$r
\e(B
118 <directive>DirectorySlash</directive>
119 \e$B%G%#%l%/%F%#%V$G@_Dj$7$^$9!#
\e(B</p>
121 <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
122 \e$B$=$7$F!"$=$N%j%=!<%9$,%G%#%l%/%H%j$r;X$7$F$$$?>l9g!"
\e(B<module>mod_dir</module>
123 \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
124 \e$B$3$N5sF0$K$O4v$D$+M}M3$,$"$j$^$9
\e(B:</p>
127 <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>
128 <li><module>mod_autoindex</module>
\e$B$,4|BTDL$j$KF0$/!#
\e(B<module>mod_autoindex</module>
129 \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
130 \e$B;X$7$F$7$^$&$3$H$K$J$j$^$9!#
\e(B</li>
131 <li><directive module="mod_dir">DirectoryIndex</directive>
\e$B$O!"
\e(B
132 \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>
133 <li>HTML
\e$B%Z!<%8$NAjBP
\e(B URL
\e$B;2>H$,@5$7$/F0:n$9$k!#
\e(B</li>
136 <p>
\e$B$H$O$$$(!"$b$7$3$&$$$C$?8z2L$rK>$^$J$$!"$+$D!"
\e(B
137 \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>
140 # see security warning below!<br />
141 <Location /some/path><br />
143 DirectorySlash Off<br />
144 SetHandler some-handler<br />
149 <note type="warning"><title>
\e$B%;%-%e%j%F%#7Y9p
\e(B</title>
150 <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
151 \e$B>7$/$3$H$K$J$k$+$b$7$l$^$;$s!#
\e(B
152 <module>mod_autoindex</module>
\e$B$,M-8z
\e(B (<code>Options +Indexes</code>)
\e$B$G!"
\e(B
153 <directive module="mod_dir">DirectoryIndex</directive>
\e$B$,M-8z$J%j%=!<%9
\e(B (
\e$BNc$($P
\e(B
154 <code>index.html</code>)
\e$B$r;X$7$F$$$F!"$^$?!"MW5a$N$"$C$?
\e(B URL
\e$B$KFCJL$J
\e(B
155 \e$B%O%s%I%i$,@_Dj$5$l$F$$$J$$>l9g$r9M$($F$_$F$/$@$5$$!#
\e(B
156 \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>
157 \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
158 \e$B%G%#%l%/%H%j$NFbMF0lMw$rJV$7$F$7$^$$$^$9!#
\e(B</strong></p>