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: 1.14 -->
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_userdir.xml.meta">
24 <name>mod_userdir</name>
25 <description>
\e$B%f!<%6@lMQ$N%G%#%l%/%H%j$rDs6!
\e(B
28 <sourcefile>mod_userdir.c</sourcefile>
29 <identifier>userdir_module</identifier>
32 <p>
\e$B$3$N%b%8%e!<%k$O!"
\e(B
33 <code>http://example.com/~user/</code>
34 \e$B9=J8$r;H$C$F%f!<%6@lMQ%G%#%l%/%H%j$K%"%/%;%9$G$-$k$h$&$K$7$^$9!#
\e(B</p>
37 <seealso><a href="../urlmapping.html">URL
\e$B$+$i
\e(B
38 \e$B%U%!%$%k%7%9%F%`$X$N%^%C%T%s%0
\e(B</a></seealso>
39 <seealso><a href="../howto/public_html.html">public_html
40 \e$B%A%e!<%H%j%"%k
\e(B</a></seealso>
45 <description>
\e$B%f!<%6@lMQ%G%#%l%/%H%j$N0LCV
\e(B</description>
46 <syntax>UserDir <em>directory-filename</em></syntax>
47 <default>UserDir public_html</default>
48 <contextlist><context>server config</context>
49 <context>virtual host</context></contextlist>
53 <p><directive>UserDir</directive>
\e$B%G%#%l%/%F%#%V$O!"
\e(B
54 \e$B%f!<%6$N%I%-%e%a%s%H$X$N%j%/%(%9%H$r<u$1$?;~$K;H$&
\e(B
55 \e$B%f!<%6$N%[!<%`%G%#%l%/%H%jCf$N!"<B:]$N%G%#%l%/%H%j$r
\e(B
57 <em>directory-filename</em>
\e$B$K$O<!$N$I$l$+$r;XDj$7$^$9
\e(B:</p>
60 <li>
\e$B%G%#%l%/%H%jL>$+2<$K<($9$h$&$J%Q%?!<%s!#
\e(B</li>
62 <li><code>disabled</code>
\e$B%-!<%o!<%I!#
\e(B
63 <code>enabled</code>
\e$B%-!<%o!<%I
\e(B (
\e$B2<5-;2>H
\e(B)
\e$B$GL@<(E*$K
\e(B
64 \e$B;XDj$5$l$?%f!<%60J30$N
\e(B
65 <em>
\e$BA4$F$N
\e(B</em>
\e$B%f!<%6L>
\e(B-
\e$B%G%#%l%/%H%jJQ49$r
\e(B
66 \e$B$7$J$$$h$&$K$7$^$9!#
\e(B</li>
68 <li><code>disabled</code>
\e$B%-!<%o!<%I$H!"%9%Z!<%96h@Z$j$N%f!<%6L>%j%9%H!#
\e(B
69 \e$B$3$N%j%9%HCf$K4^$^$l$k%f!<%6L>$KBP$7$F$O!"$?$H$(
\e(B
70 <code>enabled</code>
\e$B@a$K$"$C$?$H$7$F$b!"
\e(B
71 <em>
\e$B7h$7$F
\e(B</em>
\e$B%G%#%l%/%H%jJQ49$O9T$o$l$^$;$s!#
\e(B</li>
73 <li><code>enebled</code>
\e$B%-!<%o!<%I$H%9%Z!<%96h@Z$j$N%f!<%6L>%j%9%H!#
\e(B
74 \e$BA4BN$G$OJQ49$,L58z$K$J$C$F$$$?$H$$$?$H$7$F$b!"
\e(B
75 \e$B$3$l$i$N%f!<%6L>$K$O%G%#%l%/%H%jJQ49$,9T$o$l$^$9!#
\e(B
76 \e$B$?$@$7!"
\e(B<code>disabled</code>
\e$B@a$K$b$"$l$PJQ49$O$5$l$^$;$s!#
\e(B
80 <p>
\e$B$b$7
\e(B <code>enabled</code>
\e$B$b
\e(B <code>disabled</code>
81 \e$B%-!<%o!<%I$b
\e(B <code>UserDir</code>
\e$B$K8=$o$l$F$$$J$1$l$P!"
\e(B
82 \e$B0z?t$O%U%!%$%kL>%Q%?!<%s$H$7$F07$o$l!"
\e(B
83 \e$BL>A0$+$i%G%#%l%/%H%j$X$NJQ49$N;XDj$r9T$J$&;~$K;H$o$l$^$9!#
\e(B
84 <code>http://www.foo.com/~bob/one/two.html</code>
85 \e$B$X$N%j%/%(%9%H$O<!$N$h$&$KJQ49$5$l$^$9
\e(B:</p>
88 <tr><th>UserDir
\e$B%G%#%l%/%F%#%V
\e(B</th>
89 <th>
\e$BJQ498e$N%Q%9
\e(B</th></tr>
90 <tr><td>UserDir public_html</td><td>~bob/public_html/one/two.html</td></tr>
91 <tr><td>UserDir /usr/web</td><td>/usr/web/bob/one/two.html</td></tr>
92 <tr><td>UserDir /home/*/www</td><td>/home/bob/www/one/two.html</td></tr>
95 <p>
\e$B<!$N%G%#%l%/%F%#%V$O%/%i%$%"%s%H$KBP$7$F%j%@%$%l%/%H$r
\e(B
96 \e$BAw?.$7$^$9
\e(B:</p>
99 <tr><th>UserDir
\e$B%G%#%l%/%F%#%V
\e(B</th>
100 <th>
\e$BJQ498e$N%Q%9
\e(B</th></tr>
101 <tr><td>UserDir http://www.foo.com/users</td><td>http://www.foo.com/users/bob/one/two.html</td></tr>
103 http://www.foo.com/*/usr</td><td>http://www.foo.com/bob/usr/one/two.html</td></tr>
105 http://www.foo.com/~*/</td><td>http://www.foo.com/~bob/one/two.html</td></tr>
109 <strong>
\e$B$3$N%G%#%l%/%F%#%V$r;H$&$H$-$OCm0U$7$F$/$@$5$$
\e(B;
110 "<code>UserDir ./</code>"
\e$B$O
\e(B
111 "<code>/~root</code>"
\e$B$+$i
\e(B "<code>/</code>"
\e$B$X%^%C%W$7$^$9$,!"
\e(B
112 \e$B$3$l$OK>$^$7$$F0:n$G$O$J$$$G$7$g$&!#
\e(B
113 "<code>UserDir disabled root</code>"
\e$B@k8@$r
\e(B
114 \e$B@_Dj$NCf$K4^$a$F$*$/$3$H$r6/$/$*A&$a$7$^$9!#
\e(B
115 \e$BDI2C>pJs$K
\e(B <directive module="core">Directory</directive>
116 \e$B%G%#%l%/%F%#%V$d
\e(B
117 <a href="../misc/security_tips.html">
\e$B%;%-%e%j%F%#
\e(B
118 Tips</a>
\e$B$N%Z!<%8$b$4Mw2<$5$$!#
\e(B</strong>
121 <p>
\e$BDI2C$NNc
\e(B:</p>
123 <p>
\e$B>/?t$N%f!<%6$N$_$,
\e(B <code>UserDir</code>
124 \e$B%G%#%l%/%H%j$rMxMQ$7!"$=$l0J30$K$OMxMQ$5$;$?$/$J$$>l9g$O
\e(B
125 \e$B<!$r;H$$$^$7$g$&
\e(B:</p>
128 UserDir disabled<br />
129 UserDir enabled user1 user2 user3
132 <p>
\e$BBgItJ,$N%f!<%6$O
\e(B <code>UserDir</code>
\e$B%G%#%l%/%H%j$rMxMQ$9$k$1$l$I!"
\e(B
133 \e$B>/?t$N?M$OIT5v2D$K$7$?$$>l9g$O!"<!$r;H$$$^$7$g$&
\e(B:</p>
136 UserDir enabled<br />
137 UserDir disabled user4 user5 user6
140 <p>
\e$BB>$N%f!<%6%G%#%l%/%H%j$r;XDj$9$k$3$H$b$G$-$^$9!#
\e(B
141 \e$B<!$N$h$&$J%3%^%s%I$r;H$&$H
\e(B:</p>
144 Userdir public_html /usr/web http://www.foo.com/
147 <p>http://www.foo.com/~bob/one/two.html
\e$B$X$N%j%/%(%9%H$O$^$:
\e(B
148 ~bob/public_html/one/two.html
\e$B$N%Z!<%8$rD4$Y!"$=$N<!$K
\e(B
149 /usr/web/bob/one/two.html
\e$B$rD4$Y!":G8e$K
\e(B http://www.foo.com/bob/one/two.html
150 \e$B$X$N%j%@%$%l%/%H$rAw$j$^$9!#
\e(B</p>
152 <p>
\e$B%j%@%$%l%/%H$r2C$($k>l9g$O!"%j%9%H$N:G8e$NA*Br;h$G$J$1$l$P$J$j$^$;$s!#
\e(B
153 Apache
\e$B$O%j%@%$%l%/%H$,@.8y$9$k$+$I$&$+$r7h$a$k$3$H$O$G$-$^$;$s$N$G!"
\e(B
154 \e$B%j%9%H$NA0$NJ}$K%j%@%$%l%/%H$r=q$/$H!"$=$l$,I,$:;HMQ$5$l$kA*Br;h$K
\e(B
155 \e$B$J$C$F$7$^$$$^$9!#
\e(B</p>
159 <seealso><a href="../howto/public_html.html">public_html
160 \e$B%A%e!<%H%j%"%k
\e(B</a></seealso>