mirror of
https://github.com/apache/httpd.git
synced 2025-05-28 13:41:30 +03:00
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@421136 13f79535-47bb-0310-9956-ffa450edef68
159 lines
5.8 KiB
XML
159 lines
5.8 KiB
XML
<?xml version='1.0' encoding='iso-2022-jp' ?>
|
||
<!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
|
||
<?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
|
||
<!-- English Revision: 151408:420990 (outdated) -->
|
||
|
||
<!--
|
||
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.
|
||
-->
|
||
|
||
<manualpage metafile="public_html.xml.meta">
|
||
<parentdocument href="./">How-To / $B%A%e!<%H%j%"%k(B</parentdocument>
|
||
|
||
<title>$B%f!<%6Kh$N%&%'%V%G%#%l%/%H%j(B</title>
|
||
|
||
<summary>
|
||
<p>$BJ#?t$N%f!<%6$N$$$k%7%9%F%`$G$O!"(B<directive
|
||
module="mod_userdir">UserDir</directive> $B%G%#%l%/%F%#%V$r;H$C$F(B
|
||
$B3F%f!<%6$,%[!<%`%G%#%l%/%H%j$K%&%'%V%5%$%H$r9=C[$G$-$k$h$&$K@_Dj$9$k$3$H$,(B
|
||
$B2DG=$G$9!#(BURL <code>http://example.com/~username/</code> $B$rK,$l$??M$O(B
|
||
"<code>username</code>" $B$H$$$&%f!<%6$N(B <directive
|
||
module="mod_userdir">UserDir</directive> $B%G%#%l%/%F%#%V$G;XDj$5$l$?(B
|
||
$B%5%V%G%#%l%/%H%j$+$i%3%s%F%s%D$rF@$k$3$H$K$J$j$^$9!#(B</p>
|
||
</summary>
|
||
|
||
<seealso><a href="../urlmapping.html">URL $B$+$i%U%!%$%k%7%9%F%`$X$N%^%C%T%s%0(B</a></seealso>
|
||
|
||
<section id="related">
|
||
<title>$B%f!<%6Kh$N%&%'%V%G%#%l%/%H%j(B</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 $B$r;H$C$F%U%!%$%k$N%Q%9$r@_Dj$9$k(B</title>
|
||
|
||
<p><directive module="mod_userdir">UserDir</directive> $B%G%#%l%/%F%#%V$O(B
|
||
$B%f!<%6Kh$N%3%s%F%s%D$,FI$_9~$^$l$k%G%#%l%/%H%j$r;XDj$7$^$9!#(B
|
||
$B$3$N%G%#%l%/%F%#%V$O$$$m$$$m0c$C$?7A<0$r<h$k$3$H$,$G$-$^$9!#(B</p>
|
||
|
||
<p>$B%9%i%C%7%e$G;O$^$i$J$$%Q%9$,M?$($i$l$?$H$-$O!"%f!<%6$N%[!<%`%G%#%l%/%H%j(B
|
||
$B$+$i$NAjBP%Q%9$H$_$J$5$l$^$9!#<!$N@_Dj$,$"$C$?$H$-$K(B:</p>
|
||
|
||
<example>
|
||
UserDir public_html
|
||
</example>
|
||
|
||
<p>URL <code>http://example.com/~rbowen/file.html</code> $B$O(B
|
||
$B%Q%9(B <code>/home/rbowen/public_html/file.html</code> $B$X(B
|
||
$BJQ49$5$l$^$9!#(B</p>
|
||
|
||
<p>$B%Q%9$,%9%i%C%7%e$G;O$^$k$H$-$O!"%G%#%l%/%H%j%Q%9$O$=$N%Q%9$K(B
|
||
$B%f!<%6L>$r2C$($?$b$N$+$i$J$j$^$9!#<!$N@_Dj$N$H$-(B:</p>
|
||
|
||
<example>
|
||
UserDir /var/html
|
||
</example>
|
||
|
||
<p>URL <code>http://example.com/~rbowen/file.html</code> $B$O(B
|
||
$B%Q%9(B <code>/var/html/rbowen/file.html</code> $B$XJQ49$5$l$^$9!#(B</p>
|
||
|
||
<p>$B%"%9%?%j%9%/(B (*) $B$r4^$`%Q%9$,;XDj$5$l$?$H$-$O!"%"%9%?%j%9%/$r(B
|
||
$B%f!<%6L>$GCV49$7$?$b$N$,;HMQ$5$l$^$9!#$3$N$h$&$J@_Dj$@$H(B:</p>
|
||
|
||
<example>
|
||
UserDir /var/www/*/docs
|
||
</example>
|
||
|
||
<p>URL <code>http://example.com/~rbowen/file.html</code> $B$O(B
|
||
$B%Q%9(B <code>/var/www/rbowen/docs/file.html</code> $B$XJQ49$5$l$^$9!#(B</p>
|
||
|
||
</section>
|
||
|
||
<section id="enable">
|
||
<title>$B$3$N5!G=$r;HMQ$G$-$k%f!<%6$r@)8B$9$k(B</title>
|
||
|
||
<p>UserDir $B$N%I%-%e%a%s%H$K<($5$l$F$$$k9=J8$r;H$&$3$H$G!"(B
|
||
$B$I$N%f!<%6$,$3$N5!G=$r;H$&$3$H$,$G$-$k$+$r@)8B$9$k$3$H$,$G$-$^$9(B:</p>
|
||
|
||
<example>
|
||
UserDir enabled<br />
|
||
UserDir disabled root jro fish
|
||
</example>
|
||
|
||
<p>$B>e$N@_Dj$O(B <code>dissabled</code> $BJ8$N%f!<%60J30$N$9$Y$F$N%f!<%6$K(B
|
||
$BBP$7$F(B UserDir $B$N5!G=$rM-8z$K$7$^$9!#F1MM$K$7$F!"0J2<$N$h$&$K(B
|
||
$B?tL>$N%f!<%60J30$KBP$7$F$3$N5!G=$rL58z$K$9$k$3$H$b$G$-$^$9(B:</p>
|
||
|
||
<example>
|
||
UserDir disabled<br />
|
||
UserDir enabled rbowen krietz
|
||
</example>
|
||
|
||
<p>$BB>$NNc$O(B <directive module="mod_userdir">UserDir</directive>
|
||
$B$N@bL@$r;2>H$7$F$/$@$5$$!#(B</p>
|
||
|
||
</section>
|
||
|
||
<section id="cgi">
|
||
<title>$B%f!<%6Kh$N(B CGI $B%G%#%l%/%H%j(B</title>
|
||
|
||
<p>$B$=$l$>$l$N%f!<%6$K@lMQ$N(B cgi-bin $B%G%#%l%/%H%j$rM?$($k$?$a$K!"(B
|
||
<directive module="core" type="section">Directory</directive>
|
||
$B$r;H$C$F%f!<%6$N%[!<%`%G%#%l%/%H%j$N;XDj$5$l$?NN0h$KBP$7$F(B CGI $B$rM-8z$K(B
|
||
$B$9$k$3$H$,$G$-$^$9!#(B</p>
|
||
|
||
<example>
|
||
<Directory /home/*/public_html/cgi-bin/><br />
|
||
Options ExecCGI<br />
|
||
SetHandler cgi-script<br />
|
||
</Directory>
|
||
</example>
|
||
|
||
<p>$B$=$7$F!"(B<code>UserDir</code> $B$,(B
|
||
<code>public_html</code> $B$K@_Dj$5$l$F$$$k$H2>Dj$9$k$H!"(B
|
||
$B$=$N%G%#%l%/%H%j$N(B CGI $B%W%m%0%i%`(B <code>example.cgi</code>
|
||
$B$O0J2<$NMM$K8F$S=P$5$l$k$3$H$,$G$-$^$9(B:</p>
|
||
|
||
<example>
|
||
http://example.com/~rbowen/cgi-bin/example.cgi
|
||
</example>
|
||
|
||
</section>
|
||
|
||
<section id="htaccess">
|
||
<title>$B%f!<%6$K$h$k@_DjJQ99$r5v2D(B</title>
|
||
|
||
<p>$B%f!<%6$KH`$i$N%&%'%V6u4V$G$N%5!<%P$N@_Dj$NJQ99$r5v2D$9$k>l9g!"(B
|
||
$B%f!<%6$O(B <code>.htaccess</code> $B%U%!%$%k$r;H$C$F@_Dj$rJQ99$9$kI,MW$,$"$j$^$9!#(B
|
||
<directive module="core">AllowOverride</directive> $B$NCM$r(B
|
||
$B%f!<%6$,JQ99$9$k$3$H$r5v2D$7$?$$%G%#%l%/%F%#%V$KBP$7$F==J,$J$b$N$K(B
|
||
$B@_Dj$7$F$$$k$3$H$r3NG'$7$F$/$@$5$$!#$3$N5!G=$,$I$N$h$&$K$7$FF0:n$7$F$$$k$+(B
|
||
$B$N>\:Y$O(B <a href="htaccess.html">.htaccess $B%A%e!<%H%j%"%k(B</a> $B$rFI$s$G(B
|
||
$B$/$@$5$$!#(B</p>
|
||
|
||
</section>
|
||
|
||
</manualpage>
|