]> granicus.if.org Git - apache/blob - docs/manual/mod/mod_dir.xml.ja
switch to the new format for outdated revision references
[apache] / docs / manual / mod / mod_dir.xml.ja
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 -->
5
6 <!--
7  Copyright 2002-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 <modulesynopsis metafile="mod_dir.xml.meta">
23
24 <name>mod_dir</name>
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>
27 <status>Base</status>
28 <sourcefile>mod_dir.c</sourcefile>
29 <identifier>dir_module</identifier>
30
31 <summary>
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>
33
34     <ul>
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>
40
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>
45     </ul>
46
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>
49
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>
57 </summary>
58
59 <directivesynopsis>
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>
69
70 <usage>
71     <p>
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
75     <var>Local-url</var>
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
81     </p>
82
83     <example><title>\e$BNc\e(B</title>
84       DirectoryIndex index.html
85     </example>
86
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>
91
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
93     </p>
94
95     <example>
96       DirectoryIndex index.html index.txt  /cgi-bin/index.pl
97     </example>
98
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>
102 </usage>
103 </directivesynopsis>
104
105 <directivesynopsis>
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>
114
115 <usage>
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>
120
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>
125
126     <ul>
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>
134     </ul>
135
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>
138
139     <example>
140         # see security warning below!<br />
141         &lt;Location /some/path&gt;<br />
142         <indent>
143             DirectorySlash Off<br />
144             SetHandler some-handler<br />
145         </indent>
146         &lt;/Location&gt;
147     </example>
148
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>
159     </note>
160 </usage>
161 </directivesynopsis>
162
163 </modulesynopsis>