mirror of
https://github.com/apache/httpd.git
synced 2025-05-31 12:21:16 +03:00
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@421136 13f79535-47bb-0310-9956-ffa450edef68
171 lines
6.2 KiB
XML
171 lines
6.2 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: 420990 -->
|
||
|
||
<!--
|
||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||
contributor license agreements. See the NOTICE file distributed with
|
||
this work for additional information regarding copyright ownership.
|
||
The ASF licenses this file to You 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_userdir.xml.meta">
|
||
|
||
<name>mod_userdir</name>
|
||
<description>$B%f!<%6@lMQ$N%G%#%l%/%H%j$rDs6!(B
|
||
</description>
|
||
<status>Base</status>
|
||
<sourcefile>mod_userdir.c</sourcefile>
|
||
<identifier>userdir_module</identifier>
|
||
|
||
<summary>
|
||
<p>$B$3$N%b%8%e!<%k$O!"(B
|
||
<code>http://example.com/~user/</code>
|
||
$B9=J8$r;H$C$F%f!<%6@lMQ%G%#%l%/%H%j$K%"%/%;%9$G$-$k$h$&$K$7$^$9!#(B</p>
|
||
</summary>
|
||
|
||
<seealso><a href="../urlmapping.html">URL $B$+$i(B
|
||
$B%U%!%$%k%7%9%F%`$X$N%^%C%T%s%0(B</a></seealso>
|
||
<seealso><a href="../howto/public_html.html">public_html
|
||
$B%A%e!<%H%j%"%k(B</a></seealso>
|
||
|
||
<directivesynopsis>
|
||
|
||
<name>UserDir</name>
|
||
<description>$B%f!<%6@lMQ%G%#%l%/%H%j$N0LCV(B</description>
|
||
<syntax>UserDir <em>directory-filename</em></syntax>
|
||
<contextlist><context>server config</context>
|
||
<context>virtual host</context></contextlist>
|
||
|
||
<usage>
|
||
|
||
<p><directive>UserDir</directive> $B%G%#%l%/%F%#%V$O!"(B
|
||
$B%f!<%6$N%I%-%e%a%s%H$X$N%j%/%(%9%H$r<u$1$?;~$K;H$&(B
|
||
$B%f!<%6$N%[!<%`%G%#%l%/%H%jCf$N!"<B:]$N%G%#%l%/%H%j$r(B
|
||
$B@_Dj$7$^$9!#(B
|
||
<em>directory-filename</em> $B$K$O<!$N$I$l$+$r;XDj$7$^$9(B:</p>
|
||
|
||
<ul>
|
||
<li>$B%G%#%l%/%H%jL>$+2<$K<($9$h$&$J%Q%?!<%s!#(B</li>
|
||
|
||
<li><code>disabled</code> $B%-!<%o!<%I!#(B
|
||
<code>enabled</code> $B%-!<%o!<%I(B ($B2<5-;2>H(B) $B$GL@<(E*$K(B
|
||
$B;XDj$5$l$?%f!<%60J30$N(B
|
||
<em>$BA4$F$N(B</em>$B%f!<%6L>(B-$B%G%#%l%/%H%jJQ49$r(B
|
||
$B$7$J$$$h$&$K$7$^$9!#(B</li>
|
||
|
||
<li><code>disabled</code> $B%-!<%o!<%I$H!"%9%Z!<%96h@Z$j$N%f!<%6L>%j%9%H!#(B
|
||
$B$3$N%j%9%HCf$K4^$^$l$k%f!<%6L>$KBP$7$F$O!"$?$H$((B
|
||
<code>enabled</code> $B@a$K$"$C$?$H$7$F$b!"(B
|
||
<em>$B7h$7$F(B</em>$B%G%#%l%/%H%jJQ49$O9T$o$l$^$;$s!#(B</li>
|
||
|
||
<li><code>enebled</code> $B%-!<%o!<%I$H%9%Z!<%96h@Z$j$N%f!<%6L>%j%9%H!#(B
|
||
$BA4BN$G$OJQ49$,L58z$K$J$C$F$$$?$H$$$?$H$7$F$b!"(B
|
||
$B$3$l$i$N%f!<%6L>$K$O%G%#%l%/%H%jJQ49$,9T$o$l$^$9!#(B
|
||
$B$?$@$7!"(B<code>disabled</code> $B@a$K$b$"$l$PJQ49$O$5$l$^$;$s!#(B
|
||
</li>
|
||
</ul>
|
||
|
||
<p>$B$b$7(B <code>enabled</code> $B$b(B <code>disabled</code>
|
||
$B%-!<%o!<%I$b(B <code>UserDir</code> $B$K8=$o$l$F$$$J$1$l$P!"(B
|
||
$B0z?t$O%U%!%$%kL>%Q%?!<%s$H$7$F07$o$l!"(B
|
||
$BL>A0$+$i%G%#%l%/%H%j$X$NJQ49$N;XDj$r9T$J$&;~$K;H$o$l$^$9!#(B
|
||
<code>http://www.foo.com/~bob/one/two.html</code>
|
||
$B$X$N%j%/%(%9%H$O<!$N$h$&$KJQ49$5$l$^$9(B:</p>
|
||
|
||
<table>
|
||
<tr><th>UserDir $B%G%#%l%/%F%#%V(B</th>
|
||
<th>$BJQ498e$N%Q%9(B</th></tr>
|
||
<tr><td>UserDir public_html</td><td>~bob/public_html/one/two.html</td></tr>
|
||
<tr><td>UserDir /usr/web</td><td>/usr/web/bob/one/two.html</td></tr>
|
||
<tr><td>UserDir /home/*/www</td><td>/home/bob/www/one/two.html</td></tr>
|
||
</table>
|
||
|
||
<p>$B<!$N%G%#%l%/%F%#%V$O%/%i%$%"%s%H$KBP$7$F%j%@%$%l%/%H$r(B
|
||
$BAw?.$7$^$9(B:</p>
|
||
|
||
<table>
|
||
<tr><th>UserDir $B%G%#%l%/%F%#%V(B</th>
|
||
<th>$BJQ498e$N%Q%9(B</th></tr>
|
||
<tr><td>UserDir http://www.foo.com/users</td><td>http://www.foo.com/users/bob/one/two.html</td></tr>
|
||
<tr><td>UserDir
|
||
http://www.foo.com/*/usr</td><td>http://www.foo.com/bob/usr/one/two.html</td></tr>
|
||
<tr><td>UserDir
|
||
http://www.foo.com/~*/</td><td>http://www.foo.com/~bob/one/two.html</td></tr>
|
||
</table>
|
||
|
||
<note>
|
||
<strong>$B$3$N%G%#%l%/%F%#%V$r;H$&$H$-$OCm0U$7$F$/$@$5$$(B;
|
||
"<code>UserDir ./</code>" $B$O(B
|
||
"<code>/~root</code>" $B$+$i(B "<code>/</code>" $B$X%^%C%W$7$^$9$,!"(B
|
||
$B$3$l$OK>$^$7$$F0:n$G$O$J$$$G$7$g$&!#(B
|
||
"<code>UserDir disabled root</code>" $B@k8@$r(B
|
||
$B@_Dj$NCf$K4^$a$F$*$/$3$H$r6/$/$*A&$a$7$^$9!#(B
|
||
$BDI2C>pJs$K(B <directive module="core">Directory</directive>
|
||
$B%G%#%l%/%F%#%V$d(B
|
||
<a href="../misc/security_tips.html">$B%;%-%e%j%F%#(B
|
||
Tips</a> $B$N%Z!<%8$b$4Mw2<$5$$!#(B</strong>
|
||
</note>
|
||
|
||
<p>$BDI2C$NNc(B:</p>
|
||
|
||
<p>$B>/?t$N%f!<%6$N$_$,(B <code>UserDir</code>
|
||
$B%G%#%l%/%H%j$rMxMQ$7!"$=$l0J30$K$OMxMQ$5$;$?$/$J$$>l9g$O(B
|
||
$B<!$r;H$$$^$7$g$&(B:</p>
|
||
|
||
<example>
|
||
UserDir disabled<br />
|
||
UserDir enabled user1 user2 user3
|
||
</example>
|
||
|
||
<p>$BBgItJ,$N%f!<%6$O(B <code>UserDir</code> $B%G%#%l%/%H%j$rMxMQ$9$k$1$l$I!"(B
|
||
$B>/?t$N?M$OIT5v2D$K$7$?$$>l9g$O!"<!$r;H$$$^$7$g$&(B:</p>
|
||
|
||
<example>
|
||
UserDir enabled<br />
|
||
UserDir disabled user4 user5 user6
|
||
</example>
|
||
|
||
<p>$BB>$N%f!<%6%G%#%l%/%H%j$r;XDj$9$k$3$H$b$G$-$^$9!#(B
|
||
$B<!$N$h$&$J%3%^%s%I$r;H$&$H(B:</p>
|
||
|
||
<example>
|
||
Userdir public_html /usr/web http://www.foo.com/
|
||
</example>
|
||
|
||
<p>http://www.foo.com/~bob/one/two.html $B$X$N%j%/%(%9%H$O$^$:(B
|
||
~bob/public_html/one/two.html $B$N%Z!<%8$rD4$Y!"$=$N<!$K(B
|
||
/usr/web/bob/one/two.html $B$rD4$Y!":G8e$K(B http://www.foo.com/bob/one/two.html
|
||
$B$X$N%j%@%$%l%/%H$rAw$j$^$9!#(B</p>
|
||
|
||
<p>$B%j%@%$%l%/%H$r2C$($k>l9g$O!"%j%9%H$N:G8e$NA*Br;h$G$J$1$l$P$J$j$^$;$s!#(B
|
||
Apache $B$O%j%@%$%l%/%H$,@.8y$9$k$+$I$&$+$r7h$a$k$3$H$O$G$-$^$;$s$N$G!"(B
|
||
$B%j%9%H$NA0$NJ}$K%j%@%$%l%/%H$r=q$/$H!"$=$l$,I,$:;HMQ$5$l$kA*Br;h$K(B
|
||
$B$J$C$F$7$^$$$^$9!#(B</p>
|
||
|
||
<p>2.1.4 $B0J9_$G$O!"%f!<%6%G%#%l%/%H%jCV495!G=$O%G%U%)%k%H$G$O5/F0$7$^$;$s!#(B
|
||
$B$=$l0JA0$N%P!<%8%g%s$G$O!"(B<directive module="mod_userdir">UserDir</directive>
|
||
$B%G%#%l%/%F%#%V$,B8:_$7$J$1$l$P!"(B<code>UserDir public_html</code>
|
||
$B$G$"$k$H2>Dj$5$l$F$$$^$7$?!#(B</p>
|
||
|
||
</usage>
|
||
|
||
<seealso><a href="../howto/public_html.html">public_html
|
||
$B%A%e!<%H%j%"%k(B</a></seealso>
|
||
|
||
</directivesynopsis>
|
||
</modulesynopsis>
|
||
|
||
|