📄 mod_userdir.xml.ko
字号:
<?xml version="1.0" encoding="EUC-KR" ?><!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd"><?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?><!-- English Revision: 151405 --><!-- Copyright 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_userdir.xml.meta"><name>mod_userdir</name><description>荤侩磊喊 叼泛配府</description><status>Base</status><sourcefile>mod_userdir.c</sourcefile><identifier>userdir_module</identifier><summary><p>捞 葛碘阑 荤侩窍搁 <code>http://example.com/~user/</code> 侥栏肺荤侩磊喊 叼泛配府俊 立辟且 荐 乐促.</p></summary><seealso><a href="../urlmapping.html">URL阑 颇老矫胶袍俊 措览</a></seealso><seealso><a href="../howto/public_html.html">public_html捧配府倔</a></seealso><directivesynopsis><name>UserDir</name><description>荤侩磊喊 叼泛配府 困摹</description><syntax>UserDir <em>directory-filename</em></syntax><default>UserDir public_html</default><contextlist><context>server config</context> <context>virtualhost</context></contextlist><usage> <p><directive>UserDir</directive> 瘤矫绢绰 荤侩磊狼 巩辑俊 措茄夸没阑 罐阑锭 荤侩磊 权叼泛配府 救俊辑 荤侩且 角力 叼泛配府甫瘤沥茄促. <em>Directory-filename</em>篮 促澜 吝 窍唱捞促:</p> <ul> <li>酒贰客 鞍篮 叼泛配府疙 趣篮 菩畔.</li> <li><code>disabled</code> 虐况靛. <code>enabled</code> 虐况靛肺 (酒贰 曼绊) 流立 捞抚阑 瘤沥窍瘤 臼疽促搁<em>葛电</em> 荤侩磊疙-叼泛配府 函券阑 窍瘤 臼绰促.</li> <li><code>disabled</code> 虐况靛 第俊 傍归栏肺 备盒茄 荤侩磊疙 格废.荤侩磊疙捞 <code>enabled</code> 备巩俊 乐促绊 窍歹扼档, 捞 格废俊乐绰 荤侩磊疙篮 叼泛配府 函券阑 窍瘤 <em>臼绰促</em>.</li> <li><code>enabled</code> 虐况靛 第俊 傍归栏肺 备盒茄 荤侩磊疙 格废.傈眉 disable阑 荤侩窍绊 荤侩磊疙捞 <code>disabled</code> 备巩俊绝歹扼档, 荤侩磊疙阑 叼泛配府 函券茄促.</li> </ul> <p><code>Userdir</code> 瘤矫绢俊 <code>enabled</code>唱<code>disabled</code> 虐况靛甫 荤侩窍瘤 臼栏搁, 酒痹刚飘甫颇老疙 菩畔栏肺 贸府窍咯 叼泛配府肺 函券茄促.<code>http://www.foo.com/~bob/one/two.html</code>俊 措茄 夸没篮促澜苞 鞍捞 函券等促:</p><table><tr><th>荤侩茄 UserDir 瘤矫绢</th><th>函券茄 版肺</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>促澜 瘤矫绢绰 努扼捞攫飘俊霸 府促捞泛记阑 焊辰促:</p> <table><tr><th>荤侩茄 UserDir 瘤矫绢</th><th>函券茄 版肺</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>UserDirhttp://www.foo.com/*/usr</td><td>http://www.foo.com/bob/usr/one/two.html</td></tr><tr><td>UserDirhttp://www.foo.com/~*/</td><td>http://www.foo.com/~bob/one/two.html</td></tr></table> <note> <strong>捞 瘤矫绢甫 荤侩且锭 林狼窍扼; 抗甫 甸绢,<code>"UserDir ./"</code>绰 <code>"/~root"</code>甫 酒付档 官恩流窍瘤 臼霸<code>"/"</code>肺 函券茄促. 汲沥俊 "<code>UserDir disabled root</code>"甫 器窃窍辨 碍仿洒 鼻茄促. 磊技茄 沥焊甫 舅妨搁<directive module="core">Directory</directive> 瘤矫绢客 <a href="../misc/security_tips.html">焊救 屏</a>档 曼绊窍扼.</strong></note><p>眠啊 抗力:</p><p>割割 荤侩磊俊霸父 <code>UserDir</code> 叼泛配府甫 倾侩茄促搁,促澜苞 鞍促:</p><example>UserDir disabled<br />UserDir enabled user1 user2 user3</example><p>措何盒狼 荤侩磊俊霸 <code>UserDir</code> 叼泛配府甫 倾侩窍绊老何父 芭何茄促搁, 促澜苞 鞍促:</p><example>UserDir enabled<br />UserDir disabled user4 user5 user6</example><p>促弗 荤侩磊 叼泛配府甫 瘤沥且 荐档 乐促.促澜苞 鞍篮 疙飞绢甫 荤侩茄促搁:</p><example>Userdir public_html /usr/web http://www.foo.com/</example><p>http://www.foo.com/~bob/one/two.html 夸没阑 窍搁,刚历 ~bob/public_html/one/two.html 其捞瘤甫 茫绊,/usr/web/bob/one/two.html阑 茫篮 饶, 付瘤阜栏肺http://www.foo.com/bob/one/two.html栏肺 府促捞泛记阑 焊辰促.</p><p>府促捞泛记阑 荤侩茄促搁 格废狼 付瘤阜俊 滴绢具 茄促.酒颇摹绰 府促捞泛记捞 己傍沁绰瘤 舅 荐 绝扁锭巩俊, 府促捞泛记阑格废 菊俊 滴搁 亲惑 府促捞泛记阑 荤侩窍霸 等促.</p></usage><seealso><a href="../howto/public_html.html">public_html捧配府倔</a></seealso></directivesynopsis></modulesynopsis>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -