mirror of
https://github.com/apache/httpd.git
synced 2025-11-06 16:49:32 +03:00
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104765 13f79535-47bb-0310-9956-ffa450edef68
164 lines
6.9 KiB
XML
164 lines
6.9 KiB
XML
<?xml version="1.0" encoding="iso-2022-jp"?>
|
||
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
|
||
<?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
|
||
<!-- English Revision: 1.12 -->
|
||
|
||
<!--
|
||
Copyright 2002-2004 The Apache Software Foundation
|
||
|
||
Licensed under the Apache License, Version 2.0 (the "License");
|
||
you may not use this file except in compliance with the License.
|
||
You may obtain a copy of the License at
|
||
|
||
http://www.apache.org/licenses/LICENSE-2.0
|
||
|
||
Unless required by applicable law or agreed to in writing, software
|
||
distributed under the License is distributed on an "AS IS" BASIS,
|
||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
See the License for the specific language governing permissions and
|
||
limitations under the License.
|
||
-->
|
||
|
||
<modulesynopsis metafile="mod_dir.xml.meta">
|
||
|
||
<name>mod_dir</name>
|
||
<description>$B!V:G8e$N%9%i%C%7%e!W$N%j%@%$%l%/%H$H!"%G%#%l%/%H%j$N(B
|
||
$B%$%s%G%C%/%9%U%!%$%k$r07$&5!G=$rDs6!$9$k(B</description>
|
||
<status>Base</status>
|
||
<sourcefile>mod_dir.c</sourcefile>
|
||
<identifier>dir_module</identifier>
|
||
|
||
<summary>
|
||
<p>$B%G%#%l%/%H%j%$%s%G%C%/%9$O!"<!$NFs$D$N$&$A$I$A$i$+$,MxMQ$5$l$^$9(B:</p>
|
||
|
||
<ul>
|
||
<li>$B0l$DL\$O!"%f!<%6$,:n@.$7$?%U%!%$%k$rMQ$$$k$b$N$G!"DL>o(B
|
||
<code>index.html</code> $B$H$$$&%U%!%$%kL>$r;H$$$^$9!#$3$N%U%!%$%kL>$O!"(B
|
||
<directive module="mod_dir">DirectoryIndex</directive> $B%G%#%l%/%F%#%V$G(B
|
||
$B;XDj$9$k$3$H$,$G$-$^$9!#$3$N5!G=$O(B <module>mod_dir</module>
|
||
$B%b%8%e!<%k$GDs6!$5$l$^$9!#(B</li>
|
||
|
||
<li>$B$b$&0l$D$NJ}K!$O!"(B
|
||
$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!#(B
|
||
$B$3$N5!G=$O!"(B<module>mod_autoindex</module>
|
||
$B%b%8%e!<%k$K$h$jDs6!$5$l$^$9!#(B</li>
|
||
</ul>
|
||
|
||
<p>$B<+F0E*$J%$%s%G%C%/%9@8@.5!G=$r:o=|(B ($B$b$7$/$O8r49(B)
|
||
$B$G$-$k$h$&$K!"$3$NFs$D$N5!G=$OJ,N%$5$l$F$$$^$9!#(B</p>
|
||
|
||
<p>$B$J$*(B <code>http://servername/foo/dirname</code> $B$H$$$&(B URL
|
||
$B$X$N%j%/%(%9%H$,$"$C$?:]$K!"(B<code>dirname</code>
|
||
$B$H$$$&%G%#%l%/%H%j$,$"$l$P!"!V:G8e$K%9%i%C%7%e$r$D$1$?7A!W$N(B URL
|
||
$B$X$N%j%@%$%l%/%H$rAw=P$7$^$9!#(B
|
||
$B%G%#%l%/%H%j$X$N%"%/%;%9$O%9%i%C%7%e$G=*$o$C$F$$$kI,MW$,$"$j!"(B
|
||
<code>mod_dir</code> $B$O!"(B<code>http://servername/foo/dirname/</code>
|
||
$B$X$N%j%@%$%l%/%H$rAw=P$9$k$3$H$K$J$j$^$9!#(B</p>
|
||
</summary>
|
||
|
||
<directivesynopsis>
|
||
<name>DirectoryIndex</name>
|
||
<description>$B%/%i%$%"%s%H$,%G%#%l%/%H%j$r%j%/%(%9%H$7$?$H$-$KD4$Y$k(B
|
||
$B%j%=!<%9$N%j%9%H(B</description>
|
||
<syntax>DirectoryIndex
|
||
<var>local-url</var> [<var>local-url</var>] ...</syntax>
|
||
<default>DirectoryIndex index.html</default>
|
||
<contextlist><context>server config</context><context>virtual host</context>
|
||
<context>directory</context><context>.htaccess</context></contextlist>
|
||
<override>Indexes</override>
|
||
|
||
<usage>
|
||
<p>
|
||
$B%/%i%$%"%s%H$,!"%G%#%l%/%H%jL>$N:G8e$K!V(B/$B!W(B
|
||
$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(B
|
||
<directive>DirectoryIndex</directive> $B%G%#%l%/%F%#%V$G@_Dj$7$^$9!#(B
|
||
<var>Local-url</var>
|
||
$B$O!"%j%/%(%9%H$5$l$?%G%#%l%/%H%j$KBP1~$9$k!"%5!<%P>e$N%I%-%e%a%s%H$N(B
|
||
(% $B%(%s%3!<%I$5$l$?(B) URL $B$G!"IaDL$O%G%#%l%/%H%jCf$N%U%!%$%k$NL>A0$G$9!#(B
|
||
$BJ#?t$N(B URL $B$,@_Dj$5$l$?>l9g$K$O!":G=i$K8+$D$+$C$?$b$N$rJV$7$^$9!#(B
|
||
$B$=$l$i$,8+$D$+$i$:!"(B<code>Indexes</code>
|
||
$B%*%W%7%g%s$,%;%C%H$5$l$F$$$k>l9g!"%G%#%l%/%H%j$N%j%9%H$r@8@.$7$^$9!#(B
|
||
</p>
|
||
|
||
<example><title>$BNc(B</title>
|
||
DirectoryIndex index.html
|
||
</example>
|
||
|
||
<p><code>http://myserver/docs/</code> $B$X$N%"%/%;%9$,$"$j!"(B
|
||
<code>http://myserver/docs/index.html</code>
|
||
$B$,B8:_$9$l$P!"$3$N(B URL $B$,JV$5$l$^$9!#(B
|
||
$B$b$7B8:_$7$J$1$l$P!"%G%#%l%/%H%j$N%j%9%H$,JV$5$l$^$9!#(B</p>
|
||
|
||
<p>$BCm(B: $B%I%-%e%a%s%H$,F1$8%G%#%l%/%H%jFb$KB8:_$9$k$OI,MW$"$j$^$;$s!#(B
|
||
</p>
|
||
|
||
<example>
|
||
DirectoryIndex index.html index.txt /cgi-bin/index.pl
|
||
</example>
|
||
|
||
<p>$B$H$7$?>l9g!"(B<code>index.html</code> $B$H(B <code>index.txt</code>
|
||
$B$N$I$A$i$b%G%#%l%/%H%jFb$KB8:_$7$J$$>l9g!"(BCGI $B%9%/%j%W%H(B
|
||
<code>/cgi-bin/index.pl</code> $B$,<B9T$5$l$^$9!#(B</p>
|
||
</usage>
|
||
</directivesynopsis>
|
||
|
||
<directivesynopsis>
|
||
<name>DirectorySlash</name>
|
||
<description>$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(B</description>
|
||
<syntax>DirectorySlash On|Off</syntax>
|
||
<default>DirectorySlash On</default>
|
||
<contextlist><context>server config</context><context>virtual host</context>
|
||
<context>directory</context><context>.htaccess</context></contextlist>
|
||
<override>Indexes</override>
|
||
<compatibility>2.0.51 $B0J9_(B</compatibility>
|
||
|
||
<usage>
|
||
<p>$BMW5a$N$"$C$?(B URL $B$,%G%#%l%/%H%j$r;X$9$+$I$&$+$r!"(B
|
||
<module>mod_dir</module> $B$,D4@0$9$k$Y$-$+$I$&$+$r(B
|
||
<directive>DirectorySlash</directive>
|
||
$B%G%#%l%/%F%#%V$G@_Dj$7$^$9!#(B</p>
|
||
|
||
<p>$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!"(B
|
||
$B$=$7$F!"$=$N%j%=!<%9$,%G%#%l%/%H%j$r;X$7$F$$$?>l9g!"(B<module>mod_dir</module>
|
||
$B$O!"KvHx$K%9%i%C%7%e$r(B<em>$BIU2C(B</em>$B$7$?>e$GF1$8%j%=!<%9$K%j%@%$%l%/%H$5$;$^$9!#(B
|
||
$B$3$N5sF0$K$O4v$D$+M}M3$,$"$j$^$9(B:</p>
|
||
|
||
<ul>
|
||
<li>$B%f!<%6$O!":G=*E*$K$O%j%=!<%9$NJLL>(B URL $B$r%j%/%(%9%H$9$k$3$H$K$J$k!#(B</li>
|
||
<li><module>mod_autoindex</module> $B$,4|BTDL$j$KF0$/!#(B<module>mod_autoindex</module>
|
||
$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(B
|
||
$B;X$7$F$7$^$&$3$H$K$J$j$^$9!#(B</li>
|
||
<li><directive module="mod_dir">DirectoryIndex</directive> $B$O!"(B
|
||
$BKvHx$K%9%i%C%7%e$,$D$$$F$$$k%j%/%(%9%H$K$D$$$F(B<em>$B$N$_(B</em>$BI>2A$5$l$k!#(B</li>
|
||
<li>HTML $B%Z!<%8$NAjBP(B URL $B;2>H$,@5$7$/F0:n$9$k!#(B</li>
|
||
</ul>
|
||
|
||
<p>$B$H$O$$$(!"$b$7$3$&$$$C$?8z2L$rK>$^$J$$!"$+$D!"(B
|
||
$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(B:</p>
|
||
|
||
<example>
|
||
# see security warning below!<br />
|
||
<Location /some/path><br />
|
||
<indent>
|
||
DirectorySlash Off<br />
|
||
SetHandler some-handler<br />
|
||
</indent>
|
||
</Location>
|
||
</example>
|
||
|
||
<note type="warning"><title>$B%;%-%e%j%F%#7Y9p(B</title>
|
||
<p>$BKvHx$N%9%i%C%7%e$G$N%j%@%$%l%/%H$r%*%U$K$9$k$H!"7k2LE*$K>pJsO31L$r(B
|
||
$B>7$/$3$H$K$J$k$+$b$7$l$^$;$s!#(B
|
||
<module>mod_autoindex</module> $B$,M-8z(B (<code>Options +Indexes</code>) $B$G!"(B
|
||
<directive module="mod_dir">DirectoryIndex</directive> $B$,M-8z$J%j%=!<%9(B ($BNc$($P(B
|
||
<code>index.html</code>) $B$r;X$7$F$$$F!"$^$?!"MW5a$N$"$C$?(B URL $B$KFCJL$J(B
|
||
$B%O%s%I%i$,@_Dj$5$l$F$$$J$$>l9g$r9M$($F$_$F$/$@$5$$!#(B
|
||
$B$3$N>l9gKvHx$K%9%i%C%7%e$N$D$$$F$$$k%j%/%(%9%H$KBP$7$F$O(B <code>index.html</code>
|
||
$B%U%!%$%k$,JV$5$l$^$9!#(B<strong>$B$7$+$7%9%i%C%7%e$N$J$$%j%/%(%9%H$KBP$7$F$O!"(B
|
||
$B%G%#%l%/%H%j$NFbMF0lMw$rJV$7$F$7$^$$$^$9!#(B</strong></p>
|
||
</note>
|
||
</usage>
|
||
</directivesynopsis>
|
||
|
||
</modulesynopsis>
|