📄 public_html.xml.ko
字号:
<?xml version='1.0' encoding='EUC-KR' ?><!DOCTYPE manualpage SYSTEM "../style/manualpage.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.--><manualpage metafile="public_html.xml.meta"><parentdocument href="./">How-To / Tutorials</parentdocument> <title>荤侩磊喊 昆叼泛配府</title><summary><p>咯矾 荤侩磊啊 乐绰 矫胶袍俊辑 <directive module="mod_userdir">UserDir</directive> 瘤矫绢甫 荤侩窍搁 阿 荤侩磊绰 磊脚狼 权叼泛配府 救俊 昆荤捞飘甫 父甸 荐 乐促. URL <code>http://example.com/~username/</code>俊 立辟窍搁 荤侩磊 "<code>username</code>"狼 权叼泛配府俊辑 <directive module="mod_userdir">UserDir</directive> 瘤矫绢肺 瘤沥茄 窍困叼泛配府俊 乐绰 其捞瘤甫 啊廉坷霸 等促.</p></summary><seealso><a href="../urlmapping.html">URL阑 颇老矫胶袍俊 措览</a></seealso> <section id="related"> <title>荤侩磊喊 昆叼泛配府</title> <related> <modulelist> <module>mod_userdir</module> </modulelist> <directivelist> <directive module="mod_userdir">UserDir</directive> <directive module="core">DirectoryMatch</directive> <directive module="core">AllowOverride</directive> </directivelist> </related> </section> <section id="userdir"> <title>UserDir肺 颇老版肺 瘤沥窍扁</title> <p><directive module="mod_userdir">UserDir</directive> 瘤矫绢绰 荤侩磊喊 其捞瘤甫 啊廉棵 叼泛配府甫 瘤沥茄促. 捞 瘤矫绢狼 荤侩过篮 咯矾啊瘤促.</p> <p>浇贰浆肺 矫累窍瘤臼绰 版肺甫 瘤沥窍搁 阿 荤侩磊狼 权叼泛配府俊 惑措利牢 叼泛配府 版肺肺 贸府茄促. 抗甫 甸绢, 酒贰 汲沥狼 版快:</p> <example> UserDir public_html </example> <p>URL <code>http://example.com/~rbowen/file.html</code>篮 颇老 版肺 <code>/home/rbowen/public_html/file.html</code>阑 舵茄促.</p> <p>浇贰浆肺 矫累窍绰 版肺甫 瘤沥窍搁 瘤沥茄 叼泛配府俊 荤侩磊疙阑 歹茄 叼泛配府 版肺甫 荤侩茄促. 抗甫 甸绢, 酒贰 汲沥狼 版快:</p> <example> UserDir /var/html </example> <p>URL <code>http://example.com/~rbowen/file.html</code>篮 颇老 版肺 <code>/var/html/rbowen/file.html</code>阑 舵茄促.</p> <p>喊钎 (*)甫 器窃茄 版肺甫 瘤沥窍搁 喊钎甫 荤侩磊疙栏肺 措眉茄 版肺甫 荤侩茄促. 抗甫 甸绢, 酒贰 汲沥狼 版快:</p> <example> UserDir /var/www/*/docs </example> <p>URL <code>http://example.com/~rbowen/file.html</code>篮 颇老 版肺 <code>/var/www/rbowen/docs/file.html</code>阑 舵茄促.</p> </section> <section id="enable"> <title>扁瓷阑 捞侩且 荤侩磊 力茄窍扁</title> <p>UserDir 巩辑俊 乐绰 巩过阑 荤侩窍咯 荤侩磊喊 昆叼泛配府 扁瓷阑 捞侩且 荐 乐绰 荤侩磊甫 力茄且 荐 乐促:</p> <example> UserDir enabled<br /> UserDir disabled root jro fish </example> <p>困 汲沥篮 <code>disabled</code> 巩厘俊 凯芭茄 荤恩阑 力寇窍绊 葛电 荤侩磊俊霸 昆叼泛配府 扁瓷阑 倾遏茄促. 肚, 促澜苞 鞍捞 割割 荤侩磊甫 力寇窍绊 扁瓷阑 倾遏窍瘤 臼阑 荐档 乐促:</p> <example> UserDir disabled<br /> UserDir enabled rbowen krietz </example> <p><directive module="mod_userdir">UserDir</directive> 巩辑俊 乐绰 促弗 抗甸档 曼绊窍扼.</p> </section> <section id="cgi"> <title>阿 荤侩磊喊 cgi 叼泛配府 瘤沥窍扁</title> <p>荤侩磊付促 cgi-bin 叼泛配府甫 何咯窍妨搁 <directive module="core" type="section">Directory</directive> 瘤矫绢甫 荤侩窍咯 荤侩磊 权叼泛配府狼 漂沥 窍困叼泛配府甫 cgi 啊瓷窍霸 父电促.</p> <example> <Directory /home/*/public_html/cgi-bin/><br /> Options ExecCGI<br /> SetHandler cgi-script<br /> </Directory> </example> <p><code>UserDir</code>捞 <code>public_html</code>捞扼绊 啊沥窍搁, 促澜苞 鞍捞 弊 救俊 乐绰 cgi 橇肺弊伐 <code>example.cgi</code>甫 角青且 荐 乐促.</p> <example> http://example.com/~rbowen/cgi-bin/example.cgi </example> </section> <section id="htaccess"> <title>荤侩磊啊 汲沥阑 函版且 荐 乐档废 父甸扁</title> <p>荤侩磊啊 磊脚狼 昆傍埃俊 措茄 昆辑滚 汲沥阑 荐沥窍妨搁, <code>.htaccess</code> 颇老阑 荤侩且 荐 乐绢具 茄促. <directive module="core">AllowOverride</directive>甫 荤侩磊啊 荐沥且 荐 乐绰 瘤矫绢俊 利钦茄 蔼栏肺 汲沥窍扼. 绢痘霸 悼累窍绰瘤俊 措茄 磊技茄 链焊绰 <a href="htaccess.html">.htaccess 捧配府倔</a>阑 曼绊窍扼.</p> </section></manualpage>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -