| <?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: 1.89 --> |
| |
| <!-- |
| Copyright 2003-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="core.xml.meta"> |
| |
| <name>core</name> |
| <description>$B>o$K;HMQ2DG=$J(B Apache HTTP $B%5!<%P$N%3%"5!G=(B</description> |
| <status>Core</status> |
| |
| <directivesynopsis> |
| <name>AcceptPathInfo</name> |
| <description>$B8e$KB3$/%Q%9L>>pJs$r<u$1IU$1$k%j%=!<%9$N;XDj(B</description> |
| <syntax>AcceptPathInfo On|Off|Default</syntax> |
| <default>AcceptPathInfo Default</default> |
| <contextlist><context>server config</context> |
| <context>virtual host</context><context>directory</context> |
| <context>.htaccess</context></contextlist> |
| <override>FileInfo</override> |
| <compatibility>Apache 2.0.30 $B0J9_$G;HMQ2DG=(B</compatibility> |
| |
| <usage> |
| |
| <p>$B$3$N%G%#%l%/%F%#%V$O<B:]$N%U%!%$%kL>(B ($B$b$7$/$OB8:_$9$k%G%#%l%/%H%j$N(B |
| $BB8:_$7$J$$%U%!%$%k(B) $B$N8e$KB3$/%Q%9L>>pJs$,$"$k%j%/%(%9%H$r<u$1IU$1$k$+(B |
| $B5qH]$9$k$+$r@)8f$7$^$9!#B3$-$N%Q%9L>>pJs$O%9%/%j%W%H$K$O(B <code>PATH_INFO</code> |
| $B4D6-JQ?t$H$7$FMxMQ2DG=$K$J$j$^$9!#(B</p> |
| |
| <p>$BNc$($P!"(B<code>/test/</code> $B$,!"(B<code>here.html</code> $B$H$$$&%U%!%$%k(B |
| $B0l$D$N$_$,$"$k%G%#%l%/%H%j$r;X$7$F$$$k$H$7$^$9!#$=$&$9$k$H!"(B |
| <code>/test/here.html/more</code> $B$H(B <code>/test/nothere.html/more</code> |
| $B$X$N%j%/%(%9%H$ON>J}$H$b(B <code>/more</code> $B$r(B <code>PATH_INFO</code> $B$H$7$^$9!#(B</p> |
| |
| <p><directive>AcceptPathInfo</directive> $B%G%#%l%/%F%#%V$K;XDj2DG=$J(B |
| $B;0$D$N0z?t$O(B:</p> |
| |
| <dl> |
| <dt><code>Off</code></dt><dd>$B%j%/%(%9%H$OB8:_$9$k%Q%9$K$=$N$^$^(B |
| $B%^%C%W$5$l$k>l9g$K$N$_<u$1IU$1$i$l$^$9!#$G$9$+$i!">e$NNc$N(B |
| <code>/test/here.html/more</code> $B$N$h$&$K!"K\Ev$N%U%!%$%kL>$N(B |
| $B8e$K%Q%9L>>pJs$,B3$/%j%/%(%9%H$K$O(B 404 NOT FOUND $B%(%i!<$,JV$j$^$9!#(B</dd> |
| |
| <dt><code>On</code></dt><dd>$BA0$NJ}$N%Q%9$,B8:_$9$k%U%!%$%k$K%^%C%W$9$k>l9g$O(B |
| $B%j%/%(%9%H$,<u$1IU$1$i$l$^$9!#>e$NNc$N(B <code>/test/here.html/more</code> |
| $B$O(B <code>/test/here.html</code> $B$,M-8z$J%U%!%$%k$K%^%C%W$9$l$P(B |
| $B<u$1IU$1$i$l$^$9!#(B</dd> |
| |
| <dt><code>Default</code></dt><dd>$BB3$-$N%Q%9L>>pJs$N07$$$O%j%/%(%9%H$N(B |
| <a href="../handler.html">$B%O%s%I%i(B</a>$B$G7h$^$j$^$9!#(B |
| $BIaDL$N%U%!%$%k$N$?$a$N%3%"%O%s%I%i$N%G%U%)%k%H$O(B <code>PATH_INFO</code> $B$r5qH]$7$^$9!#(B |
| <a href="mod_cgi.html">cgi-script</a> $B$d(B <a |
| href="mod_isapi.html">isapi-isa</a> $B$N$h$&$K%9%/%j%W%H$r07$&%O%s%I%i$O(B |
| $B0lHLE*$K%G%U%)%k%H$G(B <code>PATH_INFO</code> $B$r<u$1IU$1$^$9!#(B</dd> |
| </dl> |
| |
| <p><code>AcceptPathInfo</code> $B$N<g$JL\E*$O%O%s%I%i$N(B <code>PATH_INFO</code> $B$r(B |
| $B<u$1IU$1$k$+5qH]$9$k$+$NA*Br$r>e=q$-$G$-$k$h$&$K$9$k$3$H$G$9!#(B |
| $BNc$($P!"$3$l$ONc$($P(B <a href="mod_include.html">INCLUDES</a> $B$N$h$&$J(B |
| <a href="../filter.html">$B%U%#%k%?(B</a>$B$r;H$C$F(B <code>PATH_INFO</code> $B$K(B |
| $B4p$E$$$F%3%s%F%s%D$r@8@.$7$F$$$k$H$-$KI,MW$K$J$j$^$9!#(B</p> |
| |
| <example> |
| <Files "mypaths.shtml"><br /> |
| <indent> |
| Options +Includes<br /> |
| SetOutputFilter INCLUDES<br /> |
| AcceptPathInfo On<br /> |
| </indent> |
| </Files> |
| </example> |
| </usage> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>AccessFileName</name> |
| <description>$BJ,;6@_Dj%U%!%$%k$NL>A0(B</description> |
| <syntax>AccessFileName <var>filename</var> [<var>filename</var>] ...</syntax> |
| <default>AccessFileName .htaccess</default> |
| <contextlist><context>server config</context><context>virtual host</context> |
| </contextlist> |
| |
| <usage> |
| <p>$B%j%/%(%9%H$r=hM}$9$k$H$-!"%5!<%P$O%G%#%l%/%H%j$K(B |
| $BBP$7$FJ,;6@_Dj%U%!%$%k$,(B<a href="#allowoverride">$BM-8z$K$J$C$F$$$l$P(B</a>$B!"(B |
| $B$=$N%I%-%e%a%s%H$X$N(B |
| $B%Q%9>e$K$"$kA4$F$N%G%#%l%/%H%j$+$i!"$3$3$G;XDj$5$l$?L>A0$N0lMw$NCf$G(B |
| $B:G=i$K8+$D$+$C$?%U%!%$%k$r$=$l$>$l@_Dj%U%!%$%k$H$7$FFI$_9~$_$^$9!#Nc$($P(B:</p> |
| |
| <example> |
| AccessFileName .acl |
| </example> |
| |
| <p>$B$H$$$&@_Dj$,$"$k$H!"0J2<$N$h$&$K$7$FL58z$K$5$l$F$$$J$$8B$j!"(B |
| $B%I%-%e%a%s%H(B <code>/usr/local/web/index.html</code> |
| $B$rJV$9A0$K!"%5!<%P$O(B <code>/.acl</code>, <code>/usr/.acl</code>, |
| <code>/usr/local/.acl</code>, <code>/usr/local/web/.acl</code> $B$+$i(B |
| $B%G%#%l%/%F%#%V$rFI$_9~$_$^$9!#(B</p> |
| |
| <example> |
| <Directory /><br /> |
| <indent> |
| AllowOverride None<br /> |
| </indent> |
| </Directory> |
| </example> |
| </usage> |
| <seealso><directive module="core">AllowOverride</directive></seealso> |
| <seealso><a href="../configuring.html">$B@_Dj%U%!%$%k(B</a></seealso> |
| <seealso><a href="../howto/htaccess.html">.htaccess $B%U%!%$%k(B</a></seealso> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>AddDefaultCharset</name> |
| <description>$BL@<(E*$KJ8;z%;%C%H$r;XDj$7$F$$$J$$1~Ez$KDI2C$5$l$k(B |
| $B%G%U%)%k%H$NJ8;z%;%C%H(B</description> |
| <syntax>AddDefaultCharset On|Off|<var>charset</var></syntax> |
| <default>AddDefaultCharset Off</default> |
| <contextlist><context>server config</context> |
| <context>virtual host</context><context>directory</context> |
| <context>.htaccess</context></contextlist> |
| <override>FileInfo</override> |
| |
| <usage> |
| <p>$B$3$N%G%#%l%/%F%#%V$O!"(BHTTP $B%X%C%@$K%3%s%F%s%H%?%$%W%Q%i%a!<%?$r(B |
| $B;}$?$J$$1~Ez$KDI2C$5$l$kJ8;z%;%C%H$NL>A0$r;XDj$7$^$9!#(B |
| $B$3$l$O!"%I%-%e%a%s%HFb$N(B META $B%?%0$G;XDj$5$l$?$I$N$h$&$JJ8;z%;%C%H(B |
| $B$bL58z$K$7$^$9!#(B |
| <code>AddDefaultCharset Off</code> $B$H$$$&@_Dj$K$h$j!"$3$N5!G=$OL58z$K$J$j$^$9!#(B |
| <code>AddDefaultCharset On</code> $B$K$9$l$P!"%G%#%l%/%F%#%V$NMW5aDL$j(B |
| Apache $BFbIt$N%G%U%)%k%HJ8;z%;%C%H(B <code>iso-8859-1</code> $B$K@_Dj$7$^$9!#(B |
| $B$^$?!"B>$N(B <var>charset</var> $B$b;XDj$G$-$^$9!#Nc$($P(B:</p> |
| |
| <example> |
| AddDefaultCharset utf-8 |
| </example> |
| </usage> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>AddOutputFilterByType</name> |
| <description>MIME-type $B$K=PNO%U%#%k%?$r3d$jEv$F$k(B</description> |
| <syntax>AddOutputFilterByType <var>filter</var>[;<var>filter</var>...] <var>MIME-type</var> |
| [<var>MIME-type</var>] ...</syntax> |
| <contextlist><context>server config</context> |
| <context>virtual host</context><context>directory</context> |
| <context>.htaccess</context></contextlist> |
| <override>FileInfo</override> |
| <compatibility>Apache 2.0.33 $B0J9_$G;HMQ2DG=(B</compatibility> |
| |
| <usage> |
| <p>$B$3$N%G%#%l%/%F%#%V$O1~Ez$N(B MIME-type $B$K1~$8$F=PNO(B<a |
| href="../filter.html">$B%U%#%k%?(B</a>$B$r;HMQ$9$k$h$&$K$7$^$9!#(B</p> |
| |
| <p>$B<!$NNc$O(B <module>mod_deflate</module> $B$N(B <code>DEFLATE</code> $B%U%#%k%?$r(B |
| $B;H$C$F$$$^$9!#(B<code>text/html</code> $B$H(B <code>text/plain</code> $B$N(B |
| $B$9$Y$F$N=PNO(B ($B@EE*$J$b$N$bF0E*$J$b$N$b(B) $B$r%/%i%$%"%s%H$KAw$i$l$kA0$K(B |
| $B05=L$7$^$9!#(B</p> |
| |
| <example> |
| AddOutputFilterByType DEFLATE text/html text/plain |
| </example> |
| |
| <p>$BJ#?t$N%U%#%k%?$G%3%s%F%s%D$r=hM}$5$;$?$$$H$-$O!"$=$l$>$l$NL>A0$r%;%_%3%m%s$G(B |
| $BJ,$1$kI,MW$,$"$j$^$9!#3F%U%#%k%?$KBP$7$F(B |
| <directive>AddOutputFilterByType</directive> $B$r0l$D$:$D=q$/$3$H$b$G$-$^$9!#(B</p> |
| |
| <p>$B<!$NNc$O(B <code>text/html</code> $B$N%9%/%j%W%H$N$9$Y$F$N=PNO$r(B |
| $B$^$:(B <code>INCLUDES</code> $B%U%#%k%?$G=hM}$7!"$5$i$K(B <code>DEFLATE</code> $B%U%#%k%?$K$+$1$^$9!#(B</p> |
| |
| <example> |
| <Location /cgi-bin/><br /> |
| <indent> |
| Options Includes<br /> |
| AddOutputFilterByType INCLUDES;DEFLATE text/html<br /> |
| </indent> |
| </Location> |
| </example> |
| |
| <note type="warning"><title>$BCm(B:</title> |
| <p><directive>AddOutputFilterByType</directive> $B%G%#%l%/%F%#%V$K$h$j(B |
| $BM-8z$K$7$?%U%#%k%?$O>l9g$K$h$C$F$O!"ItJ,E*$b$7$/$O40A4$KE,MQ$5$l$J$$$3$H$,(B |
| $B$"$j$^$9!#Nc$($P!"(BMIME $B%?%$%W$,$,7hDj$G$-$J$$$H$-$K$O(B |
| <directive module="core">DefaultType</directive> $B$N@_Dj$,F1$8$@$C$?$H$7$F$b!"(B |
| <directive module="core">DefaultType</directive> $B@_Dj$r;H$&$h$&$K$J$j$^$9!#(B</p> |
| <p>$B$7$+$7!"3N<B$K%U%#%k%?$,E,MQ$5$l$k$h$&$K$7$?$$$H$-$O!"%j%=!<%9$K(B |
| $BL@<(E*$K%3%s%F%s%H%?%$%W$r3d$jEv$F$k$3$H$,$G$-$^$9!#$3$l$K$ONc$($P(B |
| <directive module="mod_mime">AddType</directive> $B%G%#%l%/%F%#%V$d(B |
| <directive module="core">ForceType</directive> $B%G%#%l%/%F%#%V$r;H$$$^$9!#(B |
| (nph$B$G$J$$(B) CGI $B%9%/%j%W%H$G%3%s%F%s%H%?%$%W$r@_Dj$9$k$H$$$&$b$N$G$b(B |
| $BBg>fIW$G$9!#(B</p> |
| |
| <p>$B%?%$%WKh$N=PNO%U%#%k%?$O%W%m%-%7%j%/%(%9%H$K$O7h$7$FE,MQ$5$l$^$;$s!#(B</p> |
| </note> |
| </usage> |
| |
| <seealso><directive module="mod_mime">AddOutputFilter</directive></seealso> |
| <seealso><directive module="core">SetOutputFilter</directive></seealso> |
| <seealso><a href="../filter.html">$B%U%#%k%?(B</a></seealso> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>AllowEncodedSlashes</name> |
| <description>URL $BCf$NId9f2=$5$l$?%Q%9J,N%J8;z$,@h$KEA$($i$l$k$N$r5v2D$9$k$+$I$&$+$r(B |
| $B7hDj$9$k(B</description> |
| <syntax>AllowEncodedSlashes On|Off</syntax> |
| <default>AllowEncodedSlashes Off</default> |
| <contextlist><context>server config</context><context>virtual host</context> |
| </contextlist> |
| <compatibility>Apache 2.0.46 $B0J9_$G;HMQ2DG=(B</compatibility> |
| |
| <usage> |
| <p><directive>AllowEncodedSlashes</directive> $B%G%#%l%/%F%#%V$OId9f2=$5$l$?(B |
| $B%Q%9J,N%J8;z(B (<code>/</code> $B$O(B <code>%2F</code>$B!"$5$i$K%7%9%F%`$K$h$C$F$O(B |
| <code>\</code> $B$KBP1~$9$k(B <code>%5C</code>) $B$,B8:_$9$k(B URL $B$N;HMQ$r(B |
| $B5v2D$9$k$+$I$&$+$r7hDj$7$^$9!#DL>o$O$=$N$h$&$J(B URL $B$O(B 404 (Not found) $B%(%i!<(B |
| $B$G5qH]$5$l$^$9!#(B</p> |
| |
| <p><directive>AllowEncodedSlashes</directive> <code>On</code> $B$K$h$k(B |
| $B%Q%9J,N%J8;z$N;HMQ$O!"(B<code>PATH_INFO</code> $B$H9g$o$;$F(B |
| $B;H$&$H$-$K0lHVLr$KN)$A$^$9!#(B</p> |
| <p>Turning <directive>AllowEncodedSlashes</directive> <code>On</code> is |
| mostly useful when used in conjunction with <code>PATH_INFO</code>.</p> |
| |
| <note><title>$BCm(B</title> |
| <p>$BId9f2=$5$l$?%9%i%C%7%e$r5v2D$9$k$3$H$O!"(B<em>$BI|9f(B</em>$B$r$9$k$3$H$r(B |
| $B0UL#(B<em>$B$7$^$;$s(B</em>$B!#(B<code>%2F</code> $B$d(B ($B4X78$9$k%7%9%F%`$G$N(B) |
| <code>%5C</code> $B$O!"B>$NItJ,$,I|9f$5$l$?(B URL $B$NCf$G$b$=$N$^$^$N7A<0$G(B |
| $B;D$5$l$^$9!#(B</p> |
| </note> |
| </usage> |
| <seealso><directive module="core">AcceptPathInfo</directive></seealso> |
| </directivesynopsis> |
| |
| |
| <directivesynopsis> |
| <name>AllowOverride</name> |
| <description><code>.htaccess</code> $B$G5v2D$5$l$k%G%#%l%/%F%#%V$N<oN`(B</description> |
| <syntax>AllowOverride All|None|<var>directive-type</var> |
| [<var>directive-type</var>] ...</syntax> |
| <default>AllowOverride All</default> |
| <contextlist><context>directory</context></contextlist> |
| |
| <usage> |
| <p>$B%5!<%P$,(B (<directive |
| module="core">AccessFileName</directive> $B$K$h$C$F;XDj$5$l$?(B) |
| .htaccess $B%U%!%$%k$r8+$D$1$?;~!"$=$N%U%!%$%k$NCf$G(B |
| $B@k8@$5$l$?$I$N%G%#%l%/%F%#%V$,$h$jA0$KDj5A$5$l$?@_Dj%G%#%l%/%F%#%V$r(B |
| $B>e=q$-$G$-$k$+$rCN$kI,MW$,$"$j$^$9!#(B</p> |
| |
| <note><title><Directory> $B%;%/%7%g%s$G$N$_;HMQ2DG=(B</title> |
| <directive>AllowOverride</directive> $B$O@55,I=8=L5$7$N(B<directive |
| type="section" module="core">Directory</directive> |
| $B%;%/%7%g%s$G$N$_M-8z$G!"(B<directive type="section" |
| module="core">Location</directive> $B$d(B <directive |
| module="core" type="section">DirectoryMatch</directive> |
| $B$d(B <directive type="section" |
| module="core">Files</directive> $B%;%/%7%g%s$G$OL58z$G$9!#(B |
| </note> |
| |
| <p>$B$3$N%G%#%l%/%F%#%V$r(B None $B$K@_Dj$9$k$H!"(B<a href="#accessfilename">.htaccess</a> $B%U%!%$%k$O40A4$K(B |
| $BL5;k$5$l$^$9!#(B |
| $B$3$N>l9g!"%5!<%P$O%U%!%$%k%7%9%F%`$N(B <code>.htaccess</code> $B%U%!%$%k$rFI$`$3$H$r(B |
| $B;n$_$5$($7$^$;$s!#(B</p> |
| |
| <p>$B$3$N%G%#%l%/%F%#%V$,(B <code>All</code> $B$K@_Dj$5$l$F$$$k;~$K$O!"(B |
| <code>.htaccess</code> $B$H$$$&(B <a |
| href="directive-dict.html#Context">$B%3%s%F%-%9%H(B</a> $B$r;}$D(B |
| $BA4$F$N%G%#%l%/%F%#%V$,MxMQ$G$-$^$9!#(B</p> |
| |
| <p><var>directive-type</var> $B$K$O!"0J2<$N%G%#%l%/%F%#%V72$N(B |
| $B%-!<%o!<%I$N$I$l$+$r;XDj$7$^$9!#(B</p> |
| |
| <dl> |
| <dt>AuthConfig</dt> |
| |
| <dd> |
| |
| $BG'>Z$K4X$9$k%G%#%l%/%F%#%V$N;HMQ$r5v2D$9$k(B (<directive |
| module="mod_authn_dbm">AuthDBMGroupFile</directive>, |
| <directive module="mod_authn_dbm">AuthDBMUserFile</directive>, |
| <directive module="mod_authz_groupfile">AuthGroupFile</directive>, |
| <directive module="core">AuthName</directive>, |
| <directive module="core">AuthType</directive>, <directive |
| module="mod_authn_file">AuthUserFile</directive>, <directive |
| module="core">Require</directive> <em>$B$J$I!#(B</em>)$B!#(B</dd> |
| |
| <dt>FileInfo</dt> |
| |
| <dd> |
| $B%I%-%e%a%s%H%?%$%W$r@)8f$9$k$?$a$N%G%#%l%/%F%#%V$N;HMQ$r5v2D$9$k(B (<directive |
| module="core">DefaultType</directive>, <directive |
| module="core">ErrorDocument</directive>, <directive |
| module="core">ForceType</directive>, <directive |
| module="mod_negotiation">LanguagePriority</directive>, |
| <directive module="core">SetHandler</directive>, <directive |
| module="core">SetInputFilter</directive>, <directive |
| module="core">SetOutputFilter</directive>, |
| <module>mod_mime</module> $B$N(B Add* $B$H(B Remove* |
| $B%G%#%l%/%F%#%V(B<em>$B$J$I!#(B</em>)$B!#(B</dd> |
| |
| <dt>Indexes</dt> |
| |
| <dd> |
| $B%G%#%l%/%H%j%$%s%G%C%/%9$r@)8f$9$k$?$a$N%G%#%l%/%F%#%V$N;HMQ$r5v2D$9$k(B |
| (<directive |
| module="mod_autoindex">AddDescription</directive>, |
| <directive module="mod_autoindex">AddIcon</directive>, <directive |
| module="mod_autoindex">AddIconByEncoding</directive>, |
| <directive module="mod_autoindex">AddIconByType</directive>, |
| <directive module="mod_autoindex">DefaultIcon</directive>, <directive |
| module="mod_dir">DirectoryIndex</directive>, <directive |
| module="mod_autoindex">FancyIndexing</directive>, <directive |
| module="mod_autoindex">HeaderName</directive>, <directive |
| module="mod_autoindex">IndexIgnore</directive>, <directive |
| module="mod_autoindex">IndexOptions</directive>, <directive |
| module="mod_autoindex">ReadmeName</directive> |
| <em>$B$J$I!#(B</em>)$B!#(B</dd> |
| |
| <dt>Limit</dt> |
| |
| <dd> |
| $B%[%9%H$X$N%"%/%;%9@)8f$r9T$&$?$a$N%G%#%l%/%F%#%V$N;HMQ$r5v2D$9$k(B (<directive |
| module="mod_authz_host">Allow</directive>, <directive |
| module="mod_authz_host">Deny</directive>, <directive |
| module="mod_authz_host">Order</directive>).</dd> |
| |
| <dt>Options[=<var>Option</var>,...]</dt> |
| |
| <dd> |
| $BFCDj$N%G%#%l%/%H%j$K$*$1$k5!G=$r;XDj$9$k$?$a$N%G%#%l%/%F%#%V$N;HMQ$r5v2D$9$k(B |
| (<directive module="core">Options</directive> $B$H(B |
| <directive module="mod_include">XBitHack</directive>)$B!#(B |
| $BEy9f$N8e$K!"%3%s%^$GJ,3d$5$l$?(B($B6uGr$NF~$C$F$$$J$$(B)$B%*%W%7%g%s$N%j%9%H$r(B |
| $BB3$1$k$3$H$G%*%W%7%g%s$r@_Dj$9$k$3$H$,$G$-$^$9!#(B</dd> |
| </dl> |
| |
| <p>$BNc(B:</p> |
| |
| <example> |
| AllowOverride AuthConfig Indexes |
| </example> |
| |
| <p>$B>e$NNc$G$O(B <code>AuthConfig</code> $B$H(B <code>Indexes</code> $B$N$I$A$i$K$b(B |
| $BB0$5$J$$%G%#%l%/%F%#%V$O$9$Y$FFbIt%5!<%P%(%i!<$r0z$-5/$3$7$^$9!#(B</p> |
| </usage> |
| |
| <seealso><directive module="core">AccessFileName</directive></seealso> |
| <seealso><a href="../configuring.html">$B@_Dj%U%!%$%k(B</a></seealso> |
| <seealso><a href="../howto/htaccess.html">.htaccess $B%U%!%$%k(B</a></seealso> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>AuthName</name> |
| <description>HTTP $BG'>Z$NG'2DNN0h(B ($BLuCm(B: realm)</description> |
| <syntax>AuthName <var>auth-domain</var></syntax> |
| <contextlist><context>directory</context><context>.htaccess</context> |
| </contextlist> |
| <override>AuthConfig</override> |
| |
| <usage> |
| <p>$B$3$N%G%#%l%/%F%#%V$O%G%#%l%/%H%j$KBP$9$kG'2DNN0h(B ($BLuCm(B: realm) |
| $B$NL>A0$r;XDj$7$^$9!#(B |
| $BG'2DNN0h$O!"MxMQ<T$,$I$N%f!<%6L>$H%Q%9%o!<%I$rAw?.$9$l$P$h$$$N$+$r(B |
| $B%/%i%$%"%s%H$K65$($k$?$a$KMxMQ$7$^$9!#(B |
| <directive>AuthName</directive> $B$O0l$D$N0z?t$r$H$j!"(B |
| $B%9%Z!<%9$,4^$^$l$k>l9g$K$O!"(B |
| $B0zMQId$G3g$i$J$1$l$P$J$j$^$;$s!#(B |
| $B$3$N%G%#%l%/%F%#%V$O(B |
| <directive module="core">AuthType</directive> $B%G%#%l%/%F%#%V$d(B |
| <directive module="core">Require</directive> $B%G%#%l%/%F%#%V$H!"(B |
| <directive module="mod_authn_file">AuthUserFile</directive> $B$d(B |
| <directive module="mod_authz_groupfile">AuthGroupFile</directive> $B$J$I$N%G%#%l%/%F%#%V$H(B |
| $B0l=o$KMxMQ$9$kI,MW$,$"$j$^$9!#(B</p> |
| |
| <p>$BNc$($P(B:</p> |
| |
| <example> |
| AuthName "Top Secret" |
| </example> |
| |
| <p>$B$3$3$G(B <code>AuthName</code> $B$K;XDj$7$?J8;zNs$,!"(B |
| $BBgItJ,$N%V%i%&%6$N%Q%9%o!<%I%@%$%"%m%0$KI=<($5$l$^$9!#(B</p> |
| </usage> |
| <seealso><a |
| href="../howto/auth.html">$BG'>Z!">5G'!"%"%/%;%9@)8f(B</a></seealso> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>AuthType</name> |
| <description>$B%f!<%6G'>Z$N<oN`(B</description> |
| <syntax>AuthType Basic|Digest</syntax> |
| <contextlist><context>directory</context><context>.htaccess</context> |
| </contextlist> |
| <override>AuthConfig</override> |
| |
| <usage> |
| <p>$B$3$N%G%#%l%/%F%#%V$OBP>]%G%#%l%/%H%j$GMxMQ$9$k%f!<%6!<G'>Z$N<oN`$rA*$S$^$9!#(B |
| $B$?$@!"8=:_$N$H$3$m$O(B <code>Basic</code> $B$H(B <code>Digest</code> $B$7$+(B |
| $B<BAu$5$l$F$$$^$;$s!#(B |
| |
| $B$3$N%G%#%l%/%F%#%V$O(B <directive |
| module="core">AuthName</directive>$B%G%#%l%/%F%#%V$d(B |
| <directive module="core">Require</directive> $B%G%#%l%/%F%#%V$H!"(B |
| <directive module="mod_authn_file">AuthUserFile</directive> $B$d(B <directive |
| module="mod_authz_groupfile">AuthGroupFile</directive> $B$J$I$N%G%#%l%/%F%#%V$H(B |
| $B0l=o$KMxMQ$9$kI,MW$,$"$j$^$9!#(B</p> |
| </usage> |
| <seealso><a href="../howto/auth.html">$BG'>Z!">5G'!"%"%/%;%9@)8f(B</a></seealso> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>CGIMapExtension</name> |
| <description>CGI $B%9%/%j%W%H$N%$%s%?!<%W%j%?$N0LCV$rD4$Y$k$?$a$N<jK!(B</description> |
| <syntax>CGIMapExtension <var>cgi-path</var> <var>.extension</var></syntax> |
| <default>None</default> |
| <contextlist><context>directory</context><context>.htaccess</context> |
| </contextlist> |
| <override>FileInfo</override> |
| <compatibility>NetWare $B$N$_(B</compatibility> |
| |
| <usage> |
| <p>$B$3$N%G%#%l%/%F%#%V$O(B Apache $B$,(B CGI $B%9%/%j%W%H$r<B9T$9$k$?$a$N(B |
| $B%$%s%?!<%W%j%?$rC5$9J}K!$r@)8f$7$^$9!#(B |
| $BNc$($P!"(B<code>CGIMapExtension sys:\foo.nlm .foo</code> $B$H@_Dj$9$k$H(B |
| <code>.foo</code> $B$H$$$&3HD%;R$N$9$Y$F$N(B CGI $B%9%/%j%W%H$O(B FOO $B%$%s%?!<%W%j%?$K(B |
| $BEO$5$l$^$9!#(B</p> |
| </usage> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>ContentDigest</name> |
| <description><code>Content-MD5</code> HTTP $B1~Ez%X%C%@$N@8@.$rM-8z$K$9$k(B</description> |
| <syntax>ContentDigest On|Off</syntax> |
| <default>ContentDigest Off</default> |
| <contextlist><context>server config</context><context>virtual host</context> |
| <context>directory</context><context>.htaccess</context> |
| </contextlist> |
| <override>Options</override> |
| <status>Experimental</status> |
| |
| <usage> |
| <p>$B$3$N%G%#%l%/%F%#%V$O!"(BRFC1864 $B5Z$S(B RFC2068 $B$K$*$$$FDj5A$5$l$F$$$k(B |
| <code>Content-MD5</code> $B%X%C%@!<$N@8@.$rM-8z$K$7$^$9!#(B</p> |
| |
| <p>MD5 $B$O!"G$0UD9$N%G!<%?$N!V%a%C%;!<%8%@%$%8%'%9%H!W(B($B!V;XLf!W(B |
| $B$HI=8=$5$l$k$3$H$b$"$k(B) $B$r7W;;$9$k%"%k%4%j%:%`$G!"(B |
| $B%G!<%?$NJQ99$,$"$C$?>l9g$K$OHs>o$K9b$$?.MjEY$G%a%C%;!<%8%@%$%8%'%9%H$KJQ99$,(B |
| $BH?1G$5$l$^$9!#(B</p> |
| |
| <p><code>Content-MD5</code> $B%X%C%@$O!"%(%s%I%D!<%(%s%I$G(B |
| $B%(%s%F%#%F%#%\%G%#!<$K4^$^$l$k%a%C%;!<%8$N40A4@-%A%'%C%/(B |
| (Message Integrity Check - MIC)$B$rDs6!$7$^$9!#(B |
| $B$3$N%X%C%@$rD4$Y$k$3$H$G!"%W%m%-%7$d%/%i%$%"%s%H$O!"(B |
| $BESCf7PO)$K$*$1$k%(%s%F%#%F%#%\%G%#$NM=4|$;$LJQ99$J$I$r(B |
| $B8!=P$9$k$3$H$,$G$-$^$9!#%X%C%@$NNc(B:</p> |
| |
| <example> |
| Content-MD5: AuLb7Dp1rqtRtxz2m9kRpA== |
| </example> |
| |
| <p>$B%j%/%(%9%HKh$K%a%C%;!<%8%@%$%8%'%9%H$r7W;;$9$k(B ($BCM$O%-%c%C%7%e$5$l$^$;$s(B) |
| $B$3$H$+$i!"(B |
| $B%5!<%P%Q%U%)!<%^%s%9$,Dc2<$9$k$3$H$K$D$$$FCm0U$7$F$/$@$5$$!#(B</p> |
| |
| <p><code>Content-MD5</code >$B$O!"(B<module>core</module> $B5!G=$K$h$j=hM}$5$l$?(B |
| $B%I%-%e%a%s%H$rAw$k$H$-$N$_M-8z$G$"$j!"(B |
| SSI $B%I%-%e%a%s%H$d(B CGI $B%9%/%j%W%H$N=PNO!"%P%$%H%l%s%8$r;XDj$7$?(B |
| $B1~Ez$N>l9g$K$O$3$N%X%C%@$OIUM?$5$l$^$;$s!#(B |
| </p> |
| </usage> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>DefaultType</name> |
| <description>$B%5!<%P$,%3%s%F%s%H%?%$%W$r7hDj$G$-$J$$$H$-$K(B |
| $BAw$i$l$k(B MIME $B%3%s%F%s%H%?%$%W(B</description> |
| <syntax>DefaultType <var>MIME-type</var></syntax> |
| <default>DefaultType text/plain</default> |
| <contextlist><context>server config</context><context>virtual host</context> |
| <context>directory</context><context>.htaccess</context> |
| </contextlist> |
| <override>FileInfo</override> |
| |
| <usage> |
| <p>$B%5!<%P$O!"(BMIME $B$N%?%$%W%^%C%W$+$i$O7hDj$G$-$J$$(B |
| $B%I%-%e%a%s%H$NAw?.$rMW5a$5$l$k$3$H$,$"$j$^$9!#(B</p> |
| |
| <p>$B%5!<%P$O!"%I%-%e%a%s%H$N%3%s%F%s%H%?%$%W$r%/%i%$%"%s%H$KDLCN$9$kI,MW$,(B |
| $B$"$j$^$9$N$G!"$3$N$h$&$K%?%$%W$,L$CN$N>l9g$O(B |
| <code>DefaultType</code> $B$G;XDj$5$l$?%?%$%W$rMxMQ$7$^$9!#(B |
| $BNc(B:</p> |
| |
| <example> |
| DefaultType image/gif |
| </example> |
| |
| <p>$B$3$l$O(B <code>.gif</code> $B$H$$$&3HD%;R$,%U%!%$%kL>$K4^$^$l$F$$$J$$(B |
| $BB?$/$N(B GIF $B2hA|$,4^$^$l$F$$$k%G%#%l%/%H%j$KE,$7$F$$$k$G$7$g$&!#(B</p> |
| |
| <p><directive module="core">ForceType</directive> $B%G%#%l%/%F%#%V$H(B |
| $B0c$C$F!"$3$N%G%#%l%/%F%#%V$O%G%U%)%k%H$N(B MIME $B%?%$%W$rDs6!$9$k$@$1$G(B |
| $B$"$k$3$H$KCm0U$7$F$/$@$5$$!#%U%!%$%kL>$N3HD%;R$r4^$a!"(B |
| $B%a%G%#%"%?%$%W$r7hDj$G$-$kB>$N(B MIME $B%?%$%W$NDj5A$,$"$l$P(B |
| $B$3$N%G%U%)%k%H$O>e=q$-$5$l$^$9!#(B</p> |
| </usage> |
| </directivesynopsis> |
| |
| <directivesynopsis type="section"> |
| <name>Directory</name> |
| <description>$B;XDj$N%U%!%$%k%7%9%F%`$N%G%#%l%/%H%j$H%5%V%G%#%l%/%H%j$H$N$_$K(B |
| $BE,MQ$5$l$k%G%#%l%/%F%#%V$r0O$`(B</description> |
| <syntax><Directory <var>directory-path</var>> |
| ... </Directory></syntax> |
| <contextlist><context>server config</context><context>virtual host</context> |
| </contextlist> |
| |
| <usage> |
| <p>$B;XDj$5$l$?%G%#%l%/%H%j$H$=$N%5%V%G%#%l%/%H%j$K$N$_(B |
| $B%G%#%l%/%F%#%V$rE,MQ$5$;$k$?$a$K$O!"(B |
| <directive type="section">Directory</directive> $B$H(B |
| <code></Directory></code> $B$rBP$H$7$F!"%G%#%l%/%F%#%V72$r0O$$$^$9!#(B |
| $B$=$NCf$K$O!"%G%#%l%/%H%j%3%s%F%-%9%H$G5v2D$5$l$?A4$F$N%G%#%l%/%F%#%V$r(B |
| $BMxMQ$G$-$^$9!#(B |
| <var>directive-path</var> $B$O!"%U%k%Q%9$b$7$/$O(B Unix $B$N%7%'%k7A<0$N(B |
| $B%o%$%k%I%+!<%I$r;XDj$7$^$9!#(B |
| <code>?</code> $B$OG$0U$N(B 1 $BJ8;z!"(B<code>*</code> $B$OG$0U$NJ8;zNs$K%^%C%A$7$^$9!#(B |
| $B%7%'%k$K$*$1$k;XDjF1MM!"J8;z$NHO0O$r(B <code>[]</code> $B$G;XDj$G$-$^$9!#(B |
| $B%o%$%k%I%+!<%I$O(B `/' $BJ8;z$K$O%^%C%A$7$^$;$s$N$G!"(B |
| <code>/home/user/public_html</code> $B$K$O(B |
| <code><Directory /*/public_html></code> $B$O%^%C%A$7$^$;$s$,!"(B |
| <code><Directory /home/*/public_html></code> $B$O%^%C%A$7$^$9!#(B |
| $BNc(B:</p> |
| |
| <example> |
| <Directory /usr/local/httpd/htdocs><br /> |
| <indent> |
| Options Indexes FollowSymLinks<br /> |
| </indent> |
| </Directory> |
| </example> |
| |
| <note> |
| <p><var>directory-path</var> $B0z?t$K$OCm0U$7$F$/$@$5$$(B: $B$=$N0z?t$O(B |
| Apache $B$,%U%!%$%k$r%"%/%;%9$9$k$?$a$K;H$&%U%!%$%k%7%9%F%`$N%Q%9$K(B |
| $B$=$N$^$^%^%C%A$9$kI,MW$,$"$j$^$9!#$"$k(B <code><Directory></code> $B$K(B |
| $BE,MQ$5$l$k%G%#%l%/%F%#%V$O!"JL$N%7%s%\%j%C%/%j%s%/$r$?$I$C$?$j$7$F(B |
| $BF1$8%G%#%l%/%H%j$r0c$&%Q%9$G%"%/%;%9$7$?>l9g$K$OE,MQ$5$l$^$;$s!#(B</p> |
| </note> |
| |
| <p><code>~</code> $B$H$$$&J8;z$r(B |
| $BIU2C$9$k$3$H$G3HD%@55,I=8=$rMxMQ$9$k$3$H$b$G$-$^$9!#(B |
| $BNc$($P(B:</p> |
| |
| <example> |
| <Directory ~ "^/www/.*/[0-9]{3}"> |
| </example> |
| |
| <p>$B$H$$$C$?;XDj$N>l9g!"(B<code>/www/</code> $B0J2<$K$"$k?t;z(B |
| 3 $BJ8;z$N%G%#%l%/%H%j$K%^%C%A$7$^$9!#(B</p> |
| |
| <p>$B$b$7J#?t$N(B ($B@55,I=8=0J30$N(B) <directive type="section" |
| >Directory</directive>$B%;%/%7%g%s$,(B |
| $B%I%-%e%a%s%H$r4^$`%G%#%l%/%H%j(B ($B$d$=$N>e0L%G%#%l%/%H%j$N$I$l$+(B) $B$H%^%C%A$7$?$J$i$P!"(B |
| <a |
| href="#accessfilename">.htaccess</a> $B%U%!%$%k$N%G%#%l%/%F%#%V$bFI$_9~$_$D$D!"(B |
| $BC;$$%Q%9$+$i=g$KE,MQ$5$l$^$9!#(B |
| $BNc$($P!"(B</p> |
| |
| <example> |
| <Directory /><br /> |
| <indent> |
| AllowOverride None<br /> |
| </indent> |
| </Directory><br /> |
| <br /> |
| <Directory /home/><br /> |
| <indent> |
| AllowOverride FileInfo<br /> |
| </indent> |
| </Directory> |
| </example> |
| |
| <p>$B$H@_Dj$7!"%I%-%e%a%s%H(B <code>/home/web/dir/doc.html</code> $B$X$N(B |
| $B%"%/%;%9$,$"$C$?>l9g$K$O0J2<$N$h$&$KF0:n$7$^$9(B:</p> |
| |
| <ul> |
| <li><code>AllowOverride None</code> $B$,E,MQ$5$l$k!#(B |
| (<code>.htaccess</code> $B%U%!%$%k$OL58z$K$J$k(B)</li> |
| |
| <li><code>AllowOverride FileInfo</code> $B$,E,MQ$5$l$k(B |
| (<code>/home</code> $B%G%#%l%/%H%j$KBP$7$F(B)$B!#(B</li> |
| |
| <li><code>/home/.htaccess</code>, <code>/home/web/.htaccess</code>, |
| <code>/home/web/.htaccess</code> $B$N=g$K$=$l$i$N%U%!%$%kCf$N(B |
| FileInfo $B%G%#%l%/%F%#%V$,E,MQ$5$l$k!#(B</li> |
| </ul> |
| |
| <p>$B@55,I=8=$O!"DL>o$N%;%/%7%g%s$,$9$Y$FE,MQ$5$l$k$^$G(B |
| $B9MN8$5$l$^$;$s!#(B |
| $B$=$N8e!"A4$F$N@55,I=8=$,@_Dj%U%!%$%k$K8=$l$?=g$G;n$5$l$^$9!#(B |
| $BNc$($P!"0J2<$N$h$&$J>l9g$K(B</p> |
| |
| <example> |
| <Directory ~ abc$><br /> |
| <indent> |
| # ... directives here ...<br /> |
| </indent> |
| </Directory> |
| </example> |
| |
| <p>$B@55,I=8=$N%;%/%7%g%s$O$9$Y$F$NDL>o$N(B <directive |
| type="section">Directory</directive> $B$H(B |
| <code>.htaccess</code> $B$NE,MQ$,=*$o$k$^$G9MN8$5$l$^$;$s!#(B |
| $B$=$N8e$G!"@55,I=8=$O(B <code>/home/abc/public_html/abc</code> $B$K%^%C%A$7!"(B |
| $BBP1~$9$k(B <directive type="section">Directory</directive> $B$,E,MQ$5$l$^$9!#(B</p> |
| |
| <p><strong>Apache $B$N%G%U%)%k%H$G$O(B <code><Directory /></code> $B$X$N%"%/%;%9$O(B |
| <code>Allow from All</code> $B$K$J$C$F$$$k$3$H$KCm0U$7$F$/$@$5$$!#(B |
| $B$3$l$O!"(BURL $B$+$i%^%C%W$5$l$?$I$N%U%!%$%k$G$b(B Apache $B$OAw$k$H$$$&$3$H$G$9!#(B |
| $B$3$l$O0J2<$N$h$&$K$7$FJQ99$9$k$3$H$,?d>)$5$l$F$$$^$9!#(B</strong></p> |
| |
| <example> |
| <Directory /><br /> |
| <indent> |
| Order Deny,Allow<br /> |
| Deny from All<br /> |
| </indent> |
| </Directory> |
| </example> |
| |
| <p><strong>$B$=$7$F%"%/%;%9$r(B<em>$B2DG=$K$7$?$$(B</em>$B%G%#%l%/%H%j$KBP$7$F(B |
| $B8DJL$K@_Dj$9$l$P$h$$$G$7$g$&!#(B |
| $B$3$N$"$?$j$K$D$$$F$O!"(B<a |
| href="../misc/security_tips.html">$B%;%-%e%j%F%#$K4X$9$k%3%D(B</a>$B$r(B |
| $B;2>H$7$F$/$@$5$$!#(B</strong></p> |
| |
| <p>$B%G%#%l%/%H%j%;%/%7%g%s$O(B httpd.conf $B%U%!%$%k=q$-$^$9!#(B |
| <directive type="section">Directory</directive> |
| $B%G%#%l%/%F%#%V$OF~$l;R$K$9$k$3$H$,$G$-$:!"(B |
| <directive module="core" type="section">Limit</directive> $B$d(B <directive |
| module="core" type="section">LimitExcept</directive> $B%;%/%7%g%s$NCf$K$b(B |
| $B5-=R$G$-$^$;$s!#(B</p> |
| |
| </usage> |
| <seealso>$B%j%/%(%9%H$r<u$1$?:]$K$3$l$i$N0[$J$k%;%/%7%g%s$,(B |
| $BAH$_9g$o$5$l$kJ}K!$K$D$$$F$O(B <a href="../sections.html"> |
| <Directory>, <Location>, <Files> $B%;%/%7%g%s$NF0:nK!(B</a></seealso> |
| </directivesynopsis> |
| |
| <directivesynopsis type="section"> |
| <name>DirectoryMatch</name> |
| <description>$B@55,I=8=$K%^%C%A$9$k%U%!%$%k%7%9%F%`$N%G%#%l%/%H%j$H(B |
| $B%5%V%G%#%l%/%H%j$H$N$_$KE,MQ$5$l$k%G%#%l%/%F%#%V$r0O$`(B</description> |
| <syntax><DirectoryMatch <var>regex</var>> |
| ... </DirectoryMatch></syntax> |
| <contextlist><context>server config</context><context>virtual host</context> |
| </contextlist> |
| |
| <usage> |
| <p><directive module="core" type="section">Directory</directive> |
| $B%G%#%l%/%F%#%V$HF1MM$K!"(B<directive type="section">DirectoryMatch</directive> |
| $B$H(B <code></DirectoryMatch></code> $B$O;XDj$5$l$?%G%#%l%/%H%j$H(B |
| $B$=$N%5%V%G%#%l%/%H%j$K$N$_E,MQ$5$l$k%G%#%l%/%F%#%V72$r0O$$$^$9!#(B |
| $B$7$+$7!"$3$N%G%#%l%/%F%#%V$O0z?t$H$7$F@55,I=8=$r$H$j$^$9!#Nc$($P(B:</p> |
| |
| <example> |
| <DirectoryMatch "^/www/.*/[0-9]{3}"> |
| </example> |
| |
| <p>$B$O(B /www/ $B0J2<$K$"$k?t;z(B 3 $BJ8;z$N%G%#%l%/%H%j$K%^%C%A$7$^$9!#(B</p> |
| |
| </usage> |
| <seealso>$BDL>o$N(B <directive type="section">Directory</directive> $B$H@55,I=8=$N;XDj$,(B |
| $BE,MQ$5$l$k=gHV$K$D$$$F$O(B <directive type="section" |
| module="core">Directory</directive></seealso> |
| <seealso>$B%j%/%(%9%H$r<u$1$?:]$K$3$l$i$N0[$J$k%;%/%7%g%s$,(B |
| $BAH$_9g$o$5$l$kJ}K!$K$D$$$F$O(B <a href="../sections.html"> |
| <Directory>, <Location>, <Files> $B%;%/%7%g%s$NF0:nK!(B</a></seealso> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>DocumentRoot</name> |
| <description>$B%&%'%V$+$i8+$($k%a%$%s$N%I%-%e%a%s%H%D%j!<$K$J$k(B |
| $B%G%#%l%/%H%j(B</description> |
| <syntax>DocumentRoot <var>directory-path</var></syntax> |
| <default>DocumentRoot /usr/local/apache/htdocs</default> |
| <contextlist><context>server config</context><context>virtual host</context> |
| </contextlist> |
| |
| <usage> |
| <p>$B$3$N%G%#%l%/%F%#%V$O!"(B<code>httpd</code> $B$,%U%!%$%k$rDs6!$9$k%G%#%l%/%H%j$r@_Dj$7$^$9!#(B |
| <directive module="mod_alias">Alias</directive> $B$N$h$&$J%G%#%l%/%F%#%V$K%^%C%A$7$J$$>l9g$K$O!"(B |
| $B%I%-%e%a%s%H$N(B ($BLuCm(B:$B%U%!%$%k%7%9%F%`>e$N(B) $B%Q%9$r@8@.$9$k$?$a$K!"(B |
| $B%j%/%(%9%H$5$l$?(B URL $B$N%Q%9ItJ,$r%I%-%e%a%s%H%k!<%H$KIUM?$7$^$9!#(B |
| $BNc(B:</p> |
| |
| <example> |
| DocumentRoot /usr/web |
| </example> |
| |
| <p>$B$3$N>l9g!"(B |
| <code>http://www.my.host.com/index.html</code> $B$X$N%"%/%;%9$,$"$l$P(B |
| <code>/usr/web/index.html</code> $B$,JV$5$l$^$9!#(B |
| <var>directory-path</var> $B$,@dBP%Q%9$G$J$$>l9g$O!"(B |
| <directive module="core">ServerRoot</directive> |
| $B$+$i$NAjBP%Q%9$H$_$J$5$l$^$9!#(B</p> |
| |
| <p><directive>DocumentRoot</directive> $B$O:G8e$N%9%i%C%7%eL5$7$G(B |
| $B;XDj$9$kI,MW$,$"$j$^$9!#(B</p> |
| </usage> |
| <seealso><a href="../urlmapping.html">URL $B$r%U%!%$%k%7%9%F%`$N0LCV$K(B |
| $B%^%C%W$9$k(B</a></seealso> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>EnableMMAP</name> |
| <description>$BG[AwCf$K%U%!%$%k$rFI$_9~$`$?$a$K%a%b%j%^%C%T%s%0$r(B |
| $B;H$&$+$I$&$+(B</description> |
| <syntax>EnableMMAP On|Off</syntax> |
| <default>EnableMMAP On</default> |
| <contextlist><context>server config</context><context>virtual host</context> |
| <context>directory</context><context>.htaccess</context> |
| </contextlist> |
| <override>FileInfo</override> |
| |
| <usage> |
| <p>$B$3$N%G%#%l%/%F%#%V$OG[AwCf$K%U%!%$%k$NFbMF$rFI$_9~$`I,MW$,$"$k$H$-$K(B |
| <code>httpd</code> $B$,%a%b%j%^%C%T%s%0$r;H$&$+$I$&$+$r@)8f$7$^$9!#%G%U%)%k%H$G$O!"(B |
| $BNc$($P!"(B<module>mod_include</module> $B$r;H$C$F(B SSI $B%U%!%$%k$rG[Aw(B |
| $B$9$k$H$-$N$h$&$K!"%U%!%$%k$NESCf$N%G!<%?$r%"%/%;%9$9$kI,MW$,$"$k$H$-$K$O(B |
| Apache $B$O(B OS $B$,%5%]!<%H$7$F$$$l$P%U%!%$%k$r%a%b%j$K%^%C%W$7$^$9!#(B</p> |
| |
| <p> |
| $B$3$N%a%b%j%^%C%W$O@-G=$N8~>e$r;}$?$i$9$3$H$,$"$j$^$9!#(B |
| $B$7$+$7!"4D6-$K$h$C$F$O1?MQ>e$NLdBj$rKI$0$?$a$K%a%b%j%^%C%T%s%0$r(B |
| $B;HMQ$7$J$$$h$&$K$7$?J}$,NI$$>l9g$b$"$j$^$9(B:</p> |
| |
| <ul> |
| <li>$B%^%k%A%W%m%;%C%5%7%9%F%`$NCf$K$O%a%b%j%^%C%T%s%0$r$9$k$H(B <code>httpd</code> $B$N(B |
| $B@-G=$,Mn$A$k$b$N$,$"$j$^$9!#(B</li> |
| <li>NFS $B%^%&%s%H$5$l$?(B <directive module="core">DocumentRoot</directive> |
| $B$G$O!"(B<code>httpd</code> $B$,%a%b%j%^%C%W$7$F$$$k4V$K%U%!%$%k$,:o=|$5$l$?$j(B |
| $BC;$/$J$C$?$j$7$?$H$-$K5/$3$k%;%0%a%s%F!<%7%g%s%U%)!<%k%H$N$?$a$K(B |
| <code>httpd</code> $B$,%/%i%C%7%e$9$k2DG=@-$,$"$j$^$9!#(B</li> |
| </ul> |
| |
| <p>$B$3$l$i$NLdBj$KEv$F$O$^$k%5!<%P$N@_Dj$N>l9g$O!"0J2<$N$h$&$K$7$F(B |
| $B%U%!%$%k$NG[Aw;~$N%a%b%j%^%C%T%s%0$r;HMQIT2D$K$7$F$/$@$5$$(B:</p> |
| |
| <example> |
| EnableMMAP Off |
| </example> |
| |
| <p>NFS $B%^%&%s%H$5$l$?%U%!%$%k$K$O!"LdBj$N$"$k%U%!%$%k$K$N$_L@<(E*$K(B |
| $B$3$N5!G=$r;HMQIT2D$K$7$^$9(B:</p> |
| |
| <example> |
| <Directory "/path-to-nfs-files"> |
| <indent> |
| EnableMMAP Off |
| </indent> |
| </Directory> |
| </example> |
| </usage> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>EnableSendfile</name> |
| <description>$B%U%!%$%k$N%/%i%$%"%s%H$X$NG[Aw;~$K%+!<%M%k$N(B sendfile $B%5%]!<%H$r(B |
| $B;H$&$+$I$&$+(B</description> |
| <syntax>EnableSendfile On|Off</syntax> |
| <default>EnableSendfile On</default> |
| <contextlist><context>server config</context><context>virtual host</context> |
| <context>directory</context><context>.htaccess</context> |
| </contextlist> |
| <override>FileInfo</override> |
| <compatibility>$B%P!<%8%g%s(B 2.0.44 $B0J9_$G;HMQ2DG=(B</compatibility> |
| |
| <usage> |
| <p>$B$3$N%G%#%l%/%F%#%V$O%/%i%$%"%s$K%U%!%$%k$NFbMF$rAw$k$H$-$K(B |
| <code>httpd</code> $B$,%+!<%M%k$N(B |
| sendfile $B%5%]!<%H$r;H$&$+$I$&$+$r@)8f$7$^$9!#%G%U%)%k%H$G$O!"(B |
| $BNc$($P@EE*$J%U%!%$%k$NG[Aw$N$h$&$K!"%j%/%(%9%H$N=hM}$K%U%!%$%k$N(B |
| $BESCf$N%G!<%?$N%"%/%;%9$rI,MW$H$7$J$$$H$-$K$O!"(BApache $B$O(B OS $B$,(B |
| $B%5%]!<%H$7$F$$$l$P%U%!%$%k$rFI$_9~$`$3$H$J$/(B sendfile $B$r;H$C$F(B |
| $B%U%!%$%k$NFbMF$rAw$j$^$9!#(B</p> |
| |
| <p>sendfile $B$O(B read $B$H(B send $B$rJL!9$K9T$J$&$3$H$H!"%P%C%U%!$N3d$jEv$F$r(B |
| $B2sHr$7$^$9!#$7$+$7!"%W%i%C%H%U%)!<%`$d%U%!%$%k%7%9%F%`$NCf$K$O(B |
| $B1?MQ>e$NLdBj$rHr$1$k$?$a$K$3$N5!G=$r;HMQIT2D$K$7$?J}$,NI$$>l9g$,$"$j$^$9(B:</p> |
| |
| <ul> |
| <li>$B%W%i%C%H%U%)!<%`$NCf$K$O%S%k%I%7%9%F%`$,8!CN$G$-$J$+$C$?!"2u$l$?(B |
| sendfile $B$N%5%]!<%H$,B8:_$9$k$b$N$,$"$j$^$9!#$3$l$OFC$K(B |
| $B%P%$%J%j$,JL$N%^%7%s$G%S%k%I$5$l!"2u$l$?(B sendfile $B$N$"$k%^%7%s$K(B |
| $B0\F0$7$?$H$-$K5/$3$j$^$9!#(B</li> |
| <li>Linux $B$G$O!"(Bsendfile $B$rMQ$$$k$H!"(B |
| IPv6 $B;HMQ;~$KB8:_$9$kFCDj%M%C%H%o!<%/%+!<%I$N(B TCP-checksum |
| $B%*%U%m!<%I$N%P%0$rF'$s$G$7$^$$$^$9!#(B</li> |
| <li>$B%M%C%H%o!<%/%^%&%s%H$5$l$?(B <directive module="core">DocumentRoot</directive> |
| ($BNc$($P(B NFS $B$d(B SMB) |
| $B$G$O!"%+!<%M%k$O<+?H$N%-%c%C%7%e$r;H$C$F%M%C%H%o!<%/$+$i$N%U%!%$%k$r(B |
| $BAw$k$3$H$,$G$-$J$$$3$H$,$"$j$^$9!#(B</li> |
| </ul> |
| |
| <p>$B$3$l$i$NLdBj$KEv$F$O$^$k%5!<%P$N@_Dj$N>l9g$O!"0J2<$N$h$&$K$7$F(B |
| $B$3$N5!G=$r;HMQIT2D$K$7$F$/$@$5$$(B:</p> |
| |
| |
| <example> |
| EnableSendfile Off |
| </example> |
| |
| <p>NFS $B$d(B SMB $B%^%&%s%H$5$l$?%U%!%$%k$K$O!"LdBj$N$"$k%U%!%$%k$K$N$_L@<(E*$K(B |
| $B$3$N5!G=$r;HMQIT2D$K$7$^$9(B:</p> |
| |
| <example> |
| <Directory "/path-to-nfs-files"> |
| <indent> |
| EnableSendfile Off |
| </indent> |
| </Directory> |
| </example> |
| </usage> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>ErrorDocument</name> |
| <description>$B%(%i!<$,H/@8$7$?$H$-$K%5!<%P$,%/%i%$%"%s%H$KAw$k$b$N(B</description> |
| <syntax>ErrorDocument <var>error-code document</var></syntax> |
| <contextlist><context>server config</context><context>virtual host</context> |
| <context>directory</context><context>.htaccess</context> |
| </contextlist> |
| <override>FileInfo</override> |
| <compatibility>Apache 2.0 $B$G$O%F%-%9%H$r%/%&%)!<%H$9$k9=J8$,0JA0$N%P!<%8%g%s$+$i(B |
| $BJQ$o$C$F$$$^$9!#(B</compatibility> |
| |
| <usage> |
| <p>$BLdBj$d%(%i!<$,H/@8$7$?$H$-$NF0:n$H$7$F!"(B |
| Apache $B$K$O0J2<$N;M$D$N$&$A0l$D$NF0:n$r@_Dj$9$k$3$H$,$G$-$^$9!#(B</p> |
| |
| <ol> |
| <li>Apache $BI8=`$N4JC1$J%(%i!<%a%C%;!<%8$rI=<((B</li> |
| |
| <li>$B<+J,$G;XDj$7$?%a%C%;!<%8$rI=<((B</li> |
| |
| <li>$BLdBj$d%(%i!<$N=hM}$r$9$k0Y$K!"<+%5!<%PFb$N(B |
| <var>URL-path</var> $B$X%j%@%$%l%/%H(B</li> |
| |
| <li>$BLdBj$d%(%i!<$N=hM}$r$9$k0Y$K!"30It$N(B <var>URL</var> $B$X%j%@%$%l%/%H(B</li> |
| </ol> |
| |
| <p>$B:G=i$N$b$N$,%G%U%)%k%H$NF0:n$G!"(B2 $BHVL\$+$i(B 4 $BHVL\$O!"(B |
| <directive>ErrorDocument</directive>$B%G%#%l%/%F%#%V$K$h$j!"(B |
| HTTP $B$N%l%9%]%s%9%3!<%I$H!"%a%C%;!<%8$+(B URL $B$r;XDj$9$k$3$H$G@_Dj$7$^$9!#(B |
| Apache $B$,LdBj$b$7$/$O%(%i!<$K4X$9$kDI2C>pJs$rDs6!$9$k$3$H$,$"$j$^$9!#(B</p> |
| |
| <p>URL $B$N>l9g$O!"%m!<%+%k$N(B URL $B$N;XDj$H$7$F%9%i%C%7%e$G;O$^$k(B (/) $B%Q%9$+!"(B |
| $B%/%i%$%"%s%H$,2r<a$G$-$k%U%k(B URL $B$r;XDj$7$^$9!#(B<br /> |
| $B$b$7$/$O!"%V%i%&%6$KI=<($5$l$k%a%C%;!<%8$r;XDj$G$-$^$9!#(B |
| $BNc(B:</p> |
| |
| <example> |
| ErrorDocument 500 http://foo.example.com/cgi-bin/tester<br /> |
| ErrorDocument 404 /cgi-bin/bad_urls.pl<br /> |
| ErrorDocument 401 /subscription_info.html<br /> |
| ErrorDocument 403 "Sorry can't allow you access today" |
| </example> |
| |
| <p>$B2C$($F!"FCJL$JCM(B <code>default</code> $B$r;H$C$F(B Apache $B$K(B |
| $B%O!<%I%3!<%I$5$l$F$$$k4JC1$J%a%C%;!<%8$r;XDj$9$k$3$H$,$G$-$^$9!#(B |
| $BDL>o$OI,MW$G$O$"$j$^$;$s$,!"(B<code>default</code> $B$r;H$&$H(B |
| $B4{B8$N(B <directive>ErrorDocument</directive> $B%G%#%l%/%F%#%V$N@_Dj$r(B |
| $B7Q>5$9$k$H$3$m$G!"(BApache $B$N%O!<%I%3!<%I$5$l$?4JC1$J%a%C%;!<%8$K(B |
| $BLa$9$3$H$,$G$-$^$9!#(B</p> |
| |
| <example> |
| ErrorDocument 404 /cgi-bin/bad_urls.pl<br /><br /> |
| <Directory /web/docs><br /> |
| <indent> |
| ErrorDocument 404 default<br /> |
| </indent> |
| </Directory> |
| </example> |
| |
| <p>$B%j%b!<%H(B URL ($BNc$($P!"F,$K(B <code>http</code> $B$HIUM?$7$?J}K!(B) $B$r(B |
| <directive>ErrorDocument</directive> $B$K;XDj$9$k$H$-!"(B |
| $B$?$H$(J8=q$,F1$8%5!<%P$K$"$m$&$H$b!"%I%-%e%a%s%H$,$I$3$K$"$k$+$rDLCN$9$k$?$a$K!"(B |
| Apache $B$O%j%@%$%l%/%H$r%/%i%$%"%s%H$KAw=P$9$k$H$$$&$3$H$K!"Cm0U$7$F$/$@$5$$!#(B |
| $B$3$l$K$O$$$m$$$m$H4XO"$7$F5/$3$kLdBj$,$"$j$^$9!#(B |
| $BCf$G$b:G$b=EMW$J$N$O!"%/%i%$%"%s%H$O85!9$N%(%i!<%9%F!<%?%9%3!<%I$r<u$1<h$i$:!"(B |
| $BBe$o$j$K%j%@%$%l%/%H$N%9%F!<%?%9%3!<%I$r<u$1<h$k$H$$$&$3$H$G$9!#(B |
| $B$3$l$K$h$j!"%9%F!<%?%9%3!<%I$r;H$C$F(B URL $B$,M-8z$G$"$k$+$I$&$+$r7hDj$7$h$&$H$9$k(B |
| $B%&%'%V%m%\%C%H$d$=$NB>%/%i%$%"%s%H$r!":.Mp$5$;$k$+$b$7$l$^$;$s!#(B |
| $B$5$i$K!"(B<code>ErrorDocument 401</code> $B$K%j%b!<%H$N(B URL $B$r;XDj$9$k$H!"(B |
| $B%/%i%$%"%s%H$O(B 401 $B$H$$$&%9%F!<%?%9%3!<%I$r<u$1<h$i$J$$$?$a!"(B |
| $B%Q%9%o!<%I$r%f!<%6!<$KF~NOMW5a$7$J$1$l$P$J$i$J$$$3$H$,$o$+$j$^$;$s!#(B |
| $B=>$C$F!"(B<strong><code>ErrorDocument 401</code> $B$H$$$&%G%#%l%/%F%#%V$r;H$&>l9g$O!"(B |
| $BI,$:%m!<%+%k$JJ8=q$r;2>H$7$J$1$l$P$J$j$^$;$s!#(B</strong></p> |
| |
| <p>Microsoft Internet Explorer (MSIE) $B$O%G%U%)%k%H$G$O%5!<%P$,@8@.$7$?%(%i!<%a%C%;!<%8$,(B |
| $B!V>.$5$9$.$k!W$H$-$K$OL5;k$r$7$F<+J,<+?H$N!V$d$5$7$$!W%(%i!<%a%C%;!<%8$G(B |
| $BCV49$7$^$9!#%5%$%:$N$7$-$$CM$O%(%i!<$N<oN`$K$h$C$F0[$J$j$^$9$,!"(B |
| $B0lHLE*$K$O%(%i!<$NJ8=q$r(B 512 $B%P%$%H$h$j$bB?$-$/$9$k$H!"(BMSIE $B$O(B |
| $B%5!<%P$,@8@.$7$?%(%i!<$r1#$5$:$KI=<($7$^$9!#>\$7$$>pJs$O(B Microsoft |
| Knowledge Base $B$N5-;v(B <a |
| href="http://support.microsoft.com/default.aspx?scid=kb;en-us;Q294807">Q294807</a> |
| $B$K$"$j$^$9!#(B</p> |
| |
| <p>2.0 $B$h$jA0$N%P!<%8%g%s$G$O!"BP$K$J$C$F$$$J$$Fs=E0zMQId$r(B |
| $B@hF,$KIU$1$k$3$H$K$h$j%a%C%;!<%8$G$"$k$3$H$r;XDj$7$F$$$^$7$?!#(B</p> |
| |
| </usage> |
| |
| <seealso><a href="../custom-error.html">$B%+%9%?%^%$%:2DG=$J(B |
| $B%(%i!<1~Ez$N%I%-%e%a%s%F!<%7%g%s(B</a></seealso> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>ErrorLog</name> |
| <description>$B%5!<%P$,%(%i!<$r%m%0<}=8$9$k>l=j(B</description> |
| <syntax> ErrorLog <var>file-path</var>|syslog[:<var>facility</var>]</syntax> |
| <default>ErrorLog logs/error_log (Unix) ErrorLog logs/error.log (Windows and OS/2)</default> |
| <contextlist><context>server config</context><context>virtual host</context> |
| </contextlist> |
| |
| <usage> |
| <p><directive>ErrorLog</directive> $B%G%#%l%/%F%#%V$O!"(B |
| $B%5!<%P$K@8$8$?$5$^$6$^$J%(%i!<$r(B |
| $B5-O?$9$k0Y$N%U%!%$%k$NL>A0$r@_Dj$7$^$9!#(B |
| <var>file-path</var> $B$,@dBP%Q%9$G$J$$$H$-$O!"(B<directive |
| module="core">ServerRoot</directive> $B$+$i$NAjBP%Q%9$H$_$J$5$l$^$9!#(B</p> |
| |
| <example><title>$BNc(B</title> |
| ErrorLog /var/log/httpd/error_log |
| </example> |
| |
| <p><var>file-path</var> $B$,%Q%$%W(B (|) $B$+$i;O$^$k>l9g$O!"(B |
| $B%(%i!<%m%0$r=hM}$9$k$?$a$K<B9T$5$l$k%3%^%s%I$,(B |
| $B;XDj$5$l$F$$$k$H2r<a$5$l$^$9!#(B</p> |
| |
| <example><title>$BNc(B</title> |
| ErrorLog "|/usr/local/bin/httpd_errors" |
| </example> |
| |
| <p>$B%U%!%$%kL>$NJQ$o$j$K(B <code>syslog</code> $B$H;XDj$9$k$3$H$K$h$C$F!"(B |
| $B%7%9%F%`$,%5%]!<%H$7$F$$$l$P(B syslogd(8) $B$rMxMQ$7$?%m%.%s%0$,M-8z$K$J$j$^$9!#(B |
| $B%G%U%)%k%H$G$O!"(B<code>local7</code> $B%U%!%7%j%F%#$H$J$j$^$9$,!"(B |
| <code>syslog:<var>facility</var></code> $B$H$$$C$?7A$G5-=R$9$k$3$H$K$h$j!"(B |
| $BDL>o(B syslog(1) $B$N%I%-%e%a%s%H$G@bL@$5$l$F$$$k%U%!%7%j%F%#$N0l$D$r;H$&$h$&$K(B |
| $B$9$k$3$H$,$G$-$^$9!#(B</p> |
| |
| <example><title>$BNc(B</title> |
| ErrorLog syslog:user |
| </example> |
| |
| <p>$B%;%-%e%j%F%#(B: |
| $B%m%0%U%!%$%k$r3JG<$9$k%G%#%l%/%H%j$,!"%5!<%P$r5/F0$7$?%f!<%60J30$N(B |
| $B%f!<%6$K$h$C$F=q$-9~$a$k>l9g$K%;%-%e%j%F%#$,GK$i$l$k2DG=@-$,$"$k$3$H$K(B |
| $B4X$9$k>\:Y$O(B <a |
| href="../misc/security_tips.html#serverroot">$B%;%-%e%j%F%#$K4X$9$k%3%D(B</a> $B$r(B |
| $B;2>H$7$F$/$@$5$$!#(B</p> |
| <note type="warning"><title>$BCm(B</title> |
| <p>Unix $B0J30$N%W%i%C%H%U%)!<%`$G%U%!%$%k$N%Q%9$rF~NO$9$k$H$-$O!"(B |
| $B%W%i%C%H%U%)!<%`$,%P%C%/%9%i%C%7%e$N;HMQ$r5v$7$F$$$?$H$7$F$b!"(B |
| $B3N<B$K%9%i%C%7%e$N$_$,;HMQ$5$l$k$h$&$KCm0U$7$F$/$@$5$$!#0lHLE*$K$O!"(B |
| $B@_Dj%U%!%$%kA4HL$G%9%i%C%7%e$N$_$r;H$&J}$,NI$$$G$7$g$&!#(B</p> |
| </note> |
| </usage> |
| <seealso><directive module="core">LogLevel</directive></seealso> |
| <seealso><a href="../logs.html">Apache $B%m%0%U%!%$%k(B</a></seealso> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>FileETag</name> |
| <description>ETag HTTP $B1~Ez%X%C%@$r:n@.$9$k$?$a$K;HMQ$5$l$k(B |
| $B%U%!%$%k$NB0@-(B</description> |
| <syntax>FileETag <var>component</var> ...</syntax> |
| <default>FileETag INode MTime Size</default> |
| <contextlist><context>server config</context><context>virtual host</context> |
| <context>directory</context><context>.htaccess</context> |
| </contextlist> |
| <override>FileInfo</override> |
| |
| <usage> |
| <p> |
| <directive>FileETag</directive> $B%G%#%l%/%F%#%V$O(B |
| $B%I%-%e%a%s%H$,%U%!%$%k$K4p$E$$$?$b$N$G$"$k$H$-$K!"(B |
| <code>ETag</code> ($B%(%s%F%#%F%#%?%0(B) $B1~Ez%X%C%@%U%#!<%k%I$r:n@.$9$k$H$-$K;HMQ$9$k(B |
| $B%U%!%$%k$NB0@-$r@_Dj$7$^$9!#(B (<code>ETag</code> $B$NCM$O%M%C%H%o!<%/$NBS0h$r@aLs$9$k$?$a$N(B |
| $B%-%c%C%7%e$N4IM}$G;H$o$l$^$9!#(B) Apache 1.3.22 $B0JA0$G$O!"(B<code>ETag</code> $B$NCM$O(B |
| <em>$B>o$K(B</em>$B%U%!%$%k$N(B inode, $B%5%$%:!":G=*=$@5;~9o(B (mtime) $B$+$i:n@.(B |
| $B$5$l$F$$$^$7$?!#(B<directive>FileETag</directive> $B%G%#%l%/%F%#%V$K$h$j!"$3$l$i$N$I$l$r;H$&$+$r(B |
| $BA*$V$3$H$,$G$-$^$9!#G'<1$5$l$k%-!<%o!<%I$O(B: |
| </p> |
| |
| <dl> |
| <dt><strong>INode</strong></dt> |
| <dd>$B%U%!%$%k$N(B inode $BHV9f$r7W;;$K;H$$$^$9(B</dd> |
| <dt><strong>MTime</strong></dt> |
| <dd>$B%U%!%$%k$N:G=*=$@5;~9o$r;H$$$^$9(B</dd> |
| <dt><strong>Size</strong></dt> |
| <dd>$B%U%!%$%k$NCf?H$N%P%$%H?t$r;H$$$^$9(B</dd> |
| <dt><strong>All</strong></dt> |
| <dd>$B;HMQ2DG=$J$9$Y$F$N%U%#!<%k%I$r;H$$$^$9!#(B |
| $B$3$l$O(B <example>FileETag INode MTime Size</example> $B$HEy2A$G$9!#(B</dd> |
| <dt><strong>None</strong></dt> |
| <dd>$B%I%-%e%a%s%H$,%U%!%$%k$K4p$E$$$?$b$N$G$b!"(B<code>ETag</code> $B%U%#!<%k%I$r(B |
| $B1~Ez$KIU2C$7$^$;$s(B</dd> |
| </dl> |
| |
| <p><code>INode</code>, <code>MTime</code>, <code>Size</code> $B%-!<%o!<%I$K$O(B |
| <code>+</code> $B$d(B <code>-</code> $B$rA0$KIU$1$F(B |
| $B;XDj$9$k$3$H$b$G$-$^$9!#$3$N>l9g$O!"$h$j9-$$HO0O$+$i7Q>5$5$l$?(B |
| $B%G%U%)%k%H$N@_Dj$KJQ99$r2C$($k$h$&$K$J$j$^$9!#$=$N$h$&$J@\F,<-$N(B |
| $BL5$$%-!<%o!<%I$r;XDj$9$k$H!"B(:B$K7Q>5$7$?@_Dj$rL58z$K$7$^$9!#(B</p> |
| |
| <p>$B$"$k%G%#%l%/%H%j$N@_Dj$K(B |
| <code>FileETag INode MTime Size</code> $B$,$"$j!"(B |
| $B%5%V%G%#%l%/%H%j$N@_Dj$K(B <code>FileETag -INode</code> $B$,$"$k$H$-$O!"(B |
| $B$=$N%5%V%G%#%l%/%H%j$N@_Dj$O(B ($B@_Dj$,>e=q$-$5$l$J$1$l$P%5%V%G%#%l%/%H%j$N(B |
| $B%5%V%G%#%l%/%H%j$K$b7Q>5$5$l$^$9(B) <code>FileETag MTime Size</code> |
| $B$HF1$8$K$J$j$^$9!#(B</p> |
| </usage> |
| </directivesynopsis> |
| |
| <directivesynopsis type="section"> |
| <name>Files</name> |
| <description>$B%^%C%A$9$k%U%!%$%kL>$KE,MQ$5$l$k%G%#%l%/%F%#%V$r0O$`(B</description> |
| <syntax><Files <var>filename</var>> ... </Files></syntax> |
| <contextlist><context>server config</context><context>virtual host</context> |
| <context>directory</context><context>.htaccess</context> |
| </contextlist> |
| <override>All</override> |
| |
| <usage> |
| <p><directive type="section">Files</directive> $B%G%#%l%/%F%#%V$O!"(B |
| $B$=$NCf$K$"$k%G%#%l%/%F%#%V$NE,MQHO0O$r%U%!%$%kL>$G@)8B$7$^$9!#(B |
| <directive module="core" |
| type="section">Directory</directive> $B%G%#%l%/%F%#%V$d(B <directive |
| module="core" type="section">Location</directive> $B%G%#%l%/%F%#%V$H(B |
| $BF1$8$h$&$J5!G=$r;}$A$^$9!#(B |
| $B$3$l$O!"(B<code></Files></code> $B%G%#%l%/%F%#%V$HBP$K(B |
| $B$J$C$F$$$J$1$l$P$J$j$^$;$s!#(B |
| $B$3$N%;%/%7%g%sCf$N%G%#%l%/%F%#%V$O!"%Y!<%9L>(B ($B%U%!%$%kL>$N:G8e$NItJ,(B) |
| $B$,;XDj$5$l$?%U%!%$%kL>$K%^%C%A$9$k$9$Y$F$N%*%V%8%'%/%H$KE,MQ$5$l$^$9!#(B |
| <directive type="section">Files</directive> $B%;%/%7%g%s$O(B |
| <directive type="section">Directory</directive> $B%;%/%7%g%s$H(B |
| <code>.htaccess</code> $B$,FI$_9~$^$l$?8e!"(B |
| <directive type="section">Location</directive> $B%;%/%7%g%s$h$j$O@h$K(B |
| $B@_Dj%U%!%$%k$K8=$l$?=g$KE,MQ$5$l$^$9!#(B |
| <directive type="section">Files</directive> $B$O!"(B |
| <directive type="section">Directory</directive> $B%;%/%7%g%sFb$K(B |
| $B%M%9%H$5$;$k$3$H$,$G$-!"(B |
| $B%U%!%$%k%7%9%F%`$N0lIt$K$N$_8BDj$7$FE,MQ$5$;$k$3$H$,$G$-$^$9!#(B</p> |
| |
| <p><var>filename</var> $B0z?t$O!"%U%!%$%kL>$+%o%$%k%I%+!<%IJ8;zNs(B |
| $B$G!"%o%$%k%I%+!<%I$G$O(B <code>?</code> $B$O0l$D$NJ8;z!"(B<code>*</code> $B$OG$0U$NJ8;zNs$K%^%C%A$7$^$9!#(B |
| <code>~</code> $B$H$$$&J8;z$rIU2C$9$k$3$H$G3HD%@55,I=8=$r;H$&$3$H$b$G$-$^$9!#(B |
| $BNc$($P!"(B</p> |
| |
| <example> |
| <Files ~ "\.(gif|jpe?g|png)$"> |
| </example> |
| |
| <p>$B$H$9$k$3$H$K$h$j!"0lHLE*$J%$%s%?!<%M%C%H$N2hA|%U%)!<%^%C%H$K%^%C%A$7$^$9!#(B |
| $B$?$@$7!"(B |
| <directive module="core" type="section">FilesMatch</directive> $B$r;H$&J}$,(B |
| $B?d>)$5$l$F$$$^$9!#(B</p> |
| |
| <p>$B$A$J$_$K!"(B<directive module="core" type="section" |
| >Directory</directive> $B$H(B <directive module="core" type="section" |
| >Location</directive> $B%;%/%7%g%s$H$O0[$J$j!"(B |
| <directive type="section">Files</directive> |
| $B$O(B <code>.htaccess</code> $B%U%!%$%kFb$GMxMQ$9$k$3$H$,$G$-$^$9!#(B |
| $B$3$l$K$h$j!"%f!<%6$,%U%!%$%kKh$K%"%/%;%9$N@)8f$r9T$J$&$3$H$,$G$-$k$h$&$K(B |
| $B$J$C$F$$$^$9!#(B</p> |
| |
| </usage> |
| <seealso>$B%j%/%(%9%H$r<u$1$?:]$K$3$l$i$N0[$J$k%;%/%7%g%s$,(B |
| $BAH$_9g$o$5$l$kJ}K!$K$D$$$F$O(B <a href="../sections.html"> |
| <Directory>, <Location>, <Files> $B%;%/%7%g%s$NF0:nK!(B</a></seealso> |
| </directivesynopsis> |
| |
| <directivesynopsis type="section"> |
| <name>FilesMatch</name> |
| <description>$B@55,I=8=$K%^%C%A$9$k%U%!%$%kL>$KE,MQ$5$l$k(B |
| $B%G%#%l%/%F%#%V$r0O$`(B</description> |
| <syntax><FilesMatch <var>regex</var>> ... </FilesMatch></syntax> |
| <contextlist><context>server config</context><context>virtual host</context> |
| <context>directory</context><context>.htaccess</context> |
| </contextlist> |
| <override>All</override> |
| |
| <usage> |
| <p><directive type="section">FilesMatch</directive> $B%G%#%l%/%F%#%V$O!"(B |
| <directive module="core" type="section">Files</directive> |
| $B%G%#%l%/%F%#%VF1MM$K$=$NCf$K$"$k%G%#%l%/%F%#%V$NE,MQHO0O$r%U%!%$%kL>$G@)8B$7$^$9!#$?$@$7!"(B |
| $B$3$N%G%#%l%/%F%#%V$K$O@55,I=8=$r;XDj$7$^$9!#(B |
| $BNc$($P(B:</p> |
| |
| <example> |
| <FilesMatch "\.(gif|jpe?g|png)$"> |
| </example> |
| |
| <p>$B$O0lHLE*$J%$%s%?!<%M%C%H$N2hA|7A<0$K%^%C%A$7$^$9!#(B</p> |
| </usage> |
| |
| <seealso>$B%j%/%(%9%H$r<u$1$?:]$K$3$l$i$N0[$J$k%;%/%7%g%s$,(B |
| $BAH$_9g$o$5$l$kJ}K!$K$D$$$F$O(B <a href="../sections.html"> |
| <Directory>, <Location>, <Files> $B%;%/%7%g%s$NF0:nK!(B</a></seealso> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>ForceType</name> |
| <description>$B$9$Y$F$N%^%C%A$9$k%U%!%$%k$,;XDj$N(B MIME $B%3%s%F%s%H%?%$%W$G(B |
| $BAw$i$l$k$h$&$K$9$k(B</description> |
| <syntax>ForceType <var>MIME-type</var>|None</syntax> |
| <contextlist><context>directory</context><context>.htaccess</context> |
| </contextlist> |
| <override>FileInfo</override> |
| <compatibility>Apache 2.0 $B$G(B core $B$K0\F0(B</compatibility> |
| |
| <usage> |
| <p><code>.htaccess</code> $B$d(B <directive type="section" module="core" |
| >Directory</directive> $B%;%/%7%g%s!"(B |
| <directive type="section" module="core">Location</directive> $B%;%/%7%g%s!"(B |
| <directive type="section" module="core">Files</directive> $B%;%/%7%g%s$K(B |
| $B=q$+$l$?>l9g!"$3$N%G%#%l%/%F%#%V$O$=$3$K$"$k$9$Y$F$N%U%!%$%k$,(B |
| <var>MIME-type</var> |
| $B$G;XDj$5$l$?%3%s%F%s%H%?%$%W$H$7$F07$o$l$k$h$&$K$7$^$9!#$?$H$($P!"(B |
| GIF $B%U%!%$%k$P$+$j$N%G%#%l%/%H%j$,$"$C$F!"$9$Y$F$N%U%!%$%k$r(B <code>.gif</code> |
| $B$G=*$o$i$;$?$/$O$J$$$H$-$K!"0J2<$N$b$N$r;HMQ$7$^$9(B:</p> |
| |
| <example> |
| ForceType image/gif |
| </example> |
| |
| <p><directive module="core">DefaultType</directive> $B$H0c$C$F(B |
| $B$3$N%G%#%l%/%F%#%V$O%a%G%#%"%?%$%W$r7h$a$k$3$H$,$G$-$k$+$b$7$l$J$$(B |
| $B%U%!%$%k$N3HD%;R$b4^$a!"$9$Y$F$N(B MIME $B%?%$%W$N4XO"IU$1$r(B |
| $B>e=q$-$9$k$3$H$KCm0U$7$F$/$@$5$$!#(B</p> |
| |
| <p><code>None</code> $B$H$$$&CM$r;H$&$3$H$G(B <directive>ForceType</directive> $B$N(B |
| $B@_Dj$rL58z$K$G$-$^$9(B:</p> |
| |
| <example> |
| # force all files to be image/gif:<br /> |
| <Location /images><br /> |
| <indent> |
| ForceType image/gif<br /> |
| </indent> |
| </Location><br /> |
| <br /> |
| # but normal mime-type associations here:<br /> |
| <Location /images/mixed><br /> |
| <indent> |
| ForceType None<br /> |
| </indent> |
| </Location> |
| </example> |
| </usage> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>HostnameLookups</name> |
| <description>$B%/%i%$%"%s%H$N(B IP $B%"%I%l%9$N(B DNS $B%k%C%/%"%C%W$r(B |
| $BM-8z$K$9$k(B</description> |
| <syntax>HostnameLookups On|Off|Double</syntax> |
| <default>HostnameLookups Off</default> |
| <contextlist><context>server config</context><context>virtual host</context> |
| <context>directory</context></contextlist> |
| |
| <usage> |
| <p>$B$3$N%G%#%l%/%F%#%V$O!"%[%9%HL>$r%m%0<}=8$G$-$k$h$&$K(B |
| DNS $B%k%C%/%"%C%W$rM-8z$K$7$^$9(B |
| ($B$5$i$K!"(BCGI/SSI $B$K(B <code>REMOTE_HOST</code> $BJQ?t$H$7$FEO$7$^$9(B)$B!#(B |
| <code>Double</code>$B$r;XDj$7$?>l9g!"(B2 $B=E$N5U0z$-$r9T$J$$$^$9!#(B |
| $B$D$^$j!"5U0z$-$N8e$K!"$=$N7k2L$KBP$7$F@50z$-$r9T$J$$$^$9!#@50z$-$N(B |
| $B7k2L$N(B IP $B%"%I%l%9$NCf$K%*%j%8%J%k$N%"%I%l%9$H0lCW$9$k$b$N$,$J$1$l$P(B |
| $B$J$j$^$;$s!#(B("tcpwrappers" $B$NMQ8l$G$O(B PARANOID $B$H8F$P$l$F$$$^$9!#(B)</p> |
| |
| <p><module>mod_authz_host</module> $B$G%[%9%HL>$K$h$k%"%/%;%9(B |
| $B@)8f$r9T$J$&>l9g$K$O!"(B |
| $B@_Dj$NG!2?$K$h$i$:(B 2 $B=E$N5U0z$-$,<B9T$5$l$^$9!#(B |
| $B$3$l$O!"%;%-%e%j%F%#$rJ]$D$?$a$KI,MW$G$9!#(B |
| <code>HostnameLookups Double</code> $B$r@_Dj$7$J$$8B$j!"(B |
| $BB>$NItJ,$O$3$N(B 2 $B=E5U0z$-$N7k2L$r;H$&$3$H$O$G$-$^$;$s!#(B |
| $BNc$($P!"(B<code>HostnameLookups On</code> $B$H@_Dj$7$F$"$k>uBV$G!"(B |
| $B%[%9%HL>$K$h$k%"%/%;%9@)8B$r9T$J$C$?%*%V%8%'%/%H$X$N(B |
| $B%j%/%(%9%H$r<u$1$?$H$9$k$H!"(B2 $B=E$N5U0z$-$,@.8y$9$k$+H]$+$K$h$i$:!"(B |
| <code>REMOTE_HOST</code> $B$K$ODL>o$N5U0z$-7k2L$,EO$5$l$^$9!#(B</p> |
| |
| <p>$B%G%#%l%/%F%#%V$N%G%U%)%k%H$O(B |
| $BK\Ev$K5U0z$-$rI,MW$H$7$F$$$k$o$1$G$O$J$$%5%$%H$N(B |
| $B%M%C%H%o!<%/%H%i%U%#%C%/$rDc8:$5$;$k$?$a$K!"(B<code>Off</code> $B$K$J$C$F$$$^$9!#(B |
| $B%k%C%/%"%C%W$K$h$kM>7W$JCY1d$,$J$/$J$k$?$a!"(B |
| $B%(%s%I%f!<%6$K$H$C$F$bNI$$$G$7$g$&!#(B |
| DNS $B$N%k%C%/%"%C%W$K$O!"$+$J$j$N;~4V$,I,MW$H$J$k>l9g$,B?$/!"(B |
| $BIi2Y$N9b$$%5%$%H$G$O$3$N%G%#%l%/%F%#%V$O(B <code>Off</code> $B$K$9$Y$-$G$9!#(B |
| $B$J$*!"(B<var>/support</var> $B%G%#%l%/%H%j$K4^$^$l!"%G%U%)%k%H$G$O(B |
| $B%$%s%9%H!<%k%G%#%l%/%H%j$N(B <code>bin</code> $B%5%V%G%#%l%/%H%j$K(B |
| $B%$%s%9%H!<%k$5$l$k(B <a |
| href="../programs/logresolve.html">logresolve</a> $B%f!<%F%#%j%F%#$K$h$j!"(B |
| Apache $B$NF0:n$H$OJL$K!"%m%0$K;D$5$l$F$$$k(B IP $B%"%I%l%9$+$i%[%9%HL>$r(B |
| $B%k%C%/%"%C%W$9$k$3$H$,2DG=$G$9!#(B</p> |
| </usage> |
| </directivesynopsis> |
| |
| <directivesynopsis type="section"> |
| <name>IfDefine</name> |
| <description>$B5/F0;~$K%F%9%H$,??$G$"$k$H$-$N$_$K=hM}$5$l$k%G%#%l%/%F%#%V$r(B |
| $B0O$`(B</description> |
| <syntax><IfDefine [!]<var>parameter-name</var>> ... |
| </IfDefine></syntax> |
| <contextlist><context>server config</context><context>virtual host</context> |
| <context>directory</context><context>.htaccess</context> |
| </contextlist> |
| <override>All</override> |
| |
| <usage> |
| <p><code><IfDefine <var>test</var>>...</IfDefine></code> |
| $B%;%/%7%g%s$O!"(B |
| $B%G%#%l%/%F%#%V$r>r7oIU$-$G;XDj$9$k$?$a$KMxMQ$7$^$9!#(B |
| <directive type="section">IfDefine</directive> $B%;%/%7%g%s$K(B |
| $B4^$^$l$k%G%#%l%/%F%#%V$O!"(B<var>test</var>$B$,(B |
| $BDj5A$5$l$F$$$k$H$-$N$_=hM}$5$l$^$9!#(B |
| $B$b$7(B <var>test</var> $B$,Dj5A$5$l$F$$$J$1$l$P!"(B |
| $B3+;O$H=*N;$N;XDj$N4V$N%G%#%l%/%F%#%V$OL5;k$5$l$^$9!#(B</p> |
| |
| <p><directive type="section">IfDefine</directive> $B%;%/%7%g%s%G%#%l%/%F%#%V$K(B |
| $B;XDj$9$k(B <var>test</var> $B$O!"(B |
| $B<!$NFs$D$N7A<0$N$&$A$N0l$D$r$H$j$^$9(B:</p> |
| |
| <ul> |
| <li><var>parameter-name</var></li> |
| |
| <li><code>!</code><var>parameter-name</var></li> |
| </ul> |
| |
| <p>$BA0<T$N>l9g$K$O!"(B<var>parameter-name</var> $B$HL>IU$1$i$l$?%Q%i%a!<%?$,(B |
| $BDj5A$5$l$F$$$l$P3+;O$H=*N;$N4V$N%G%#%l%/%F%#%V$,=hM}$5$l$^$9!#(B |
| $B8e<T$N>l9g$O5U$G!"(B<em>parameter-name</em> $B$,;XDj$5$l$F(B<strong>$B$$$J$$(B</strong> |
| $B>l9g$K=hM}$5$l$^$9!#(B</p> |
| |
| <p><var>parameter-name</var> $B0z?t$O!"%5!<%P$r5/F0$9$k:]$K(B |
| <code>httpd</code> $B$N%3%^%s%I%i%$%s$K(B |
| <code>-D<var>parameter-</var></code> $B$H$$$&7A$G;XDj$9$k$HDj5A$5$l$^$9!#(B </p> |
| |
| <p><directive type="section">IfDefine</directive> $B%;%/%7%g%s$O(B |
| $BF~$l;R$K$9$k$3$H$,$G$-!"J#?t$N%Q%i%a!<%?$K$h$k%F%9%H$r$9$k$?$a$K;HMQ$G$-$^$9!#(B |
| $BNc(B:</p> |
| |
| <example> |
| httpd -DReverseProxy ...<br /> |
| <br /> |
| # httpd.conf<br /> |
| <IfDefine ReverseProxy><br /> |
| <indent> |
| LoadModule rewrite_module modules/mod_rewrite.so<br /> |
| LoadModule proxy_module modules/libproxy.so<br /> |
| </indent> |
| </IfDefine> |
| </example> |
| </usage> |
| </directivesynopsis> |
| |
| <directivesynopsis type="section"> |
| <name>IfModule</name> |
| <description>$B%b%8%e!<%k$NB8:_$9$k$+$7$J$$$+$K1~$8$F=hM}$5$l$k(B |
| $B%G%#%l%/%F%#%V$r0O$`(B</description> |
| <syntax><IfModule [!]<var>module-file</var>|<var>module-identifier</var>> ... |
| </IfModule></syntax> |
| <contextlist><context>server config</context><context>virtual host</context> |
| <context>directory</context><context>.htaccess</context> |
| </contextlist> |
| <override>All</override> |
| <compatibility>$B%b%8%e!<%k<1JL;R$O%P!<%8%g%s(B 2.1 $B0J9_$G;HMQ2DG=!#(B</compatibility> |
| |
| <usage> |
| <p><code><IfModule <var>test</var>>...</IfModule></code> |
| $B%;%/%7%g%s$O!"%b%8%e!<%k$,B8:_$9$k$H$-$K=hM}$5$l$k%G%#%l%/%F%#%V$r(B |
| $B;XDj$9$k$?$a$KMxMQ$7$^$9!#(B |
| <directive type="section">IfModule</directive> $B%;%/%7%g%s$K(B |
| $B4^$^$l$k%G%#%l%/%F%#%V$O!"(B<var>test</var> |
| $B$G;XDj$9$k%b%8%e!<%k$,AH$_9~$^$l$F$$$k$H$-$N$_=hM}$5$l$^$9!#(B |
| $B$b$7(B <var>test</var> $B$,AH$_9~$^$l$F$$$J$1$l$P!"3+;O$H=*N;$N4V$N%G%#%l%/%F%#%V(B |
| $B$OL5;k$5$l$^$9!#(B</p> |
| |
| <p><directive type="section">IfModule</directive> $B%;%/%7%g%s%G%#%l%/%F%#%V$K(B |
| $B;XDj$9$k(B <var>test</var> $B$O!"(B |
| $B<!$NFs$D$N7A<0$N$&$A$N0l$D$r$H$j$^$9!#(B</p> |
| |
| <ul> |
| <li><var>module</var></li> |
| |
| <li>!<var>module</var></li> |
| </ul> |
| |
| <p>$BA0<T$N>l9g$O!"(B<var>module</var> $B$HL>IU$1$i$l$?%b%8%e!<%k$,(B |
| Apache $B$KAH$_9~$^$l$F$$$l$P(B |
| ($B%3%s%Q%$%k:Q$_$N$b$N$H!"(B<directive |
| module="mod_so">LoadModule</directive> $B$rMxMQ$7$F(B |
| $BF0E*$KFI$_9~$s$@$b$N$NN>J}(B)$B!"(B |
| $B3+;O$H=*N;$N4V$N%G%#%l%/%F%#%V$,=hM}$5$l$^$9!#(B |
| $B8e<T$N>l9g$O5U$G!"(B<var>module</var> $B$,AH$_9~$^$l$F(B<strong>$B$$$J$$(B</strong> |
| $B>l9g$K=hM}$5$l$^$9!#(B</p> |
| |
| <p><var>module</var> $B0z?t$O!"%b%8%e!<%k<1JL;R$+(B |
| $B%3%s%Q%$%k$r$7$?;~$N%b%8%e!<%k$N%U%!%$%kL>$G$9!#(B |
| $BNc$($P!"(B<code>rewrite_module</code> $B$O<1JL;R$G(B |
| <code>mod_rewrite.c</code> $B$O%U%!%$%kL>$G$9!#(B |
| $B%b%8%e!<%k$,J#?t$N%=!<%9%U%!%$%k$+$i9=@.$5$l$F$$$k>l9g$O!"J8;zNs(B |
| <code>STANDARD20_MODULE_STUFF</code> $B$,$"$k%U%!%$%k$NL>A0$r(B |
| $B;H$C$F$/$@$5$$!#(B</p> |
| |
| <p><directive type="section">IfModule</directive> $B%;%/%7%g%s$O(B |
| $BF~$l;R$K$9$k$3$H$,2DG=$G$"$j!"(B |
| $BJ#?t$N%b%8%e!<%k$N%F%9%H$r9T$J$&$?$a$K;HMQ$G$-$^$9!#(B</p> |
| |
| <note>$BFCDj$N%b%8%e!<%k$NB8:_$K4X$o$i$:F0:n$9$k(B |
| $B@_Dj%U%!%$%k$N86K\$,I,MW$J$H$-$K$N$_$3$N%;%/%7%g%s$r;HMQ$7$F$/$@$5$$!#(B |
| $BDL>o$NF0:n$G$O!"%G%#%l%/%F%#%V$r(B |
| <directive type="section">IfModule</directive> $B%;%/%7%g%s$NCf$K(B |
| $BF~$l$kI,MW$O$"$j$^$;$s!#(B</note> |
| </usage> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>Include</name> |
| <description>$B%5!<%P@_Dj%U%!%$%kCf$+$iB>$N@_Dj%U%!%$%k$r<h$j9~$`(B</description> |
| <syntax>Include <var>file-path</var>|<var>directory-path</var></syntax> |
| <contextlist><context>server config</context><context>virtual host</context> |
| <context>directory</context> |
| </contextlist> |
| <compatibility>$B%o%$%k%I%+!<%I$K$h$k%^%C%A$O(B 2.0.41 $B0J9_$G;HMQ2DG=(B</compatibility> |
| |
| <usage> |
| <p>$B$3$N%G%#%l%/%F%#%V$K$h$j!"%5!<%P$N@_Dj%U%!%$%k$+$i(B |
| $BB>$N@_Dj%U%!%$%k$r%$%s%/%k!<%I$9$k$3$H$,$G$-$^$9!#(B</p> |
| |
| <p>$BJ#?t$N%U%!%$%k$r%"%k%U%!%Y%C%H=g$K0lEY$KFI$_9~$`$?$a$K!"(B |
| $B%7%'%k7A<0(B (<code>fnmatch</code>) $B$N%o%$%k%I%+!<%IJ8;z$r;H$&$3$H$,$G$-$^$9!#(B |
| $B$5$i$K!"(B<directive>Include</directive> $B$K%G%#%l%/%H%j$r;XDj$7$?>l9g$O!"(B |
| $B%G%#%l%/%H%j$H$=$N%5%V%G%#%l%/%H%jFb$NA4$F$N%U%!%$%k$r(B |
| $B%"%k%U%!%Y%C%H=g$KFI$_9~$s$G!"@_Dj%U%!%$%k$H$7$F=hM}$7$^$9!#(B |
| $B$7$+$7!"%G%#%l%/%H%jA4BN$rFI$_9~$`$N$O$*4+$a$G$-$^$;$s!#(B |
| $B$U$H$7$?$3$H$+$i(B <code>httpd</code> $B$,FI$_9~$_$K<:GT$9$k$h$&$J(B |
| $B0l;~%U%!%$%k$r%G%#%l%/%H%j$K;D$7$F$7$^$&$h$&$J$3$H$,$h$/$"$k$+$i$G$9!#(B</p> |
| |
| <p>$B;XDj$9$k%U%!%$%k%Q%9$O@dBP%Q%9$+!"(B |
| <directive module="core">ServerRoot</directive> $B%G%#%l%/%H%j$+$i$N(B |
| $BAjBP%Q%9$+!"$N$I$A$i$+$G$9!#(B</p> |
| |
| <p>$BNc(B:</p> |
| |
| <example> |
| Include /usr/local/apache2/conf/ssl.conf<br /> |
| Include /usr/local/apache2/conf/vhosts/*.conf |
| </example> |
| |
| <p><directive module="core">ServerRoot</directive> $B$+$i$NAjBP%Q%9$N>l9g$O(B:</p> |
| |
| <example> |
| Include conf/ssl.conf<br /> |
| Include conf/vhosts/*.conf |
| </example> |
| |
| <p><code>apachectl configtest</code> $B$r<B9T$9$k$H!"@_Dj$r%A%'%C%/$7$F$$$k;~$K(B |
| $BFI$_9~$^$l$?%U%!%$%k$N%j%9%H$,I=<($5$l$^$9(B:</p> |
| |
| <example> |
| root@host# apachectl configtest<br /> |
| Processing config file: /usr/local/apache2/conf/ssl.conf<br /> |
| Processing config file: /usr/local/apache2/conf/vhosts/vhost1.conf<br /> |
| Processing config file: /usr/local/apache2/conf/vhosts/vhost2.conf<br /> |
| Syntax OK |
| </example> |
| </usage> |
| |
| <seealso><a href="../programs/apachectl.html">apachectl</a></seealso> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>KeepAlive</name> |
| <description>HTTP $B$N;}B3E*$J@\B3$rM-8z$K$9$k(B</description> |
| <syntax>KeepAlive On|Off</syntax> |
| <default>KeepAlive On</default> |
| <contextlist><context>server config</context><context>virtual host</context> |
| </contextlist> |
| |
| <usage> |
| <p>HTTP/1.0 $B$N(B Keep-Alive $B3HD%$H(B HTTP/1.1 $B$N;}B3E*@\B3$N5!G=$O!"(B |
| $BJ#?t$N%j%/%(%9%H$,F1$8(B TCP $B$N@\B3$GAw$i$l$k!"D9;~4V;}B3$9$k(B |
| HTTP $B%;%C%7%g%s$rDs6!$7$^$9!#$?$/$5$s$N2hA|$,(B |
| $B4^$^$l$k(B HTML $B%I%-%e%a%s%H$G$O>l9g$K$h$C$F$OCY1d;~4V$,(B 50% $BC;=L$5$l$k7k2L$b(B |
| $B$G$F$$$^$9!#(BKeep-Alive $B@\B3$rM-8z$K$9$k$K$O(B |
| <code>KeepAlive On</code> $B$H@_Dj$7$^$9!#(B</p> |
| |
| <p>HTTP/1.0 $B$KBP1~$7$?%/%i%$%"%s%H$N:]$K$O!"(B |
| $B%/%i%$%"%s%H$h$jFC$KMW5a$,$"$C$?>l9g$N$_(B Keep-Alive $B@\B3$H$J$j$^$9!#(B |
| $B$5$i$K!"(BHTTP/1.0 $B%/%i%$%"%s%H$G$O!"%3%s%F%s%D$NMFNL$,@h$K(B |
| ($BLuCm(B: $BMW5a$KBP$7$F1~Ez$rJV$9A0$K(B) $B$o$+$k>l9g$N$_(B Keep-Alive |
| $B@\B3$rMxMQ$G$-$^$9!#(B |
| $B$3$l$O!"(BCGI $B$N=PNO$d(B SSI $B$N%Z!<%8!"(B |
| $B%5!<%P$,@8@.$7$?%G%#%l%/%H%j$N%j%9%H$N$h$&$JF0E*%3%s%F%s%D$r(B |
| HTTP/1.0 $B%/%i%$%"%s%H$KAw$k>l9g$K$O(B Keep-Alive $B@\B3$r;H$($J$$$3$H$r0UL#$7$^$9!#(B |
| HTTP/1.1 $B$KBP1~$7$?%/%i%$%"%s%H$N:]$K$O!"(B |
| $BFC$K;XDj$5$l$J$$8B$j$O%G%U%)%k%H$H$7$F;}B3E*$J@\B3$,9T$J$o$l$^$9!#(B |
| $B%/%i%$%"%s%H$,MW5a$9$l$P!"%3%s%F%s%D$NMFNL$rH=JL$G$-$J$$$b$N$r(B |
| $B;}B3E*$J@\B3$rDL$7$FAw$k$?$a$K!"%A%c%s%/%(%s%3!<%G%#%s%0$,MQ$$$i$l$^$9!#(B</p> |
| </usage> |
| |
| <seealso><directive module="core">MaxKeepAliveRequests</directive></seealso> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>KeepAliveTimeout</name> |
| <description>$B;}B3E*$J@\B3$G<!$N%j%/%(%9%H$,Mh$k$^$G%5!<%P$,BT$D;~4V(B</description> |
| <syntax>KeepAliveTimeout <var>seconds</var></syntax> |
| <default>KeepAliveTimeout 15</default> |
| <contextlist><context>server config</context><context>virtual host</context> |
| </contextlist> |
| |
| <usage> |
| <p>$B@\B3$rJD$8$kA0$K!"(BApache $B$,<!$N%j%/%(%9%H$r2?ICBT$D$+$r;XDj$7$^$9!#(B |
| $B%j%/%(%9%H$r<u$1IU$1$?8e$O!"(B<directive |
| module="core">Timeout</directive> $B%G%#%l%/%F%#%V$K$h$C$F(B |
| $B;XDj$5$l$?%?%$%`%"%&%HCM$,;H$o$l$^$9!#(B</p> |
| |
| <p><directive>KeepAliveTimeout</directive> $B$rBg$-$JCM$K@_Dj$9$k$H!"(B |
| $BIi2Y$N9b$$%5!<%P$K$*$$$F$O%Q%U%)!<%^%s%9$NLdBj$r0z$-5/$3$9>l9g$,$"$j$^$9!#(B |
| $B%?%$%`%"%&%H$,D9$1$l$PD9$$$[$I!"$h$jB?$/$N%5!<%P%W%m%;%9$,(B |
| $B3hH/$G$J$$%/%i%$%"%s%H$+$i$N@\B3$N=*N;$rBT$AB3$1$k$3$H$K$J$j$^$9!#(B</p> |
| </usage> |
| </directivesynopsis> |
| |
| <directivesynopsis type="section"> |
| <name>Limit</name> |
| <description>$B0O$$$NCf$K$"$k%"%/%;%9@)8f$NE,MQ$rFCDj$N(B HTTP $B%a%=%C%I$N$_$K(B |
| $B@)8B$9$k(B</description> |
| <syntax><Limit <var>method</var> [<var>method</var>] ... > ... |
| </Limit></syntax> |
| <contextlist><context>server config</context><context>virtual host</context> |
| <context>directory</context><context>.htaccess</context> |
| </contextlist> |
| <override>All</override> |
| |
| <usage> |
| <p>$B%"%/%;%9@)8f$O!"DL>o(B<strong>$BA4$F$N(B</strong>$B%"%/%;%9%a%=%C%I$KBP$7$F(B |
| $B1F6A$7!"IaDL$O$3$l$,K>$^$7$$5sF0$G$9!#(B |
| <strong>$B$=$&$7$?$3$H$+$i!"BgItJ,$N>l9g$K$O%"%/%;%9@)8f$K4X$o$k%G%#%l%/%F%#%V$r(B |
| <directive type="section">Limit</directive> $B%;%/%7%g%sFb$K(B |
| $B=q$/$Y$-$G$O$"$j$^$;$s!#(B </strong></p> |
| |
| <p><directive type="section">Limit</directive> $B%G%#%l%/%F%#%V$N(B |
| $BL\E*$O!"%"%/%;%9@)8f$NHO0O$r(B |
| $B;XDj$5$l$?(B HTTP $B%a%=%C%I$K8BDj$9$k$?$a$G$9!#(B |
| $B$=$l0J30$N%a%=%C%I$O!"(B<directive type="section">Limit</directive> $B$G0O$o$l$?%"%/%;%9@)8f$N(B |
| <strong>$B1F6A$r<u$1$^$;$s(B</strong>$B!#(B |
| $B0J2<$NNc$O!"(B<code>POST</code>, <code>PUT</code>, <code>DELETE</code> $B$N%a%=%C%I$KBP$7$F$N$_%"%/%;%9$N@)8f$r9T$J$$!"(B |
| $B$=$l0J30$N%a%=%C%I$K$D$$$F$O@)8B$7$^$;$s(B:</p> |
| |
| <example> |
| <Limit POST PUT DELETE><br /> |
| <indent> |
| Require valid-user<br /> |
| </indent> |
| </Limit> |
| </example> |
| |
| <p>$B%a%=%C%IL>$K$O0J2<$NCf$+$i0l$D0J>e$rNs5s$9$k$3$H$,$G$-$^$9(B: |
| <code>GET</code>, |
| <code>POST</code>, <code>PUT</code>, <code>DELETE</code>, |
| <code>CONNECT</code>, <code>OPTIONS</code>, |
| <code>PATCH</code>, <code>PROPFIND</code>, <code>PROPPATCH</code>, |
| <code>MKCOL</code>, <code>COPY</code>, <code>MOVE</code>, |
| <code>LOCK</code>, <code>UNLOCK</code>. <strong>$B%a%=%C%IL>$O(B |
| $BBgJ8;z>.J8;z$r6hJL$7$^$9!#(B</strong> <code>GET</code> $B$r;XDj$7$?>l9g$K$O(B |
| <code>HEAD</code> $B%j%/%(%9%H$K$b@)8B$,$+$+$j$^$9!#(B<code>TRACE</code> |
| $B%a%=%C%I$K@)8B$r$+$1$k$3$H$O$G$-$^$;$s!#(B</p> |
| |
| <note type="warning">$B%"%/%;%9@)8f$,L\E*$N>l9g$O(B |
| <directive type="section" module="core">Limit</directive> |
| $B%;%/%7%g%s$NBe$o$j$K(B <directive type="section" |
| module="core">LimitExcept</directive> $B%;%/%7%g%s$r;HMQ$7$?J}$,NI$$$G$7$g$&!#(B |
| <directive type="section" module="core">LimitExcept</directive> |
| $B%;%/%7%g%s$G$OITFCDj$N%a%=%C%I$KBP$7$F$bKI8f$G$-$k$+$i$G$9!#(B</note> |
| |
| </usage> |
| </directivesynopsis> |
| |
| <directivesynopsis type="section"> |
| <name>LimitExcept</name> |
| <description>$B;XDj$5$l$?$b$N0J30$N(B HTTP $B%a%=%C%I$K%"%/%;%9@)8f$r(B |
| $B@)8B$9$k(B</description> |
| <syntax><LimitExcept <var>method</var> [<var>method</var>] ... > ... |
| </LimitExcept></syntax> |
| <contextlist><context>server config</context><context>virtual host</context> |
| <context>directory</context><context>.htaccess</context> |
| </contextlist> |
| <override>All</override> |
| |
| <usage> |
| <p><directive type="section">LimitExcept</directive> $B$H(B |
| <code></LimitExcept></code> $B$O!"0z?t$K(B |
| <strong>$B4^$^$l$F$$$J$$(B</strong> |
| HTTP $B$N%"%/%;%9%a%=%C%I$KE,MQ$9$k$?$a$N%"%/%;%9@)8f(B |
| $B%G%#%l%/%F%#%V$r3g$k$?$a$KMxMQ$7$^$9!#(B |
| $B$D$^$j!"(B<directive type="section" module="core" |
| >Limit</directive> $B%;%/%7%g%s$NH?BP$NF0:n$r$7!"(B |
| $BI8=`$N%a%=%C%I$HI8=`30$dL$G'<1$N%a%=%C%I$N>l9g$NN>J}$r@_Dj$G$-$^$9!#(B |
| <directive type="section" module="core">Limit</directive> $B$N%I%-%e%a%s%H$b(B |
| $BJ;$;$F;2>H$7$F$/$@$5$$!#(B</p> |
| |
| <p>$BNc(B:</p> |
| |
| <example> |
| <LimitExcept POST GET><br /> |
| <indent> |
| Require valid-user<br /> |
| </indent> |
| </LimitExcept> |
| </example> |
| |
| </usage> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>LimitInternalRecursion</name> |
| <description>$BFbIt%j%@%$%l%/%H$HF~$l;R$K$J$C$?%5%V%j%/%(%9%H$N:GBg?t$r7hDj$9$k(B</description> |
| <syntax>LimitInternalRecursion <var>number</var> [<var>number</var>]</syntax> |
| <default>LimitInternalRecursion 10</default> |
| <contextlist><context>server config</context><context>virtual host</context> |
| </contextlist> |
| <compatibility>Apache 2.0.47 $B0J9_$G;HMQ2DG=(B</compatibility> |
| |
| <usage> |
| <p>$BFbIt%j%@%$%l%/%H$ONc$($P(B <directive>Action</directive> $B%G%#%l%/%F%#%V$r(B |
| $B;H$C$F$$$k$H$-$K5/$3$j$^$9!#(B<directive>Action</directive> $B%G%#%l%/%F%#%V$O(B |
| $B85!9$N%j%/%(%9%H$r(B CGI $B%9%/%j%W%H$KFbIt%j%@%$%l%/%H$r9T$J$$$^$9!#(B |
| $B%5%V%j%/%(%9%H$O$$$/$D$+$N(B URI $B$KBP$7$F!"%j%/%(%9%H$5$l$?$H$-$K(B |
| $B2?$,5/$3$k$+$rD4$Y$k$?$a$N(B Apache $B$N5!9=$G$9!#Nc$($P!"(B<module>mod_dir</module> |
| $B$O(B <directive module="mod_dir">DirectoryIndex</directive> $B%G%#%l%/%F%#%V(B |
| $B$,%j%9%H$9$k%U%!%$%k$rD4$Y$k$?$a$K%5%V%j%/%(%9%H$r;H$$$^$9!#(B</p> |
| |
| <p><directive>LimitInternalRecursion</directive> $B$OFbIt%j%@%$%l%/%H$d(B |
| $B%5%V%j%/%(%9%H$,L58B%k!<%W$K4Y$C$?$H$-$N%5!<%P%/%i%C%7%e$rKI$.$^$9!#(B |
| $BIaDL!"$=$N$h$&$J%k!<%W$O@_Dj$K<:GT$7$?$H$-$KH/@8$7$^$9!#(B</p> |
| |
| <p>$B$3$N%G%#%l%/%F%#%V$O!"%j%/%(%9%HKh$KI>2A$5$l$k!"Fs$D$N0c$&8B3&CM$r(B |
| $B@_Dj$7$^$9!#:G=i$N(B <var>number</var> $B$O!"5/$3$jF@$k(B |
| $BFbIt%j%/%(%9%H$N:GBgCM$r@_Dj$7$^$9!#Fs$D$a$N(B <var>number</var> $B$O(B |
| $B%5%V%j%/%(%9%H$,F~$l;R$K$G$-$k?<$5$r@_Dj$7$^$9!#(B<var>number</var> $B$r(B |
| $B0l$D$@$1;XDj$7$?$H$-$O!"N>J}$N8B3&CM$K$=$NCM$,@_Dj$5$l$^$9!#(B</p> |
| |
| <example><title>$BNc(B</title> |
| LimitInternalRecursion 5 |
| </example> |
| </usage> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>LimitRequestBody</name> |
| <description>$B%/%i%$%"%s%H$+$iAw$i$l$k(B HTTP $B%j%/%(%9%H$N%\%G%#$N(B |
| $BAmNL$r@)8B$9$k(B</description> |
| <syntax>LimitRequestBody <var>bytes</var></syntax> |
| <default>LimitRequestBody 0</default> |
| <contextlist><context>server config</context><context>virtual host</context> |
| <context>directory</context><context>.htaccess</context> |
| </contextlist> |
| <override>All</override> |
| |
| <usage> |
| <p>$B$3$N%G%#%l%/%F%#%V$O!"%j%/%(%9%H%\%G%#$K5v$5$l$k%P%$%H?t!"(B<var>bytes</var> |
| $B$r(B 0 ($BL5@)8B$r0UL#$7$^$9(B) $B$+$i(B 2147483647 (2GB) $B$^$G$N?tCM$G;XDj$7$^$9!#(B</p> |
| |
| <p><directive>LimitRequestBody</directive> $B%G%#%l%/%F%#%V$O!"(B |
| $B%G%#%l%/%F%#%V$,=q$+$l$?%3%s%F%-%9%H(B |
| ($B%5!<%PA4BN!"%G%#%l%/%H%j!"%U%!%$%k!"%m%1!<%7%g%s(B) $BFb$G(B |
| $B5vMF$9$k(B HTTP $B%j%/%(%9%H%a%C%;!<%8%\%G%#$N%5%$%:$K@)8B$r$+$1$k$3$H$,$G$-$^$9!#(B |
| $B%/%i%$%"%s%H$N%j%/%(%9%H$,$=$N@)8BCM$r1[$($F$$$l$P!"(B |
| $B%5!<%P$O%j%/%(%9%H$r=hM}$;$:$K%(%i!<$rJV$7$^$9!#(B |
| $BIaDL$N%j%/%(%9%H%a%C%;!<%8%\%G%#$N%5%$%:$O!"%j%=!<%9$N<oN`$d(B |
| $B5v2D$5$l$F$$$k%a%=%C%I$K$h$C$FBg$-$/JQ$o$j$^$9!#(B |
| CGI $B%9%/%j%W%H$O!"$h$/>pJs$r<u?.$9$k$?$a$K(B |
| $B%a%C%;!<%8%\%G%#$r;H$$$^$9!#(B |
| <code>PUT</code> $B%a%=%C%I$N<BAu$O!"$3$N%G%#%l%/%F%#%V$NCM$H$7$F(B |
| $B>/$J$/$H$b$"$k%j%=!<%9$KBP$7$F%5!<%P$,<u$1IU$1$h$&$H$9$k(B |
| $BI=8=$NBg$-$5$[$I$NCM$rI,MW$H$7$^$9!#(B</p> |
| |
| <p>$B$3$N%G%#%l%/%F%#%V$O!"(B |
| $B4IM}<T$K%/%i%$%"%s%H$+$i$N0[>o$J%j%/%(%9%H$r@)8f$G$-$k$h$&$K$7!"(B |
| $B2?$i$+$N7A$N%5!<%S%95qH]967b(B ($BLuCm(B:DoS) $B$rHr$1$k$N$KM-8z$G$9!#(B</p> |
| |
| <p>$B$"$k>l=j$X$N%U%!%$%k%"%C%W%m!<%I$r5v2D$9$k>l9g$K!"(B |
| $B%"%C%W%m!<%I$G$-$k%U%!%$%k$N%5%$%:$r(B 100K $B$K@)8B$7$?$1$l$P!"(B |
| $B0J2<$N$h$&$K;XDj$7$^$9(B:</p> |
| |
| <example> |
| LimitRequestBody 102400 |
| </example> |
| |
| </usage> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>LimitRequestFields</name> |
| <description>$B%/%i%$%"%s%H$+$i$N(B HTTP $B%j%/%(%9%H$N%X%C%@%U%#!<%k%I$N?t$r(B |
| $B@)8B$9$k(B</description> |
| <syntax>LimitRequestFields <var>number</var></syntax> |
| <default>LimitRequestFields 100</default> |
| <contextlist><context>server config</context></contextlist> |
| |
| <usage> |
| <p><var>number</var> $B$K$O!"(B0 ($BL5@)8B$r0UL#$7$^$9(B) $B$+$i(B 32767 |
| $B$^$G$N@0?t$r;XDj$7$^$9!#(B |
| $B%G%U%)%k%HCM$O!"Dj?t(B <code>DEFAULT_LIMIT_REQUEST_FIELDS</code> |
| $B$K$h$j%3%s%Q%$%k;~$KDj5A$5$l$^$9(B ($BG[I[;~$K$O(B 100 $B$H;XDj$5$l$F$$$^$9(B)$B!#(B</p> |
| |
| <p>LimitRequestBody $B%G%#%l%/%F%#%V$O!"(B |
| $B%5!<%P4IM}<T$,(B HTTP $B%j%/%(%9%HCf$K$*$$$F5v2D$9$k%j%/%(%9%H%X%C%@%U%#!<%k%I?t$r(B |
| $B;XDj$7$^$9!#(B |
| $B%5!<%P$O$3$NCM$K$ODL>o$N%/%i%$%"%s%H$+$i$N%j%/%(%9%H$K4^$^$l$k$G$"$m$&(B |
| $B%U%#!<%k%I$N?t$h$jBg$-$JCM$,I,MW$H$7$^$9!#(B |
| $B%/%i%$%"%s%H$K$h$j;H$o$l$?MW5a%X%C%@!<%U%#!<%k%I$N?t$,(B |
| 20 $B$rD6$($k$3$H$O$[$H$s$I$"$j$^$;$s$,!"(B |
| $B$3$l$O<o!9$N%/%i%$%"%s%H$N<BAu$h$C$FJQ$o$j!"(B |
| $B>\:Y$J%3%s%F%s%H%M%4%7%(!<%7%g%s$r$9$k$?$a$N%V%i%&%6$N@_Dj$^$G$K$b(B |
| $B1F6A$5$l$k$3$H$,$"$j$^$9!#(B |
| $B%*%W%7%g%s$N(B HTTP $B3HD%$O%j%/%(%9%H%X%C%@%U%#!<%k%I$r;H$C$F8=$5$l$k>l9g$,(B |
| $BB?$/$"$j$^$9!#(B</p> |
| |
| <p>$B$3$N%G%#%l%/%F%#%V$O!"(B |
| $B4IM}<T$K%/%i%$%"%s%H$+$i$N0[>o$J%j%/%(%9%H$r@)8f$G$-$k$h$&$K$7!"(B |
| $B2?$i$+$N7A$N%5!<%S%95qH]967b(B ($BLuCm(B:DoS) $B$rHr$1$k$N$KM-8z$G$9!#(B |
| $B%j%/%(%9%H$N%U%#!<%k%I$,B?2a$.$k$3$H$r0UL#$9$k%(%i!<1~Ez$,(B |
| $BIaDL$N%/%i%$%"%s%H$KJV$5$l$k$h$&$J;~$O$3$NCM$rA}$d$7$F$/$@$5$$!#(B</p> |
| |
| <p>$BNc(B:</p> |
| |
| <example> |
| LimitRequestFields 50 |
| </example> |
| |
| </usage> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>LimitRequestFieldSize</name> |
| <description>$B%/%i%$%"%s%H$+$i$N(B HTTP $B%j%/%(%9%H$N%X%C%@$N(B |
| $B%5%$%:$r@)8B$9$k(B</description> |
| <syntax>LimitRequestFieldsize <var>bytes</var></syntax> |
| <default>LimitRequestFieldsize 8190</default> |
| <contextlist><context>server config</context></contextlist> |
| |
| <usage> |
| <p>$B$3$N%G%#%l%/%F%#%V$O!"(BHTTP $B%j%/%(%9%H%X%C%@Fb$K4^$a$k$3$H$N$G$-$k(B |
| $B%P%$%H?t!"(B<var>bytes</var> $B$r(B |
| 0 $B$+$i%3%s%Q%$%k;~$KDj5A$5$l$kDj?t(B |
| <code>DEFAULT_LIMIT_REQUEST_FIELDSIZE</code> ($BG[I[;~$K$O(B 8192 $B$H;XDj(B) |
| $B$G;XDj$5$l$?CM$^$G$N?t;z$G;XDj$7$^$9!#(B</p> |
| |
| <p><directive>LimitRequestFieldSize</directive> $B%G%#%l%/%F%#%V$O!"(B |
| $B%5!<%P$N%3%s%Q%$%k;~$K;XDj$7$?%$%s%W%C%H%P%C%U%!MFNL0J2<$K(B |
| HTTP $B%j%/%(%9%H%X%C%@$N5vMF$5$l$k%5%$%:$r@)8B$9$k$3$H$,$G$-$^$9!#(B |
| $B%5!<%P$O!"$3$N%G%#%l%/%F%#%V$NCM$H$7$F!"(B |
| $BDL>o$N%/%i%$%"%s%H%j%/%(%9%H$+$iAw$i$l$?8D!9$N%X%C%@%U%#!<%k%I$K(B |
| $B==J,B-$kBg$-$5$rI,MW$H$7$^$9!#(B |
| $BIaDL$N%j%/%(%9%H%X%C%@$N%5%$%:$O!"8D!9$N%/%i%$%"%s%H$K$h$jBg$-$/JQ$o$j!"(B |
| $B>\:Y$J%3%s%F%s%H%M%4%7%(!<%7%g%s$r$9$k$?$a$N%V%i%&%6$N@_Dj$^$G$K$b(B |
| $B1F6A$5$l$k$3$H$,$"$j$^$9!#(B</p> |
| |
| <p>$B$3$N%G%#%l%/%F%#%V$O!"(B |
| $B4IM}<T$K%/%i%$%"%s%H$+$i$N0[>o$J%j%/%(%9%H$r@)8f$G$-$k$h$&$K$7!"(B |
| $B2?$i$+$N7A$N%5!<%S%95qH]967b(B ($BLuCm(B:DoS) $B$rHr$1$k$N$KM-8z$G$9!#(B</p> |
| |
| <p>$BNc(B:</p> |
| |
| <example> |
| LimitRequestFieldSize 4094 |
| </example> |
| |
| <note>$BDL>o$O%G%U%)%k%H$+$iJQ99$9$kI,MW$O$"$j$^$;$s!#(B</note> |
| |
| </usage> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>LimitRequestLine</name> |
| <description>$B%/%i%$%"%s%H$+$i$N(B HTTP $B%j%/%(%9%H9T$N%5%$%:$r@)8B$9$k(B</description> |
| <syntax>LimitRequestLine <var>bytes</var></syntax> |
| <default>LimitRequestLine 8190</default> |
| <contextlist><context>server config</context></contextlist> |
| |
| <usage> |
| <p>$B$3$N%G%#%l%/%F%#%V$O!"(BHTTP $B%j%/%(%9%H9TFb$G5vMF$5$l$k%P%$%H?t(B |
| <var>bytes</var> $B$r(B 0 $B$+$i%3%s%Q%$%k;~$NDj?t(B |
| <code>DEFAULT_LIMIT_REQUEST_LINE</code> ($BG[I[;~$K$O(B 8190 $B$H;XDj(B) |
| $B$G;XDj$5$l$?CM$^$G$N?t;z$G;XDj$7$^$9!#(B</p> |
| |
| <p><directive>LimitRequestLine</directive> $B%G%#%l%/%F%#%V$K$h$j!"%5!<%P4IM}<T$O(B |
| $B%5!<%P$N%3%s%Q%$%k;~$K;XDj$7$?%$%s%W%C%H%P%C%U%!MFNL0J2<$K(B |
| $B%/%i%$%"%s%H$+$i$N(B HTTP $B%j%/%(%9%H9T$N%5%$%:$N@)8B$r9T$J$&$3$H$,$G$-$^$9!#(B |
| $B%j%/%(%9%H9T$O!"(BHTTP$B%a%=%C%I!"(BURI$B!"%W%m%H%3%k%P!<%8%g%s$+$i@.$C$F$*$j!"(B |
| <directive>LimitRequestLine</directive> $B$O%5!<%P$X$N%j%/%(%9%H$KBP$7$F(B |
| $B5vMF$9$k%j%/%(%9%H(B URI $B$ND9$5$r@)8B$9$k$3$H$K$J$j$^$9!#(B |
| $B%5!<%P$O!"(B<code>GET</code> $B%j%/%(%9%H$N%/%(%jItJ,$b4^$a$F!"%j%=!<%9$NL>A0$,F~$k$KB-$k(B |
| $BBg$-$5$rI,MW$H$7$^$9!#(B</p> |
| |
| <p>$B$3$N%G%#%l%/%F%#%V$O!"(B |
| $B4IM}<T$K%/%i%$%"%s%H$+$i$N0[>o$J%j%/%(%9%H$r@)8f$G$-$k$h$&$K$7!"(B |
| $B2?$i$+$N7A$N%5!<%S%95qH]967b(B ($BLuCm(B:DoS) $B$rHr$1$k$N$KM-8z$G$9!#(B</p> |
| |
| <p>$BNc(B:</p> |
| |
| <example> |
| LimitRequestLine 4094 |
| </example> |
| |
| <note>$BDL>o$O%G%U%)%k%H$+$iJQ99$9$kI,MW$O$"$j$^$;$s!#(B</note> |
| </usage> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>LimitXMLRequestBody</name> |
| <description>XML $B7A<0$N%j%/%(%9%H$N%\%G%#$N%5%$%:$r@)8B$9$k(B</description> |
| <syntax>LimitXMLRequestBody <var>bytes</var></syntax> |
| <default>LimitXMLRequestBody 1000000</default> |
| <contextlist><context>server config</context><context>virtual host</context> |
| <context>directory</context><context>.htaccess</context></contextlist> |
| <override>All</override> |
| |
| <usage> |
| <p>XML $B7A<0$N%j%/%(%9%H$N%\%G%#$N:GBgCM$r(B ($B%P%$%HC10L$G(B) $B@)8B$7$^$9!#(B |
| $BCM$K(B <code>0</code> $B$r;XDj$9$k$H%A%'%C%/$rL58z$K$7$^$9!#(B</p> |
| |
| <p>$BNc(B:</p> |
| |
| <example> |
| LimitXMLRequestBody 0 |
| </example> |
| |
| </usage> |
| </directivesynopsis> |
| |
| <directivesynopsis type="section"> |
| <name>Location</name> |
| <description>$B0O$s$@%G%#%l%/%F%#%V$r%^%C%A$9$k(B URL $B$N$_$KE,MQ(B</description> |
| <syntax><Location |
| <var>URL-path</var>|<var>URL</var>> ... </Location></syntax> |
| <contextlist><context>server config</context><context>virtual host</context> |
| </contextlist> |
| |
| <usage> |
| <p><directive type="section">Location</directive> $B%G%#%l%/%F%#%V$O!"(B |
| URL $B$K$h$jCf$K=q$+$l$?%G%#%l%/%F%#%V$NE,MQHO0O$r@)8B$7$^$9!#(B |
| <directive type="section" module="core">Directory</directive> |
| $B%G%#%l%/%F%#%V$H;w$F$$$F!"(B |
| <code></Location></code> $B%G%#%l%/%F%#%V$G=*N;$9$k(B |
| $B%5%V%;%/%7%g%s$r3+;O$7$^$9!#(B |
| <directive type="section">Location</directive> $B%;%/%7%g%s$O!"(B |
| <directive type="section" module="core">Directory</directive> $B%;%/%7%g%s$H(B |
| <code>.htaccess</code> $B$NFI$_9~$_$N8e!"(B |
| <directive type="section" module="core">Files</directive> $B%;%/%7%g%s$r(B |
| $BE,MQ$7$?8e$K!"@_Dj%U%!%$%k$K8=$l$?=g$K=hM}$5$l$^$9!#(B</p> |
| |
| <p><directive type="section">Location</directive> $B%;%/%7%g%s$O(B |
| $B40A4$K%U%!%$%k%7%9%F%`$H4XO"$;$:$KF0:n$7$^$9!#$3$N$3$H$+$iF3$+$l$k(B |
| $B7k2L$K$O$$$D$/$+Cm0U$9$kE@$,$"$j$^$9!#:G$b=EMW$J$b$N$O!"(B |
| $B%U%!%$%k%7%9%F%`$N0LCV$X$N%"%/%;%9@)8f$K(B <directive |
| type="section">Location</directive> $B%G%#%l%/%F%#%V$r;H$&$Y$-$G$O$J$$(B |
| $B$H$$$&$3$H$G$9!#J#?t$N(B URL $B$,%U%!%$%k%7%9%F%`$NF1$80LCV$K%^%C%W$5$l$k(B |
| $B2DG=$,$"$j$^$9$N$G!"$=$N$h$&$J%"%/%;%9@)8f$O2sHr$5$l$F$7$^$&2DG=@-$,(B |
| $B$"$j$^$9!#(B</p> |
| |
| <note><title>$B$$$D(B <directive |
| type="section">Location</directive> $B$r;H$&$+(B</title> |
| |
| <p><directive type="section">Location</directive> $B%G%#%l%/%F%#%V$O(B |
| $B%U%!%$%k%7%9%F%`30$N%3%s%F%s%D$K%G%#%l%/%F%#%V$rE,MQ$9$k$H$-$K(B |
| $B;HMQ$7$F$/$@$5$$!#%U%!%$%k%7%9%F%`$KB8:_$9$k%3%s%F%s%D$KBP$7$F$O!"(B |
| <directive |
| type="section" module="core">Directory</directive> $B$H(B <directive |
| type="section" module="core">Files</directive> $B$r;H$C$F$/$@$5$$!#(B |
| $BNc30$O!"(B<code><Location /></code> $B$G!"$3$l$O%5!<%PA4BN$KBP$7$F(B |
| $B@_Dj$rE,MQ$9$k4JC1$JJ}K!$G$9!#(B</p> |
| </note> |
| |
| <p>$BA4$F$N(B ($B%W%m%-%70J30$N(B) $B%j%/%(%9%H$KBP$7!"(B |
| URL $B$O(B <code>/path/</code> $B$H$$$&!"(B |
| $B@\F,<-(B <code>http://servername</code> $B$r4^$^$J$$7A$G%^%C%A$7$^$9!#(B |
| $B%W%m%-%7%j%/%(%9%H$N>l9g$K$O!"(B<code>scheme://servername/path</code> |
| $B$H$$$&@\F,<-$r4^$`7A$G%^%C%A$7!"@\F,<-$r4^$a$F;XDj$9$kI,MW$,$"$j$^$9!#(B</p> |
| |
| <p>URL $B$K$O%o%$%k%I%+!<%I$rMxMQ$9$k$3$H$,$G$-$^$9!#(B |
| <code>?</code> $B$OG$0U$N0lJ8;z!"(B<code>*</code> $B$OG$0U$NJ8;zNs$K%^%C%A$7$^$9!#(B </p> |
| |
| <p><code>~</code> $B$H$$$&J8;z$rDI2C$9$k$3$H$G!"3HD%@55,I=8=$r(B |
| $BMxMQ$9$k$3$H$b$G$-$^$9!#(B |
| $BNc$($P(B:</p> |
| |
| <example> |
| <Location ~ "/(extra|special)/data"> |
| </example> |
| |
| <p>$B$O(B URL $B$K(B <code>/extra/data</code> $B$+(B <code>/special/data</code> $B$H$$$&J8;zNs$,(B |
| $B4^$^$l$F$$$k>l9g$K%^%C%A$7$^$9!#(B |
| <directive type="section" module="core" |
| >LocationMatch</directive> $B%G%#%l%/%F%#%V$O(B |
| <directive type="section">Location</directive> $B$N@55,I=8=(B |
| $BHG$H$^$C$?$/F1$8F0:n$r$7$^$9!#(B</p> |
| |
| <p><directive type="section">Location</directive> $B5!G=$O!"(B<directive |
| module="core">SetHandler</directive> $B%G%#%l%/%F%#%V$H(B |
| $BAH9g$o$;$FMxMQ$9$k$HFC$KJXMx$G$9!#(B |
| $BNc$($P!"(B<code>foo.com</code> $B$N%V%i%&%6$+$i$N$_%9%F!<%?%9$N;2>H$rM-8z$K$7$?$1$l$P!"(B |
| $B<!$N$h$&$K$9$l$PNI$$$G$7$g$&!#(B</p> |
| |
| <example> |
| <Location /status><br /> |
| <indent> |
| SetHandler server-status<br /> |
| Order Deny,Allow<br /> |
| Deny from all<br /> |
| Allow from .foo.com<br /> |
| </indent> |
| </Location> |
| </example> |
| |
| <note><title>/ ($B%9%i%C%7%e(B) $B$K4X$9$kCm(B</title> |
| <p>$B%9%i%C%7%eJ8;z$O!"(BURL $BFb$K8=$l$k>l=j$K1~$8$FJQ2=$9$k(B |
| $BFCJL$J0UL#$r;}$C$F$$$^$9!#(B |
| $B%U%!%$%k%7%9%F%`$K$*$$$FMxMQ$9$k>l9g$K$OJ#?t$N%9%i%C%7%e$G$b0l$D$N(B |
| $B%9%i%C%7%e$H$7$F07$o$l$k$3$H$,B?$$$G$9$,!"(B |
| (<em>$B$9$J$o$A(B</em>$B!"(B<code>/home///foo</code> $B$O(B |
| <code>/home/foo</code> $B$HF1$8$$$C$?$h$&$K(B) |
| URL $B$K$*$$$F$OI,$:$7$b$=$&$J$k$o$1$G$O$"$j$^$;$s!#(B |
| <directive type="section" module="core">LocationMatch</directive> |
| $B%G%#%l%/%F%#%V$d@55,I=8=$rMxMQ$7$?(B |
| <directive type="section">Location</directive> $B%G%#%l%/%F%#%V$G!"(B |
| $BJ#?t$N%9%i%C%7%e$K%^%C%A$5$;$?$$$H$-$K$O!"!"L@<(E*$K5-=R$9$k(B |
| $BI,MW$,$"$j$^$9!#(B</p> |
| |
| <p>$BNc$($P!"(B<code><LocationMatch ^/abc></code> $B$O!"(B |
| <code>/abc</code> $B$H$$$&%j%/%(%9%H(B URL $B$K%^%C%A$7$^$9$,!"(B |
| <code>//abc</code> $B$H$$$&%j%/%(%9%H(B URL $B$K$O%^%C%A$7$^$;$s!#(B |
| ($B@55,I=8=$G$J$$(B) <directive type="section">Location</directive> |
| $B%G%#%l%/%F%#%V$O!"(B |
| proxy $B%j%/%(%9%H$KBP$7$FMxMQ$9$k:]$K$OF1MM$N?6$kIq$$$r$7$^$9$,!"(B |
| ($B@55,I=8=$G$J$$(B) <directive type="section">Location</directive> $B$r(B proxy |
| $B$G$J$$%j%/%(%9%H$KBP$7$FMxMQ$9$k:]$K$O!"(B |
| $B0l$D$N%9%i%C%7%e$GJ#?t$N%9%i%C%7%e$K%^%C%A$7$^$9!#(B |
| $BNc$($P!"(B<code><Location /abc/def></code> $B$H;XDj$7!"(B |
| <code>/abc//def</code> $B$H$$$&%j%/%(%9%H$,$"$l$P!"(B |
| $B%^%C%A$9$k$3$H$K$J$j$^$9!#(B</p></note> |
| |
| </usage> |
| <seealso>$B%j%/%(%9%H$r<u$1$?:]$K$3$l$i$N0[$J$k%;%/%7%g%s$,(B |
| $BAH$_9g$o$5$l$kJ}K!$K$D$$$F$O(B <a href="../sections.html"> |
| <Directory>, <Location>, <Files> $B%;%/%7%g%s$NF0:nK!(B</a></seealso> |
| </directivesynopsis> |
| |
| <directivesynopsis type="section"> |
| <name>LocationMatch</name> |
| <description>$B0O$s$@%G%#%l%/%F%#%V$r@55,I=8=$K%^%C%A$9$k(B URL $B$N$_$K(B |
| $BE,MQ(B</description> |
| <syntax><LocationMatch |
| <var>regex</var>> ... </LocationMatch></syntax> |
| <contextlist><context>server config</context><context>virtual host</context> |
| </contextlist> |
| |
| <usage> |
| <p><directive type="section">LocationMatch</directive> $B%G%#%l%/%F%#%V$O!"(B |
| <directive type="section" module="core">Location</directive> $B$HF1$8MM$K(B |
| URL $B$K$h$jCf$K=q$+$l$?%G%#%l%/%F%#%V$NE,MQHO0O$r@)8B$7$^$9!#(B |
| $BC"$7!"0z?t$OIaDL$NJ8;zNs$G$O$J$/!"@55,I=8=$H$J$j$^$9!#Nc$($P!"(B</p> |
| |
| <example> |
| <LocationMatch "/(extra|special)/data"> |
| </example> |
| |
| <p>$B$O(B URL $B$K(B <code>/extra/data</code> $B$+(B <code>/special/data</code> |
| $B$H$$$&J8;zNs$,4^$^$l$F$$$k>l9g$K%^%C%A$7$^$9!#(B</p> |
| </usage> |
| |
| <seealso>$B%j%/%(%9%H$r<u$1$?:]$K$3$l$i$N0[$J$k%;%/%7%g%s$,(B |
| $BAH$_9g$o$5$l$kJ}K!$K$D$$$F$O(B <a href="../sections.html"> |
| <Directory>, <Location>, <Files> $B%;%/%7%g%s$NF0:nK!(B</a></seealso> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>LogLevel</name> |
| <description>ErrorLog $B$N>iD9@-$r@)8f$9$k(B</description> |
| <syntax>LogLevel <var>level</var></syntax> |
| <default>LogLevel warn</default> |
| <contextlist><context>server config</context><context>virtual host</context> |
| </contextlist> |
| |
| <usage> |
| <p><directive>LogLevel</directive> $B$O!"%(%i!<%m%0(B (<directive module="core" |
| >ErrorLog</directive> $B%G%#%l%/%F%#%V$r(B |
| $B8+$F$/$@$5$$(B) $B$X5-O?$9$k%a%C%;!<%8$N>iD9@-$rD4@0$7$^$9!#(B |
| $B0J2<$N(B <var>level</var> $B$r;XDj$G$-!"=g$K=EMWEY$,2<$,$C$F$$$-$^$9!#(B</p> |
| |
| <table border="1"> |
| <tr> |
| <th><strong>$B%l%Y%k(B</strong> </th> |
| |
| <th><strong>$B@bL@(B</strong> </th> |
| |
| <th><strong>$BNc(B</strong> </th> |
| </tr> |
| |
| <tr> |
| <td><code>emerg</code> </td> |
| |
| <td>$B6[5^(B - $B%7%9%F%`$,MxMQ$G$-$J$$(B</td> |
| |
| <td>Child cannot open lock file. Exiting |
| ($B;R%W%m%;%9$,%m%C%/%U%!%$%k$r3+$1$J$$$?$a=*N;$7$?(B)</td> |
| </tr> |
| |
| <tr> |
| <td><code>alert</code> </td> |
| |
| <td>$BD>$A$KBP=h$,I,MW(B</td> |
| |
| <td>getpwuid: couldn't determine user name from uid |
| (getpwuid: UID $B$+$i%f!<%6L>$rFCDj$G$-$J$+$C$?(B)</td> |
| </tr> |
| |
| <tr> |
| <td><code>crit</code> </td> |
| |
| <td>$BCWL?E*$J>uBV(B</td> |
| |
| <td>socket: Failed to get a socket, exiting child |
| (socket: $B%=%1%C%H$,F@$i$l$J$$$?$a!";R%W%m%;%9$r=*N;$5$;$?(B)</td> |
| </tr> |
| |
| <tr> |
| <td><code>error</code> </td> |
| |
| <td>$B%(%i!<(B</td> |
| |
| <td>Premature end of script headers |
| ($B%9%/%j%W%H$N%X%C%@$,B-$j$J$$$^$^$G=*$o$C$?(B)</td> |
| </tr> |
| |
| <tr> |
| <td><code>warn</code> </td> |
| |
| <td>$B7Y9p(B</td> |
| |
| <td>child process 1234 did not exit, sending another SIGHUP |
| ($B;R%W%m%;%9(B 1234 $B$,=*N;$7$J$+$C$?!#$b$&0lEY(B SIGHUP $B$rAw$k(B)</td> |
| </tr> |
| |
| <tr> |
| <td><code>notice</code> </td> |
| |
| <td>$BIaDL$@$,!"=EMW$J>pJs(B</td> |
| |
| <td>httpd: caught SIGBUS, attempting to dump core in ... |
| (httpd: SIGBUS $B%7%0%J%k$r<u$1!"(B... $B$X%3%"%@%s%W$r$7$?(B)</td> |
| </tr> |
| |
| <tr> |
| <td><code>info</code> </td> |
| |
| <td>$BDI2C>pJs(B</td> |
| |
| <td>"Server seems busy, (you may need to increase |
| StartServers, or Min/MaxSpareServers)..." ($B!V%5!<%P$OIi2Y$,9b$$!"(B |
| (StartServers $B$d(B Min/MaxSpareServers $B$NCM$rA}$d$9I,MW$,$"$k$+$b(B)$B!W(B)</td> |
| </tr> |
| |
| <tr> |
| <td><code>debug</code> </td> |
| |
| <td>$B%G%P%C%0%a%C%;!<%8(B</td> |
| |
| <td>"Opening config file ..." ($B@_Dj%U%!%$%k$r3+$$$F$$$k(B...)</td> |
| </tr> |
| </table> |
| |
| <p>$BFCDj$N%l%Y%k$,;XDj$5$l$?>l9g!"$=$l$h$j9b$$%l%Y%k$NA4$F$N%a%C%;!<%8$,(B |
| $BJs9p$5$l$^$9!#(B |
| <em>$BNc$($P(B</em>$B!"(B<code>LogLevel info</code> $B$K;XDj$9$k$H!"(B |
| <code>notice</code> $B$H(B <code>warn</code> $B$bJs9p$5$l$^$9!#(B</p> |
| |
| <p>$B$J$*(B <code>crit</code> $B0J>e$N%l%Y%k$r;XDj$9$k$3$H$,?d>)$5$l$^$9!#(B</p> |
| |
| <p>$BNc(B:</p> |
| |
| <example> |
| LogLevel notice |
| </example> |
| |
| <note><title>$BCm(B</title> |
| <p>$B%U%!%$%k$K%m%0$r=PNO$9$k>l9g!"(B<code>notice</code> |
| $B%l%Y%k$N%a%C%;!<%8$OM^@)$5$l$:!"$9$Y$F%m%0$K=PNO$5$l$^$9!#(B |
| $B$7$+$7(B <code>syslog</code> $B$r;HMQ$7$F$$$k>l9g$O!"(B |
| $B$3$l$OEv$F$O$^$j$^$;$s!#(B</p> |
| </note> |
| </usage> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>MaxKeepAliveRequests</name> |
| <description>$B;}B3E*$J@\B3>e$G5v2D$5$l$k%j%/%(%9%H$N?t(B</description> |
| <syntax>MaxKeepAliveRequests <var>number</var></syntax> |
| <default>MaxKeepAliveRequests 100</default> |
| <contextlist><context>server config</context><context>virtual host</context> |
| </contextlist> |
| |
| <usage> |
| <p><directive>MaxKeepAliveRequests</directive> $B%G%#%l%/%F%#%V$O!"(B |
| <directive module="core">KeepAlive</directive> $B$,M-8z$J>l9g$K!"(B |
| $B0l2s$N@\B3$G<u$1IU$12DG=$J%j%/%(%9%H$N?t$r@)8B$7$^$9!#(B |
| <code>0</code> $B$K@_Dj$7$F$$$l$P!"<u$1IU$1$k%j%/%(%9%H$OL5@)8B$K$J$j$^$9!#(B |
| $B$3$N@_Dj$O!"%5!<%P@-G=$r8~>e$5$;$k$?$a$K!"Bg$-$J?tCM$r;XDj$9$k$3$H4+$a$^$9!#(B |
| </p> |
| |
| <p>$BNc(B:</p> |
| |
| <example> |
| MaxKeepAliveRequests 500 |
| </example> |
| </usage> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>NameVirtualHost</name> |
| <description>$BL>A0%Y!<%9$N%P!<%A%c%k%[%9%H$N$?$a$N(B IP $B%"%I%l%9$r;XDj(B</description> |
| <syntax>NameVirtualHost <var>addr</var>[:<var>port</var>]</syntax> |
| <contextlist><context>server config</context></contextlist> |
| |
| <usage> |
| <p><directive>NameVirtualHost</directive> $B%G%#%l%/%F%#%V$O!"(B |
| <a href="../vhosts/">$BL>A0%Y!<%9$N%P!<%A%c%k%[%9%H(B</a>$B$N@_Dj$r9T$J$$$?$$>l9g$K(B |
| $BI,MW$H$J$k$b$N$G$9!#(B</p> |
| |
| <p><var>addr</var> $B$K$O%[%9%HL>$r;XDj$G$-$^$9$,!"(B |
| $B>o$K(B IP $B%"%I%l%9$r;XDj$9$k$N$,?d>)$5$l$^$9!#(B |
| $BNc$($P!"(B</p> |
| |
| <example> |
| NameVirtualHost 111.22.33.44 |
| </example> |
| |
| <p><directive>NameVirtualHost</directive> $B%G%#%l%/%F%#%V$O!"(B |
| $BL>A0%Y!<%9$N%P!<%A%c%k%[%9%H$r(B |
| $BMxMQ$7$F%j%/%(%9%H$r<u$1IU$1$k(B IP $B%"%I%l%9$r;XDj$7$^$9!#(B |
| $B$3$l$O!"IaDL$OL>A0%Y!<%9$N%P!<%A%c%k%[%9%H%"%I%l%9$G$9!#(B |
| $B$?$@$7!"%U%!%$%"!<%&%)!<%k$dB>$N%W%m%-%7$,%j%/%(%9%H$r<u$1IU$1!"(B |
| $B0c$&(B IP $B%"%I%l%9$N%5!<%P$K%U%)%o!<%I$9$k$H$$$&>l9g$O!"(B |
| $B%j%/%(%9%H$rDs6!$7$?$$%^%7%s>e$NJ*M}%$%s%?!<%U%'!<%9$N(B |
| IP $B%"%I%l%9$r;XDj$9$kI,MW$,$"$j$^$9!#(B |
| $BJ#?t$N%"%I%l%9$GJ#?t$NL>A0%Y!<%9$N%P!<%A%c%k%[%9%H$r;XDj$9$k>l9g$O(B |
| $B3F%"%I%l%9$KBP$7$F%G%#%l%/%F%#%V$r=q$$$F$/$@$5$$!#(B</p> |
| |
| <note><title>$BCf(B</title> |
| <p>$B!V<g%5!<%P!W$d!"$I$N(B <code>_default_</code> $B%5!<%P$b!"(B |
| <directive>NameVirtualHost</directive> $B$G;XDj$7$?(B IP $B%"%I%l%9$X$N%j%/%(%9%H(B |
| $B$r=hM}$9$k$3$H$O(B<strong>$B$"$j$^$;$s(B</strong> ($B$J$<$+(B |
| <directive>NameVirtualHost</directive> $B$r(B |
| $B;XDj$7$?$1$I$=$N%"%I%l%9$K(B <directive>VirtualHost</directive> $B$rDj5A$7$J$+$C$?>l9g$r=|$/(B)$B!#(B</p> |
| </note> |
| |
| <p>$BL>A0%Y!<%9$N%P!<%A%c%k%[%9%H$K%]!<%HHV9f$r;XDj$9$k$3$H$b2DG=$G$9!#(B |
| $BNc$($P(B</p> |
| |
| <example> |
| NameVirtualHost 111.22.33.44:8080 |
| </example> |
| |
| <p>IPV6 $B$N%"%I%l%9$O<!$NNc$N$h$&$K3Q3g8L$G0O$`I,MW$,$"$j$^$9(B:</p> |
| |
| <example> |
| NameVirtualHost [fe80::a00:20ff:fea7:ccea]:8080 |
| </example> |
| |
| <p>$B$9$Y$F$N%$%s%?%U%'!<%9$X$N%j%/%(%9%H$r<u$1<h$k$h$&$K$9$k$?$a$K$O!"(B |
| $B0z?t$H$7$F(B <code>*</code> $B$r;H$$$^$9!#(B</p> |
| |
| <example> |
| NameVirtualHost * |
| </example> |
| |
| <note><title><directive type="section">VirtualHost</directive> $B%G%#%l%/%F%#%V$N0z?t(B</title> |
| <p><directive type="section">VirtualHost</directive> $B%G%#%l%/%F%#%V$N0z?t$O(B <directive |
| >NameVirtualHost</directive> $B%G%#%l%/%F%#%V$N0z?t$K@53N$K(B |
| $B9g$C$F$$$kI,MW$,$"$k$3$H$KCm0U$7$F$/$@$5$$!#(B</p> |
| |
| <example> |
| NameVirtualHost 1.2.3.4<br /> |
| <VirtualHost 1.2.3.4><br /> |
| # ...<br /> |
| </VirtualHost><br /> |
| </example> |
| </note> |
| |
| </usage> |
| |
| <seealso><a href="../vhosts/">$B%P!<%A%c%k%[%9%H@bL@=q(B |
| </a></seealso> |
| |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>Options</name> |
| <description>$B%G%#%l%/%H%j$KBP$7$F;HMQ2DG=$J5!G=$r@_Dj$9$k(B</description> |
| <syntax>Options |
| [+|-]<var>option</var> [[+|-]<var>option</var>] ...</syntax> |
| <default>Options All</default> |
| <contextlist><context>server config</context><context>virtual host</context> |
| <context>directory</context><context>.htaccess</context> |
| </contextlist> |
| <override>Options</override> |
| |
| <usage> |
| <p><directive>Options</directive> $B%G%#%l%/%F%#%V$O!"FCDj$N%G%#%l%/%H%j$KBP$7$F(B |
| $B$I$N5!G=$,;HMQ2DG=$+$r@)8f$7$^$9!#(B</p> |
| |
| <p><var>option</var> $B$r(B <code>None</code>$B$K;XDj$9$k$H!"(B |
| $BFCJL$J5!G=$OA4$FL58z$K$J$j$^$9!#(B |
| $B$^$?!"0J2<$N<($9(B 1 $B8D0J>e$N$b$N$r;XDj$G$-$^$9!#(B</p> |
| |
| <dl> |
| <dt><code>All</code></dt> |
| |
| <dd><code>MultiViews</code> $B$r=|$$$?A4$F$N5!G=$,M-8z$H$J$j$^$9!#(B |
| $B$3$l$,%G%U%)%k%H$G$9!#(B</dd> |
| |
| <dt><code>ExecCGI</code></dt> |
| |
| <dd> |
| <module>mod_cgi</module> $B$K$h$k(B CGI $B%9%/%j%W%H$N<B9T$r5v2D$7$^$9!#(B</dd> |
| |
| <dt><code>FollowSymLinks</code></dt> |
| |
| <dd> |
| $B%5!<%P$,!"$3$N%G%#%l%/%H%jFb$G%7%s%\%j%C%/%j%s%/$r$?$I$l$k$h$&$K$7$^$9!#(B |
| <note><p>$B%5!<%P$,%7%s%\%j%C%/%j%s%/$r$?$I$k>l9g$G$b!"(B |
| <directive type="section" module="core">Directory</directive> $B%;%/%7%g%s$K(B |
| $B%^%C%A$5$;$k$?$a$N(B |
| $B%Q%9L>$O(B<em>$BJQ99$5$l$^$;$s(B</em>$B!#(B</p> |
| <p><directive type="section" module="core">Location</directive> $BFb$K(B |
| $B$3$N%*%W%7%g%s$r;XDj$7$F$b(B<strong>$BL5;k$5$l$k(B</strong>$B$3$H$K(B |
| $BCm0U$7$F$/$@$5$$!#(B</p></note></dd> |
| |
| <dt><code>Includes</code></dt> |
| |
| <dd> |
| <module>mod_include</module> $B$,Ds6!$9$k(B SSI $B$rM-8z$K$7$^$9!#(B</dd> |
| |
| <dt><code>IncludesNOEXEC</code></dt> |
| |
| <dd> |
| SSI $B$OM-8z$K$J$j$^$9$,!"(B<code>#exec</code> $B%3%^%s%I(B $B$H(B <code>#exec CGI</code> $B$OL58z$K$J$j$^$9!#(B |
| $B$?$@$7!"(B<code>#include virtual</code> $B$K$h$j!"(B<directive module="mod_alias">ScriptAlias</directive> $B$5$l$?%G%#%l%/%H%j$G(B |
| CGI $B$r<B9T$9$k$3$H$O2DG=$G$9!#(B</dd> |
| |
| <dt><code>Indexes</code></dt> |
| |
| <dd> |
| $B$b$7!"(BURL $B$,%G%#%l%/%H%j$K%^%C%W$9$k%j%/%(%9%H$G$"$C$F!"(B |
| $B3n$D(B <directive module="mod_dir">DirectoryIndex</directive> $B$G;XDj$7$?%U%!%$%k(B ($BNc$($P!"(B<code>index.html</code>) $B$,(B |
| $B%G%#%l%/%H%jFb$KL5$1$l$P!"(B<module>mod_autoindex</module> $B$,(B |
| $B%G%#%l%/%H%jFb$N0lMw$r@07A$7$FJV$7$^$9!#(B</dd> |
| |
| <dt><code>MultiViews</code></dt> |
| |
| <dd> |
| <module>mod_negotiation</module> $B$K$h$k(B |
| <a href="../content-negotiation.html">$B%3%s%F%s%H%M%4%7%(!<%7%g%s(B</a> |
| $B$5$l$?(B "MultiViews" $B$r5v2D$7$^$9!#(B</dd> |
| |
| <dt><code>SymLinksIfOwnerMatch</code></dt> |
| |
| <dd> |
| $B%7%s%\%j%C%/@h$N%U%!%$%k$^$?$O%G%#%l%/%H%j$,!"(B |
| $B%7%s%\%j%C%/%j%s%/$N=jM-%f!<%6(B ID $B$HF1$8>l9g$K$N$_%7%s%\%j%C%/%j%s%/$r(B |
| $B$?$I$l$k$h$&$K$7$^$9!#(B |
| |
| <note><title>$BCm(B</title> <directive type="section" module="core" |
| >Location</directive> $BFb$K$3$N%*%W%7%g%s$r(B |
| $B;XDj$7$F$bL5;k$5$l$^$9!#(B</note> |
| </dd> |
| </dl> |
| |
| <p>$BDL>o!"%G%#%l%/%H%j$KBP$7$FJ#?t$N(B <directive>Options</directive> $B$,(B |
| $BE,MQ2DG=$J>l9g!"(B |
| $B:G$b6a$$$b$N0l$D$N$_$,E,MQ$5$l!"B>$N$b$N$OL5;k$5$l$^$9!#(B |
| $BJ#?t$N;XDj$,%^!<%8$5$l$k$o$1$G$O$"$j$^$;$s!#(B(<a |
| href="../sections.html#mergin">$B%;%/%7%g%s$N%^!<%8J}K!(B</a>$B$r;2>H$7$F$/$@$5$$!#(B) |
| $B$7$+$7!"$9$Y$F$N(B <directive>Options</directive> $B%G%#%l%/%F%#%V$,(B <code>+</code> $B$d(B <code>-</code> $BIU$-$G(B |
| $B;XDj$5$l$?>l9g$O%*%W%7%g%s$NCM$O%^!<%8$5$l$^$9!#(B |
| <code>+</code> $B$rF,$K$D$1$l$P8=:_$N@_Dj$K2C$($i$l!"(B |
| <code>-</code> $B$rIU$1$l$P8=:_$N@_Dj$+$i:o=|$5$l$^$9!#(B</p> |
| |
| <p>$BNc$($P!"(B<code>+</code> $B$d(B <code>-</code> $B$rMxMQ$7$J$$>l9g$O(B:</p> |
| |
| <example> |
| <Directory /web/docs><br /> |
| <indent> |
| Options Indexes FollowSymLinks<br /> |
| </indent> |
| </Directory><br /> |
| <br /> |
| <Directory /web/docs/spec><br /> |
| <indent> |
| Options Includes<br /> |
| </indent> |
| </Directory> |
| </example> |
| |
| <p><code>/web/docs/spec</code> $B$H$$$&%G%#%l%/%H%j$K$O!"(B |
| <code>Includes</code> $B$@$1$,E,MQ$5$l$^$9!#(B |
| $B$7$+$7!"(B2 $BHVL\$N(B <directive>Options</directive> $B$G(B <code>+</code> $B$d(B <code>-</code> $B$rMxMQ$7$F$_$k$H(B:</p> |
| |
| <example> |
| <Directory /web/docs><br /> |
| <indent> |
| Options Indexes FollowSymLinks<br /> |
| </indent> |
| </Directory><br /> |
| <br /> |
| <Directory /web/docs/spec><br /> |
| <indent> |
| Options +Includes -Indexes<br /> |
| </indent> |
| </Directory> |
| </example> |
| |
| <p><code>/web/docs/spec</code> $B$H$$$&%G%#%l%/%H%j$K$O!"(B <code>FollowSymLinks</code> $B$H(B |
| <code>Includes</code> $B$,E,MQ$5$l$^$9!#(B</p> |
| |
| <note><title>$BCm(B</title> |
| <p><code>-IncludesNOEXEC</code> $B$b$7$/$O(B |
| <code>-Includes</code> $B$r;XDj$9$k$H!"(B |
| $BA0$N@_Dj$,$I$N$h$&$K$J$C$F$$$h$&$H$b(B SSI $B$OL58z$H$J$j$^$9!#(B</p> |
| </note> |
| |
| <p>$B$I$N$h$&$J@_Dj$b$5$l$F$$$J$1$l$P!"%G%U%)%k%H$G$O(B <code>All</code> $B$K(B |
| $B$J$j$^$9!#(B</p> |
| </usage> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>Require</name> |
| <description>$B$I$NG'>Z:Q$_%f!<%6$,%j%=!<%9$r%"%/%;%9$G$-$k$+$rA*Br$9$k(B</description> |
| <syntax>Require <var>entity-name</var> [<var>entity-name</var>] ...</syntax> |
| <contextlist><context>directory</context><context>.htaccess</context> |
| </contextlist> |
| <override>AuthConfig</override> |
| |
| <usage> |
| <p>$B$3$N%G%#%l%/%F%#%V$O!"$I$NG'>Z:Q$_$N%f!<%6$,%G%#%l%/%H%j$K(B |
| $B%"%/%;%9$9$k$3$H$,$G$-$k$+$r;XDj$7$^$9!#(B |
| $B0J2<$N$h$&$J9=J8$K$J$j$^$9!#(B</p> |
| |
| <dl> |
| <dt><code>Require user <var>userid</var> [<var>userid</var>] ...</code></dt> |
| |
| <dd>$B;XDj$5$l$?%f!<%6$N$_!"%G%#%l%/%H%j$X$N%"%/%;%9$r5v2D$7$^$9!#(B</dd> |
| |
| <dt><code>Require group <var>group-name</var> [<var>group-name</var>] ...</code></dt> |
| |
| <dd>$B;XDj$5$l$?%0%k!<%W$KB0$9$k%f!<%6$N$_!"%G%#%l%/%H%j$X$N%"%/%;%9$r5v2D$7$^$9!#(B</dd> |
| |
| <dt><code>Require valid-user</code></dt> |
| |
| <dd>$BA4$F$NG'>Z$5$l$?%f!<%6$K!"%G%#%l%/%H%j$X$N%"%/%;%9$r5v2D$7$^$9!#(B</dd> |
| </dl> |
| |
| <p><directive>Require</directive> $B$O!"@5$7$/F0:n$9$k$?$a$K$O(B <directive |
| module="core">AuthName</directive> $B5Z$S(B <directive module="core" |
| >AuthType</directive> $B%G%#%l%/%F%#%V$d!"(B |
| ($B%f!<%6$H%0%k!<%W$r;XDj$9$k$?$a$K(B) <directive module="mod_authn_file" |
| >AuthUserFile</directive> $B5Z$S(B <directive module="mod_authz_groupfile" |
| >AuthGroupFile</directive> |
| $B$H$$$C$?%G%#%l%/%F%#%V$H6&$K(B |
| $B;XDj$9$kI,MW$,$"$j$^$9!#(B |
| $BNc$($P(B:</p> |
| |
| <example> |
| AuthType Basic<br /> |
| AuthName "Restricted Directory"<br /> |
| AuthUserFile /web/users<br /> |
| AuthGroupFile /web/groups<br /> |
| Require group admin |
| </example> |
| |
| <p>$B$3$N$h$&$K$7$FE,MQ$5$l$?%"%/%;%9@)8f$O!"(B<strong>$BA4$F$N(B</strong>$B%a%=%C%I$K(B |
| $BBP$7$F9T$J$o$l$^$9!#(B |
| <strong>$BDL>o$O!"$3$l$,K>$^$7$$F0:n$G$9!#(B</strong> |
| $B$b$7!"FCDj$N%a%=%C%I$KBP$7$F$N$_%"%/%;%9$N@)8f$rE,MQ$7!"(B |
| $BB>$N%a%=%C%I$O@)8B$7$J$$>l9g$K$O!"(B<directive |
| type="section" module="core">Limit</directive> $B%;%/%7%g%sFb$K(B |
| <directive>Require</directive> $B$r(B |
| $B;XDj$7$F$/$@$5$$!#(B</p> |
| |
| </usage> |
| <seealso><directive module="core">Satisfy</directive></seealso> |
| <seealso><module>mod_authz_host</module></seealso> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>RLimitCPU</name> |
| <description>Apache $B$N;R%W%m%;%9$+$i5/F0$5$l$?%W%m%;%9$N(B CPU $B>CHqNL$r(B |
| $B@)8B$9$k(B</description> |
| <syntax>RLimitCPU <var>seconds</var>|max [<var>seconds</var>|max]</syntax> |
| <default>$BL$@_Dj!#%*%Z%l!<%F%#%s%0%7%9%F%`$N%G%U%)%k%H$r;HMQ(B</default> |
| <contextlist><context>server config</context><context>virtual host</context> |
| <context>directory</context><context>.htaccess</context></contextlist> |
| <override>All</override> |
| |
| <usage> |
| <p>$B0l$D$+Fs$D$N%Q%i%a!<%?$r$H$j$^$9!#(B |
| $B:G=i$N%Q%i%a!<%?$OA4%W%m%;%9$KBP$9$k%j%=!<%9$N%=%U%H%j%_%C%H$r@_Dj$7!"(B |
| 2 $BHVL\$N%Q%i%a!<%?$O:GBg$N%j%=!<%9%j%_%C%H$r@_Dj$7$^$9!#(B |
| $B%Q%i%a!<%?$K$O?t;z$+!"%*%Z%l!<%F%#%s%0%7%9%F%`$N:GBg$H$J$k(B |
| <code>max</code> $B$N$I$A$i$+$r;XDj$9$k$3$H$,$G$-$^$9!#(B |
| $B:GBg$N%j%=!<%9%j%_%C%H$r>e$2$k$?$a$K$O!"%5!<%P$r(B |
| <code>root</code> $B$G<B9T$9$k$+5/F0$5$l$J$1$l$P$$$1$^$;$s!#(B</p> |
| |
| <p>$B$A$J$_$K!"$3$N@_Dj$O(B Apache $B$N;R%W%m%;%9<+BN$G$O$J$/!"(B |
| $B%j%/%(%9%H$r<u$1IU$1$?(B Apache $B$N;R%W%m%;%9$+$i(B fork $B$5$l$?%W%m%;%9$K(B |
| $BE,MQ$5$l$^$9!#(B |
| $B$3$l$K$O(B CGI $B$d(B SSI $B$+$i<B9T$5$l$?%3%^%s%I$,4^$^$l$^$9$,!"(BApache $B$N(B |
| $B?F%W%m%;%9$+$i(B fork $B$5$l$?%m%0$N%Q%$%W%W%m%;%9$J$I$K$OE,MQ$5$l$^$;$s!#(B</p> |
| |
| <p>CPU $B%j%=!<%9$N%j%_%C%H$O%W%m%;%9$"$?$j$NIC?t$GI=$o$5$l$^$9!#(B</p> |
| |
| </usage> |
| <seealso><directive module="core">RLimitMEM</directive></seealso> |
| <seealso><directive module="core">RLimitNPROC</directive></seealso> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>RLimitMEM</name> |
| <description>Apache $B$N;R%W%m%;%9$+$i5/F0$5$l$?%W%m%;%9$N%a%b%j>CHqNL$r(B |
| $B@)8B$9$k(B</description> |
| <syntax>RLimitMEM <var>bytes</var>|max [<var>bytes</var>|max]</syntax> |
| <default>$BL$@_Dj!#%*%Z%l!<%F%#%s%0%7%9%F%`$N%G%U%)%k%H$r;HMQ(B</default> |
| <contextlist><context>server config</context><context>virtual host</context> |
| <context>directory</context><context>.htaccess</context></contextlist> |
| <override>All</override> |
| |
| <usage> |
| <p>$B0l$D$+Fs$D$N%Q%i%a!<%?$r$r$H$j$^$9!#(B |
| $B:G=i$N%Q%i%a!<%?$OA4%W%m%;%9$KBP$9$k%j%=!<%9$N%=%U%H%j%_%C%H$r@_Dj$7!"(B |
| 2 $BHVL\$N%Q%i%a!<%?$O:GBg$N%j%=!<%9%j%_%C%H$r@_Dj$7$^$9!#(B |
| $B%Q%i%a!<%?$K$O?t;z$+!"%*%Z%l!<%F%#%s%0%7%9%F%`$N:GBg$H$J$k(B |
| <code>max</code> $B$N$I$A$i$+$r;XDj$9$k$3$H$,$G$-$^$9!#(B |
| $B:GBg$N%j%=!<%9%j%_%C%H$r>e$2$k$?$a$K$O!"%5!<%P$r(B |
| <code>root</code> $B$G<B9T$9$k$+5/F0$5$l$J$1$l$P$$$1$^$;$s!#(B</p> |
| |
| <p>$B$3$N@_Dj$O(B Apache $B$N;R%W%m%;%9<+BN$G$O$J$/!"(B |
| $B%j%/%(%9%H$r<u$1IU$1$?(B Apache $B$N;R%W%m%;%9$+$i(B fork $B$5$l$?%W%m%;%9$K(B |
| $BE,MQ$5$l$^$9!#(B |
| $B$3$l$K$O(B CGI $B$d(B SSI $B$+$i<B9T$5$l$?%3%^%s%I$,4^$^$l$^$9$,!"(BApache $B$N(B |
| $B?F%W%m%;%9$+$i(B fork $B$5$l$?%m%0$N%Q%$%W%W%m%;%9$J$I$K$OE,MQ$5$l$^$;$s!#(B</p> |
| |
| <p>$B%a%b%j%j%=!<%9$N%j%_%C%H$O%W%m%;%9$"$?$j$N%P%$%H?t$GI=$o$5$l$^$9!#(B</p> |
| </usage> |
| <seealso><directive module="core">RLimitCPU</directive></seealso> |
| <seealso><directive module="core">RLimitNPROC</directive></seealso> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>RLimitNPROC</name> |
| <description>Apache $B$N;R%W%m%;%9$+$i5/F0$5$l$?%W%m%;%9$,5/F0$9$k%W%m%;%9$N(B |
| $B?t$r@)8B$9$k(B</description> |
| <syntax>RLimitNPROC <var>number</var>|max [<var>number</var>|max]</syntax> |
| <default>$BL$@_Dj!#%*%Z%l!<%F%#%s%0%7%9%F%`$N%G%U%)%k%H$r;HMQ(B</default> |
| <contextlist><context>server config</context><context>virtual host</context> |
| <context>directory</context><context>.htaccess</context></contextlist> |
| <override>All</override> |
| |
| <usage> |
| <p>$B0l$D$+Fs$D$N%Q%i%a!<%?$r$H$j$^$9!#(B |
| $B:G=i$N%Q%i%a!<%?$OA4%W%m%;%9$KBP$9$k%j%=!<%9$N%=%U%H%j%_%C%H$r@_Dj$7!"(B |
| 2 $BHVL\$N%Q%i%a!<%?$O:GBg$N%j%=!<%9%j%_%C%H$r@_Dj$7$^$9!#(B |
| $B%Q%i%a!<%?$K$O?t;z$+!"%*%Z%l!<%F%#%s%0%7%9%F%`$N:GBg$H$J$k(B |
| <code>max</code> $B$N$I$A$i$+$r;XDj$9$k$3$H$,$G$-$^$9!#(B |
| $B:GBg$N%j%=!<%9%j%_%C%H$r>e$2$k$?$a$K$O!"%5!<%P$r(B |
| <code>root</code> $B$G<B9T$9$k$+5/F0$5$l$J$1$l$P$$$1$^$;$s!#(B</p> |
| |
| <p>$B$3$N@_Dj$O(B Apache $B$N;R%W%m%;%9<+BN$G$O$J$/!"(B |
| $B%j%/%(%9%H$r<u$1IU$1$?(B Apache $B$N;R%W%m%;%9$+$i(B fork $B$5$l$?%W%m%;%9$K(B |
| $BE,MQ$5$l$^$9!#(B |
| $B$3$l$K$O(B CGI $B$d(B SSI $B$+$i<B9T$5$l$?%3%^%s%I$,4^$^$l$^$9$,!"(BApache $B$N(B |
| $B?F%W%m%;%9$+$i(B fork $B$5$l$?%m%0$N%Q%$%W%W%m%;%9$J$I$K$OE,MQ$5$l$^$;$s!#(B</p> |
| |
| <p>$B%W%m%;%9$N@)8B$O!"%f!<%6$"$?$j$N%W%m%;%9?t$G@)8f$5$l$^$9!#(B</p> |
| |
| <note><title>$BCm(B</title> |
| <p> CGI $B%W%m%;%9$,%&%'%V%5!<%P$N%f!<%6(B ID $B0J30$G<B9T$5$l$k$N$G(B |
| <strong>$BL5$1$l$P(B</strong>$B!"(B |
| $B$3$N%G%#%l%/%F%#%V$O!"%5!<%P<+?H$,@8@.$G$-$k%W%m%;%9$N?t$r@)8B$9$k$3$H$K$J$j$^$9!#(B |
| $B$=$N$h$&$J>u67$K$J$C$F$$$k$+$I$&$+$O!"(B<code>error_log</code> $BCf$N(B |
| <strong><code>cannot fork</code></strong> $B$H$$$&%a%C%;!<%8$K$h$j(B |
| $B3NG'$9$k$3$H$,$G$-$^$9!#(B</p> |
| </note> |
| </usage> |
| <seealso><directive module="core">RLimitMEM</directive></seealso> |
| <seealso><directive module="core">RLimitCPU</directive></seealso> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>Satisfy</name> |
| <description>$B%[%9%H%l%Y%k$N%"%/%;%9@)8f$H%f!<%6G'>Z$H$NAj8_:nMQ$r;XDj(B</description> |
| <syntax>Satisfy Any|All</syntax> |
| <default>Satisfy All</default> |
| <contextlist><context>directory</context><context>.htaccess</context> |
| </contextlist> |
| <override>AuthConfig</override> |
| |
| <usage> |
| <p><directive module="mod_authz_host">Allow</directive> $B$H(B |
| <directive module="core">Require</directive> $B$NN>J}$,;H$o$l$F$$$k$H$-$N(B |
| $B%"%/%;%9%]%j%7!<$r@_Dj$7$^$9!#%Q%i%a!<%?$O(B <code>All</code> $B$+(B <code>Any</code> |
| $B$G$9!#$3$N%G%#%l%/%F%#%V$O$"$k>l=j$X$N%"%/%;%9$,%f!<%6L>(B/$B%Q%9%o!<%I(B |
| <em>$B$H(B</em>$B%/%i%$%"%s%H$N%[%9%H$N%"%I%l%9$G@)8B$5$l$F$$$k$H$-$K$N$_(B |
| $BLrN)$A$^$9!#%G%U%)%k%H$NF0:n(B (<code>All</code>) $B$O%/%i%$%"%s%H$,%"%I%l%9$K$h$k(B |
| $B%"%/%;%9@)8B$rK~$?$7!"(B<em>$B$+$D(B</em>$B@5$7$$%f!<%6L>$H%Q%9%o!<%I$rF~NO$9$k$3$H$r(B |
| $BMW5a$7$^$9!#(B<code>Any</code> $B$G$O!"%/%i%$%"%s%H$O%[%9%H$N@)8B$rK~$?$9$+!"(B |
| $B@5$7$$%f!<%6L>$H%Q%9%o!<%I$NF~NO$r$9$k$+$r$9$l$P%"%/%;%9$r5v2D$5$l$^$9!#(B |
| $B$3$l$O!"$"$k>l=j$r%Q%9%o!<%I$GJ]8n$9$k$1$l$I!"FCDj$N%"%I%l%9$+$i$N(B |
| $B%/%i%$%"%s%H$K$O%Q%9%o!<%I$NF~NO$rMW5a$;$:$K%"%/%;%9$r5v2D$9$k!"(B |
| $B$H$$$&$h$&$J$H$-$K;HMQ$G$-$^$9!#(B</p> |
| |
| <p>$BNc$($P!"F1$8%M%C%H%o!<%/>e$K$$$k?M$K$O%&%'%V%5%$%H$N$"$kItJ,$K$D$$$F(B |
| $BL5@)8B$N%"%/%;%9$r5v$7$?$$$1$l$I!"30$N%M%C%H%o!<%/$N?M$K$O(B |
| $B%Q%9%o!<%I$rDs6!$5$;$k$h$&$K$9$k$?$a$K$O!"<!$N$h$&$J@_Dj$r$9$k$3$H$,(B |
| $B$G$-$^$9(B:</p> |
| |
| <example> |
| Require valid-user<br /> |
| Allow from 192.168.1<br /> |
| Satisfy Any |
| </example> |
| |
| </usage> |
| <seealso><directive module="mod_authz_host">Allow</directive></seealso> |
| <seealso><directive module="core">Require</directive></seealso> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>ScriptInterpreterSource</name> |
| <description>CGI $B%9%/%j%W%H$N%$%s%?!<%W%j%?$N0LCV$rD4$Y$k$?$a$N<jK!(B</description> |
| <syntax>ScriptInterpreterSource Registry|Registry-Strict|Script</syntax> |
| <default>ScriptInterpreterSource Script</default> |
| <contextlist><context>server config</context><context>virtual host</context> |
| <context>directory</context><context>.htaccess</context></contextlist> |
| <override>FileInfo</override> |
| <compatibility>Win32 $B$N$_!#(B |
| $B%*%W%7%g%s(B <code>Registry-Strict</code> $B$O(B Apache 2.0 $B0J9_$G;HMQ2DG=(B</compatibility> |
| |
| <usage> |
| <p>$B$3$N%G%#%l%/%F%#%V$O!"(BApache $B$G(B CGI $B%9%/%j%W%H$r(B |
| $B<B9T$9$k>l9g$KMxMQ$9$k%$%s%?!<%W%j%?$r!"(B |
| $B$I$N$h$&$KC5$7=P$9$+$K$D$$$F@)8f$9$k$?$a$K;HMQ$7$^$9!#(B |
| $B%G%U%)%k%H$N@_Dj$O(B <code>Script</code> $B$G$9!#$3$l$O%9%/%j%W%H$N(B |
| shebang $B9T(B ($B:G=i$N9T$G(B <code>#!</code> $B$+$i;O$^$k$b$N(B) |
| $B$K;X$5$l$F$$$k%$%s%?!<%W%j%?$r;HMQ$7$^$9!#(BWin32 $B$G$O$=$N9T$O(B |
| $B0J2<$NMM$K$J$j$^$9!#(B</p> |
| |
| <example> |
| #!C:/Perl/bin/perl.exe |
| </example> |
| |
| <p>$B$b$7$/$O!"(Bperl $B$,(B <code>PATH</code> $B$K$"$k>l9g$OC1$K(B:</p> |
| |
| <example> |
| #!perl |
| </example> |
| |
| <p><code>ScriptInterpreterSource Registry</code> $B$r;XDj$9$k$H!"(B |
| $B%9%/%j%W%H%U%!%$%k$N3HD%;R(B ($BNc$($P!"(B<code>.pl</code>) $B$r(B |
| $B%-!<$H$7$F!"(BWindows $B$N%l%8%9%H%j%D%j!<(B <code>HKEY_CLASSES_ROOT</code> |
| $B$r8!:w$9$k$h$&$K$J$j$^$9!#%l%8%9%H%j$N%5%V%-!<(B |
| <code>Shell\ExecCGI\Command</code> $B$+!"$=$l$,B8:_$7$J$$>l9g$O(B |
| <code>Shell\Open\Command</code> $B$,%9%/%j%W%H%U%!%$%k$r3+$/$?$a$K(B |
| $B;H$o$l$^$9!#%l%8%9%H%j%-!<$,8+$D$+$i$J$$$H$-$O!"(BApache $B$O(B <code>Script</code> |
| $B%*%W%7%g%s$,;XDj$5$l$?$H$-$NF0:n$KLa$j$^$9!#(B</p> |
| |
| <note type="warning"><title>$B%;%-%e%j%F%#(B</title> |
| <p><code>ScriptInterpreterSource Registry</code> $B$r(B <directive |
| module="mod_alias">ScriptAlias</directive> $B$5$l$?%G%#%l%/%H%j$G;H$&$H$-$O(B |
| $BCm0U$7$F$/$@$5$$!#(BApache $B$O$=$N%G%#%l%/%H%jCf$N(B<em>$B$9$Y$F$N(B</em>$B%U%!%$%k$r(B |
| $B<B9T$7$h$&$H$7$^$9!#(B<code>Registry</code> $B$H$$$&@_Dj$ODL>o$O<B9T$5$l$J$$(B |
| $B%U%!%$%k$KBP$7$FK>$^$7$/$J$$%W%m%0%i%`$N<B9T$,H/@8$9$k2DG=@-$,$"$j$^$9!#(B |
| $BNc$($P!"$[$H$s$I$N(B Windows $B%7%9%F%`$G!"(B |
| <code>.htm</code> $B%U%!%$%k$N%G%U%)%k%H$N!V3+$/!W%3%^%s%I$O(B |
| Microsoft Internet Explorer $B$r<B9T$7$^$9$N$G!"%9%/%j%W%H$K;XDj$5$l$?(B |
| $B%G%#%l%/%H%j$K$"$k(B <code>.htm</code> $B%U%!%$%k$X$N%j%/%(%9%H$O%5!<%P$N(B |
| $B%P%C%/%0%i%&%s%I$G%V%i%&%6$r<B9T$9$k$3$H$K$J$j$^$9!#$3$l$O!"0lJ,Fb$/$i$$$G(B |
| $B%7%9%F%`$r%/%i%C%7%e$5$k$?$a$NNI$$J}K!$G$9!#(B</p> |
| </note> |
| |
| <p>Apache 2.0 $B$+$iF3F~$5$l$?%*%W%7%g%s(B <code>Registry-Strict</code> $B$O(B |
| <code>Registry</code> $B$HF1$8$3$H$r9T$J$$$^$9$,!"%5%V%-!<(B |
| <code>Shell\ExecCGI\Command</code> $B$N$_$r;H$$$^$9!#(B |
| <code>ExecCGI</code> $B%-!<$OIaDL$K;H$o$l$k%-!<$G$O$"$j$^$;$s!#(BWindows |
| $B%l%8%9%H%j$K<jF0$G@_Dj$9$kI,MW$,$"$j$^$9$N$G!"%7%9%F%`$G$N6vH/E*$J%W%m%0%i%`$N(B |
| $B<B9T$rKI$0$3$H$,$G$-$^$9!#(B</p> |
| </usage> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>ServerAdmin</name> |
| <description>$B%5!<%P$,%/%i%$%"%s%H$KAw$k%(%i!<%a%C%;!<%8$K4^$a$kEE;R%a!<%k$N(B |
| $B%"%I%l%9(B</description> |
| <syntax>ServerAdmin <var>email-address</var>|<var>URL</var></syntax> |
| <contextlist><context>server config</context><context>virtual host</context> |
| </contextlist> |
| |
| <usage> |
| <p><directive>ServerAdmin</directive> $B$O!"%/%i%$%"%s%H$KJV$9$5$^$6$^$J(B |
| $B%(%i!<%a%C%;!<%8Cf$K5-=R$9$k!"(B |
| $BLd9g$;%"%I%l%9$r@_Dj$7$^$9!#M?$($i$l$?0z?t$r(B <code>httpd</code> $B$,(B |
| URL $B$HG'<1$7$J$$>l9g$O!"(B<var>email-address</var> $B$@$H2r<a$7$F!"(B |
| $B%O%$%Q!<%j%s%/$N%?!<%2%C%H$K(B <code>mailto:</code> $B$rIU$1$^$9!#(B |
| $B<B:]$K$O!"$3$3$K$OEE;R%a!<%k%"%I%l%9$r;H$&$3$H$,?d>)$5$l$F$$$^$9!#(B |
| $BB?$/$N(B CGI $B%9%/%j%W%H$O$=$&$J$C$F$$$k$3$H$r2>Dj$7$F$$$^$9!#(B |
| URL $B$r;H$&>l9g$O!"$"$J$?$N4IM}2<$K$"$kJL%5!<%P$r;X$9$h$&$K$7$F$/$@$5$$!#(B |
| $B$=$&$G$J$$$H!"%(%i!<$,5/$3$C$?$H$-$KO"Mm$r$9$k$3$H$,$G$-$J$/$J$C$F(B |
| $B$7$^$$$^$9!#(B |
| </p> |
| |
| <p>$B$=$N:]!"$3$l$N$?$a$K@lMQ$N%"%I%l%9$r@_Dj$9$k$N$,NI$$$G$7$g$&!#(B |
| $BNc$($P!"(B</p> |
| |
| <example> |
| ServerAdmin www-admin@foo.example.com |
| </example> |
| |
| <p>$B$H$$$C$?$h$&$K$7$^$9!#%f!<%6$O$$$D$b%5!<%P$K4X$9$kOC$G$"$k$H$$$&$3$H$r(B |
| $BL@5-$7$F$/$k$o$1$G$O$"$j$^$;$s$N$G!#(B</p> |
| |
| </usage> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>ServerAlias</name> |
| <description>$B%j%/%(%9%H$rL>A0%Y!<%9$N%P!<%A%c%k%[%9%H$K%^%C%A$5$;$F$$$k$H$-$K(B |
| $B;HMQ$5$l$k%[%9%H$NJLL>(B</description> |
| <syntax>ServerAlias <var>hostname</var> [<var>hostname</var>] ...</syntax> |
| <contextlist><context>virtual host</context></contextlist> |
| |
| <usage> |
| <p><directive>ServerAlias</directive> $B%G%#%l%/%F%#%V$O!"(B<a |
| href="../vhosts/name-based.html">$B%M!<%`%Y!<%9$N%P!<%A%c%k%[%9%H(B</a>$B$K$*$$$F(B |
| $B;HMQ$9$k%[%9%H$NJLL>$r;XDj$7$^$9!#(B</p> |
| |
| <example> |
| <VirtualHost *><br /> |
| ServerName server.domain.com<br /> |
| ServerAlias server server2.domain.com server2<br /> |
| # ...<br /> |
| </VirtualHost> |
| </example> |
| </usage> |
| <seealso><a href="../vhosts/">Apache $B%P!<%A%c%k%[%9%H@bL@=q(B</a></seealso> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>ServerName</name> |
| <description>$B%5!<%P$,<+J,<+?H$r<($9$H$-$K;H$&%[%9%HL>$H%]!<%H(B</description> |
| <syntax>ServerName <var>fully-qualified-domain-name</var>[:<var>port</var>]</syntax> |
| <contextlist><context>server config</context><context>virtual host</context> |
| </contextlist> |
| <compatibility>$B$3$N%G%#%l%/%F%#%V$O%P!<%8%g%s(B 2.0 $B$G$O%P!<%8%g%s(B 1.3 $B$N(B |
| <directive>Port</directive> $B%G%#%l%/%F%#%V$N5!G=$b4^$_$^$9!#(B</compatibility> |
| |
| <usage> |
| <p><directive>ServerName</directive> $B%G%#%l%/%F%#%V$O!"(B |
| $B%5!<%P$,<+J,<+?H$r<($9%[%9%HL>$H%]!<%H$r@_Dj$7$^$9!#(B |
| $B$3$l$O!"%j%@%$%l%/%H$9$k(B URL $B$r@8@.$9$k:]$KMxMQ$5$l$^$9!#(B |
| $BNc$($P!"%&%'%V%5!<%P$rF0$+$7$F$$$k%^%7%s$O(B <code>simple.example.com</code> |
| $B$G!"(BDNS $B$N%(%$%j%"%9(B <code>www.example.com</code> $B$b$"$k$H$-$K!"(B |
| $B%&%'%V%5!<%P$,8e<T$H$7$FG'<1$5$l$FM_$7$$$H$-$O!"0J2<$N$h$&$K%G%#%l%/%F%#%V$r(B |
| $B;H$$$^$9!#(B</p> |
| |
| <example> |
| ServerName www.example.com:80 |
| </example> |
| |
| <p><directive>ServerName</directive> $B$,;XDj$5$l$F$$$J$$$H$-$O!"(B |
| $B%5!<%P$O(B IP $B%"%I%l%9$+$i5U0z$-$r9T$J$&$3$H$G%[%9%HL>$rCN$m$&$H$7$^$9!#(B |
| <directive>ServerName</directive> $B$K%]!<%H$,;XDj$5$l$F$$$J$$$H$-$O!"(B |
| $B%5!<%P$O%j%/%(%9%H$,Mh$F$$$k(B |
| $B%]!<%H$r;H$$$^$9!#:G9b$N?.Mj@-$H3N<B@-$r$b$?$i$9$?$a$K$O!"(B |
| <directive>ServerName</directive> $B$r;H$C$F%[%9%HL>$H%]!<%H$rL@<(E*$K(B |
| $B;XDj$7$F$/$@$5$$!#(B</p> |
| |
| <p><a href="../vhosts/name-based.html">$BL>A0%Y!<%9$N%P!<%A%c%k%[%9%H(B</a> |
| $B$rMxMQ$7$F$$$k>l9g!"(B<directive type="section" module="core" |
| >VirtualHost</directive> $B%;%/%7%g%sFb$N(B |
| <directive>ServerName</directive> $B$O$3$N%P!<%A%c%k%[%9%H$K%^%C%A$9$k$?$a$K(B |
| $B2?$,%j%/%(%9%H$N(B Host: $B%X%C%@$K8=$l$kI,MW$,$"$k$N$+$r;XDj$7$^$9!#(B</p> |
| |
| <p>$B<+8J;2>H(B URL ($BNc$($P(B <module>mod_dir</module> $B%b%8%e!<%k$K$h$k$b$N$J$I(B) |
| $B$,;XDj$5$l$?%]!<%H$r;H$&$+!"%/%i%$%"%s%H$N%j%/%(%9%H$N%]!<%HHV9f$r;H$&$+$r(B |
| $B7hDj$9$k@_Dj$O(B <directive module="core">UseCanonicalName</directive> |
| $B%G%#%l%/%F%#%V$r;2>H$7$F$/$@$5$$!#(B</p> |
| </usage> |
| |
| <seealso><a href="../dns-caveats.html">DNS $B$H(B Apache $B$K4X$9$kOC(B</a></seealso> |
| <seealso><a href="../vhosts/">Apache $B%P!<%A%c%k%[%9%H@bL@=q(B</a></seealso> |
| <seealso><directive module="core">UseCanonicalName</directive></seealso> |
| <seealso><directive module="core">NameVirtualHost</directive></seealso> |
| <seealso><directive module="core">ServerAlias</directive></seealso> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>ServerPath</name> |
| <description>$BHs8_49$N%V%i%&%6$,L>A0%Y!<%9$N%P!<%A%c%k%[%9%H$K%"%/%;%9$7$?$H$-$N(B |
| $B$?$a$N8_49MQ(B URL $B%Q%9L>(B</description> |
| <syntax>ServerPath <var>URL-path</var></syntax> |
| <contextlist><context>virtual host</context></contextlist> |
| |
| <usage> |
| <p><directive>ServerPath</directive> $B%G%#%l%/%F%#%V$O!"(B<a |
| href="../vhosts/">$B%M!<%`%Y!<%9$N%P!<%A%c%k%[%9%H(B</a>$B$K$*$$$FMxMQ$9$k(B |
| $B8_49MQ(B URL $B%Q%9L>$r@_Dj$7$^$9!#(B</p> |
| </usage> |
| <seealso><a href="../vhosts/">Apache $B%P!<%A%c%k%[%9%H@bL@=q(B</a></seealso> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>ServerRoot</name> |
| <description>$B%$%s%9%H!<%k$5$l$?%5!<%P$N%Y!<%9%G%#%l%/%H%j(B</description> |
| <syntax>ServerRoot <var>directory-path</var></syntax> |
| <default>ServerRoot /usr/local/apache</default> |
| <contextlist><context>server config</context></contextlist> |
| |
| <usage> |
| <p><directive>ServerRoot</directive> $B%G%#%l%/%F%#%V$O!"(B |
| $B%5!<%P$,B8:_$9$k%G%#%l%/%H%j$r@_Dj$7$^$9!#(B |
| $BDL>o!"(B<code>conf/</code> $B$d(B <code>logs/</code> $B$H$$$C$?%5%V%G%#%l%/%H%j$,(B |
| $BB8:_$7$^$9!#(B |
| $B$^$?!"B>$N@_Dj%U%!%$%k$K$*$1$kAjBP%Q%9$O!"$3$N%G%#%l%/%H%j$+$i$H$J$j$^$9!#(B</p> |
| |
| <example><title>$BNc(B</title> |
| ServerRoot /home/httpd |
| </example> |
| |
| |
| </usage> |
| <seealso><a href="../invoking.html"><code>httpd</code> $B$N(B <code>-d</code> |
| $B%*%W%7%g%s(B</a></seealso> |
| <seealso><directive>ServerRoot</directive> $B$N8"8B$rE,@Z$K@_Dj$9$kJ}K!$O(B<a |
| href="../misc/security_tips.html#serverroot">$B%;%-%e%j%F%#$N$3$D(B</a></seealso> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>ServerSignature</name> |
| <description>$B%5!<%P$,@8@.$9$k%I%-%e%a%s%H$N%U%C%?$r@_Dj(B</description> |
| <syntax>ServerSignature On|Off|EMail</syntax> |
| <default>ServerSignature Off</default> |
| <contextlist><context>server config</context><context>virtual host</context> |
| <context>directory</context><context>.htaccess</context> |
| </contextlist> |
| <override>All</override> |
| |
| <usage> |
| <p><directive>ServerSignature</directive> $B%G%#%l%/%F%#%V$O!"(B |
| $B%5!<%P$,@8@.$9$k%I%-%e%a%s%H(B |
| ($B%(%i!<%a%C%;!<%8!"(B<module>mod_proxy</module> $B$K$*$1$k(B FTP $B$N%G%#%l%/%H%j%j%9%H!"(B |
| <module>mod_info</module> $B$N=PNO!"Ey!9(B) |
| $B$N:G2<9T$KIUM?$9$k%U%C%?$N@_Dj$r9T$J$$$^$9!#(B |
| $B$=$N$h$&$J%U%C%?9T$rM-8z$K$7$?$$M}M3$K$O!"(B |
| $B%W%m%-%7$,J#?tO"$J$C$F$$$k>l9g$K!"%f!<%6$O$I$N%5!<%P$,JV$7$?(B |
| $B%(%i!<%a%C%;!<%8$+$rCN$k<jCJ$,$[$H$s$IL5$$$H$$$&$b$N$,$"$j$^$9!#(B</p> |
| |
| |
| <p>$B%G%U%)%k%H$G$"$k(B <code>Off</code> $B$K@_Dj$r$9$k$H!"%U%C%?9T$,M^@)$5$l$^$9(B |
| ($B$=$7$F!"(BApache-1.2 $B0JA0$H8_49$NF0:n$r$7$^$9(B)$B!#(B |
| <code>On</code> $B$K@_Dj$7$?>l9g$O!"C1$K%I%-%e%a%s%H$NCf$K!"%5!<%P$N%P!<%8%g%s!"(B |
| $B2TF0Cf$N%P!<%A%c%k%[%9%H$N(B <a |
| href="#servername">ServerName</a> $B$N=q$+$l$?9T$rDI2C$7!"(B |
| <code>EMail</code> $B$K$7$?>l9g$O$5$i$K;2>H$5$l$?%I%-%e%a%s%H$KBP$9$k(B <a |
| href="#serveradmin">ServerAdmin</a> $B$r;X$9(B "mailto:" $B$,DI2C$5$l$^$9!#(B</p> |
| |
| <p>$B%P!<%8%g%s(B 2.0.44 $B0J9_$G$O$3$N%G%#%l%/%F%#%V$O(B <directive |
| module="core">ServerSignature</directive> |
| $B%G%#%l%/%F%#%V$K$h$jI=<($5$l$k>pJs$b@)8f$7$^$9!#(B</p> |
| </usage> |
| <seealso><directive module="core">ServerTokens</directive></seealso> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>ServerTokens</name> |
| <description>Server HTTP $B1~Ez%X%C%@$r@_Dj$9$k(B</description> |
| <syntax>ServerTokens Major|Minor|Min[imal]|Prod[uctOnly]|OS|Full</syntax> |
| <default>ServerTokens Full</default> |
| <contextlist><context>server config</context></contextlist> |
| |
| <usage> |
| <p>$B$3$N%G%#%l%/%F%#%V$O!"%/%i%$%"%s%H$KAw$jJV$9(B <code>Server</code> |
| $B1~Ez%X%C%@Fb$K!"%5!<%P$N0lHLE*$J(B OS $B<oJL$d!"(B |
| $B%3%s%Q%$%k$5$l$FAH$_9~$^$l$F$$$k%b%8%e!<%k$N>pJs$r(B |
| $B4^$a$k$+$I$&$+$r;XDj$7$^$9!#(B</p> |
| |
| <dl> |
| <dt><code>ServerTokens Prod[uctOnly]</code></dt> |
| |
| <dd>$B%5!<%P$O(B ($BNc$($P(B): <code>Server: |
| Apache</code> $B$H$$$C$?$h$&$KAw$j$^$9!#(B</dd> |
| |
| <dt><code>ServerTokens Major</code></dt> |
| |
| <dd>Server sends (<em>e.g.</em>): <code>Server: |
| Apache/2</code></dd> |
| |
| <dt><code>ServerTokens Minor</code></dt> |
| |
| <dd>Server sends (<em>e.g.</em>): <code>Server: |
| Apache/2.0</code></dd> |
| |
| <dt><code>ServerTokens Min[imal]</code></dt> |
| |
| <dd>$B%5!<%P$O(B ($BNc$($P(B): <code>Server: |
| Apache/2.0.41</code> $B$H$$$C$?$h$&$KAw$j$^$9!#(B</dd> |
| |
| <dt><code>ServerTokens OS</code></dt> |
| |
| <dd>$B%5!<%P$O(B ($BNc$($P(B): <code>Server: Apache/2.0.41 |
| (Unix)</code> $B$H$$$C$?$h$&$KAw$j$^$9!#(B</dd> |
| |
| <dt><code>ServerTokens Full</code> ($B$b$7$/$OL$;XDj(B)</dt> |
| |
| <dd>$B%5!<%P$O(B ($BNc$($P(B): <code>Server: Apache/2.0.41 |
| (Unix) PHP/4.2.2 MyMod/1.2</code> $B$H$$$C$?$h$&$KAw$j$^$9!#(B</dd> |
| </dl> |
| |
| <p>$B$3$N@_Dj$O%5!<%PA4BN$KE,MQ$5$l!"%P!<%A%c%k%[%9%H>e$GM-8z$K$7$?$j(B |
| $BL58z$K$7$?$j$O$G$-$^$;$s!#(B</p> |
| |
| <p>$B%P!<%8%g%s(B 2.0.44 $B0J9_$G$O$3$N%G%#%l%/%F%#%V$O(B <directive |
| module="core">ServerSignature</directive> |
| $B%G%#%l%/%F%#%V$K$h$jI=<($5$l$k>pJs$b@)8f$7$^$9!#(B</p> |
| </usage> |
| <seealso><directive module="core">ServerSignature</directive></seealso> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>SetHandler</name> |
| <description>$B%^%C%A$9$k%U%!%$%k$,%O%s%I%i$G=hM}$5$l$k$h$&$K$9$k(B</description> |
| <syntax>SetHandler <var>handler-name</var>|None</syntax> |
| <contextlist><context>server config</context><context>virtual host</context> |
| <context>directory</context><context>.htaccess</context> |
| </contextlist> |
| <override>FileInfo</override> |
| <compatibility>Apache 2.0 $B$G(B core $B$K0\F0(B</compatibility> |
| |
| <usage> |
| <p><code>.htaccess</code> $B$d(B <directive type="section" module="core" |
| >Directory</directive> |
| $B%;%/%7%g%s!"(B<directive type="section" module="core">Location</directive> |
| $B%;%/%7%g%s$K=q$+$l$?>l9g!"(B |
| $B$3$N%G%#%l%/%F%#%V$O$=$3$K$"$k$9$Y$F$N%U%!%$%k$,(B |
| <var>handler-name</var> $B$G;XDj$5$l$?(B<a href="../handler.html" |
| >$B%O%s%I%i(B</a>$B$G07$o$l$k$3$H$r6/@)$7$^$9!#Nc$($P!"3HD%;R$K4X$o$i$:!"(B |
| $B%G%#%l%/%H%jA4BN$,%$%a!<%8%^%C%W%U%!%$%k$H$7$F2r@O$7$FM_$7$$>l9g$K$O!"(B |
| $B0J2<$r$=$N%G%#%l%/%H%j$N(B <code>.htaccess</code> |
| $B%U%!%$%k$K5-=R$7$^$9(B:</p> |
| |
| <example> |
| SetHandler imap-file |
| </example> |
| |
| <p>$BJL$NNc(B: URL <code>http://servername/status</code> |
| $B$,;XDj$5$l$?$H$-$K%5!<%P$,>uBVJs9p$r$9$k$h$&$K$7$?$$$H$-$O!"0J2<$r(B |
| <code>httpd.conf</code> $B$K5-=R$7$^$9(B:</p> |
| |
| <example> |
| <Location /status><br /> |
| <indent> |
| SetHandler server-status<br /> |
| </indent> |
| </Location> |
| </example> |
| |
| <p><code>None</code> $B$H$$$&CM$r@_Dj$9$k$3$H$G!"(B |
| $BA0$NJ}$N(B <directive>SetHandler</directive> $B$GDj5A$5$l$?@_Dj$rL58z$K$9$k$3$H$,(B |
| $B$G$-$^$9!#(B</p> |
| |
| </usage> |
| |
| <seealso><directive module="mod_mime">AddHandler</directive></seealso> |
| |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>SetInputFilter</name> |
| <description>$B%/%i%$%"%s%H$N%j%/%(%9%H$d(B POST $B$NF~NO$r=hM}$9$k%U%#%k%?$r@_Dj$9$k(B</description> |
| <syntax>SetInputFilter <var>filter</var>[;<var>filter</var>...]</syntax> |
| <contextlist><context>server config</context><context>virtual host</context> |
| <context>directory</context><context>.htaccess</context> |
| </contextlist> |
| <override>FileInfo</override> |
| |
| <usage> |
| <p><directive>SetInputFilter</directive> $B%G%#%l%/%F%#%V$O%/%i%$%"%s%H$N(B |
| $B%j%/%(%9%H$d(B POST $B$NF~NO$r%5!<%P$,<u$1<h$C$?$H$-$K=hM}$9$k%U%#%k%?$r(B |
| $B@_Dj$7$^$9!#$3$l$O(B <directive module="mod_mime">AddInputFilter</directive> |
| $B%G%#%l%/%F%#%V$r4^$a!"B>$N>l=j$GDj5A$5$l$F$$$k%U%#%k%?$N@_Dj$K(B |
| $BDI2C$5$l$^$9!#(B</p> |
| |
| <p>$BJ#?t$N%U%#%k%?$r;XDj$9$k$H$-$O!"%G!<%?$r=hM}$9$k=gHV$K(B |
| $B%;%_%3%m%s$G6h@Z$kI,MW$,$"$j$^$9!#(B</p> |
| |
| </usage> |
| <seealso><a href="../filter.html">$B%U%#%k%?(B</a>$B@bL@=q(B</seealso> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>SetOutputFilter</name> |
| <description>$B%5!<%P$N1~Ez$r=hM}$9$k%U%#%k%?$r@_Dj$9$k(B</description> |
| <syntax>SetOutputFilter <var>filter</var>[;<var>filter</var>...]</syntax> |
| <contextlist><context>server config</context><context>virtual host</context> |
| <context>directory</context><context>.htaccess</context> |
| </contextlist> |
| <override>FileInfo</override> |
| |
| <usage> |
| <p><directive>SetOutputFilter</directive> $B%G%#%l%/%F%#%V$O(B |
| $B%5!<%P$N1~Ez$r%/%i%$%"%s%H$KAw$jJV$5$l$kA0$K=hM}$9$k%U%#%k%?$r@_Dj$7$^$9!#(B |
| $B$3$l$O(B <directive module="mod_mime">AddOutputFilter</directive> |
| $B%G%#%l%/%F%#%V$r4^$a!"B>$N>l=j$GDj5A$5$l$F$$$k%U%#%k%?$N@_Dj$K(B |
| $BDI2C$5$l$^$9!#(B</p> |
| |
| <p>$BNc$($P!"0J2<$N@_Dj$O(B <code>/www/data/</code> $B%G%#%l%/%H%j$N$9$Y$F$N(B |
| $B%U%!%$%k$r(B SSI $B$G=hM}$7$^$9!#(B</p> |
| |
| <example> |
| <Directory /www/data/><br /> |
| <indent> |
| SetOutputFilter INCLUDES<br /> |
| </indent> |
| </Directory> |
| </example> |
| |
| <p>$BJ#?t$N%U%#%k%?$r;XDj$9$k$H$-$O!"%G!<%?$r=hM}$9$k=gHV$K(B |
| $B%;%_%3%m%s$G6h@Z$kI,MW$,$"$j$^$9!#(B</p> |
| </usage> |
| <seealso><a href="../filter.html">$B%U%#%k%?(B</a>$B@bL@=q(B</seealso> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>TimeOut</name> |
| <description>$B3F%$%Y%s%H$K$D$$$F!"%j%/%(%9%H$r<:GT$5$;$k$^$G$K%5!<%P$,(B |
| $BBT$D;~4V$r@_Dj(B</description> |
| <syntax>TimeOut <var>seconds</var></syntax> |
| <default>TimeOut 300</default> |
| <contextlist><context>server config</context></contextlist> |
| |
| <usage> |
| <p><directive>TimeOut</directive> $B%G%#%l%/%F%#%V$O!"8=:_$N$H$3$m(B |
| $B0J2<$N;0$D$NBT$A;~4V$K$D$$$F$NDj5A$r9T$$$^$9(B:</p> |
| |
| <ol> |
| <li>GET $B%j%/%(%9%H$r<u$1<h$k$N$K$+$+$kAm;~4V(B</li> |
| |
| <li>POST $B$d(B PUT$B%j%/%(%9%H$K$*$$$F!"<!$N(B TCP $B%Q%1%C%H$,FO$/$^$G$NBT$A;~4V(B</li> |
| |
| <li>$B%l%9%]%s%9$rJV$9:]!"(BTCP $B$N(B ACK $B$,5"$C$F$/$k$^$G$N;~4V(B</li> |
| </ol> |
| |
| <p>$B>-Mh$K$OJL!9$N@_Dj$r$9$k$3$H$,2DG=$K$G$-$k$h$&9MN8Cf$G$9!#(B |
| Apache 1.2 $B0JA0$O%?%$%^!<$O(B 1200 $B$,%G%U%)%k%H$G$7$?$,!"(B |
| 300 $B$K2<$2$i$l$^$7$?!#(B300 $B$G$b$[$H$s$I$N>l9g$O==J,$9$.$kCM$G$9!#(B |
| $B%3!<%ICf$NJQ$J>l=j$K$^$@%Q%1%C%H$rAw$k:]$K%?%$%^$r%j%;%C%H$7$J$$(B |
| $B>l=j$,$"$k$+$b$7$l$J$$$N$G!"%G%U%)%k%H$r$h$j>.$5$$CM$K$O$7$F$$$^$;$s!#(B</p> |
| |
| </usage> |
| </directivesynopsis> |
| |
| <directivesynopsis> |
| <name>UseCanonicalName</name> |
| <description>$B%5!<%P$,<+J,<+?H$NL>A0$H%]!<%H$r7hDj$9$kJ}K!$r@_Dj$9$k(B</description> |
| <syntax>UseCanonicalName On|Off|Dns</syntax> |
| <default>UseCanonicalName On</default> |
| <contextlist><context>server config</context><context>virtual host</context> |
| <context>directory</context></contextlist> |
| |
| <usage> |
| <p>$BB?$/$N>u67$G(B Apache $B$O(B<em>$B<+8J;2>H(B</em> URL$B!"$9$J$o$A(B |
| $BF1$8%5!<%P$r;X$9(B URL$B!"$r:n@.$9$kI,MW$,$"$j$^$9!#(B |
| <code>UseCanonicalName On</code> $B$r;H$&$H(B (1.3 $B$h$jA0$N(B |
| $B$9$Y$F$N%P!<%8%g%s$G$b(B) Apache $B$O(B <a |
| href="#servername">ServerName</a> $B%G%#%l%/%F%#%V$H(B <a href="#port">Port</a> |
| $B%G%#%l%/%F%#%V$r;H$C$F%5!<%P$N@5<0$JL>A0$r:n@.$7$^$9!#(B |
| $B$3$NL>A0$,$9$Y$F$N<+8J;2>H(B URL $B$G;H$o$l!"(BCGI $B$N(B <code>SERVER_NAME</code> |
| $B$H(B <code>SERVER_PORT</code> $B$K$b;H$o$l$^$9!#(B</p> |
| |
| <p><code>UseCanonicalName Off</code> $B$G$O(B Apache $B$O(B |
| $B%/%i%$%"%s%H$,%[%9%HL>$H%]!<%H$rDs6!$7$?>l9g$K$O<+8J;2>H(B URL $B$r(B |
| $B$=$l$i$r85$K:n@.$7$^$9(B ($BDs6!$5$l$F$$$J$$>l9g$O>e$GDj5A$5$l$F$$$k$h$&$K(B |
| $B@5<0$JL>A0$r;H$$$^$9(B)$B!#(B |
| $B$3$l$i$NCM$O(B<a href="../vhosts/name-based.html">$BL>A0%Y!<%9$N(B |
| $B%P!<%A%c%k%[%9%H(B</a>$B$r<BAu$9$k$N$K;H$o$l$F$$$k$N$HF1$8CM$G!"(B |
| $BF1$8%/%i%$%"%s%H$+$i<hF@$G$-$kCM$G$9!#(BCGI $BJQ?t(B <code>SERVER_NAME</code> |
| $B$H(B <code>SERVER_PORT</code> $B$b%/%i%$%"%s%H$+$iM?$($i$l$?CM$+$i(B |
| $B:n@.$5$l$^$9!#(B</p> |
| |
| <p>$B$3$l$,M-MQ$J>l9g$NNc$O!"%$%s%H%i%M%C%H$N%5!<%P$G!"(B<code>www</code> $B$N(B |
| $B$h$&$JC;$$L>A0$G%f!<%6$,%^%7%s$K@\B3$7$F$$$k$H$-$G$9!#(B |
| $B%f!<%6$,C;$$L>A0$rF~NO$7$F!"(BURL $B$,(B<em>$B:G8e$N%9%i%C%7%eL5$7$N(B</em>$B%G%#%l%/%H%j(B |
| $B$X$N$b$N$G$"$k$H$-$K!"(BApache $B$O%j%/%(%9%H$r(B |
| <code>http://www.domain.com/splat/</code> $B$X%j%@%$%l%/%H$9$k$3$H$K(B |
| $B5$IU$/$G$7$g$&!#G'>Z$r$9$k$h$&$K@_Dj$7$F$$$k$H!"$3$N>l9g(B |
| $B%f!<%6$O(B 2 $B2sG'>Z$r$7$J$1$l$P$J$i$J$/$J$j$^$9(B (<code>www</code> $B$K(B |
| $BBP$7$F(B 1 $B2s!"(B<code>www.domain.com</code> $B$KBP$7$F$b$&0l2s(B -- |
| $B$h$j>\$7$$>pJs$O(B <a |
| href="http://httpd.apache.org/docs/misc/FAQ.html#prompted-twice">$B$3$NOCBj$N(B |
| FAQ</a> $B$r;2>H$7$F$/$@$5$$(B)$B!#(B |
| $B$7$+$7!"(B<directive>UseCanonicalName</directive> $B$,(B <code>Off</code> $B$K$J$C$F$$$k$H!"(B |
| Apache $B$O(B <code>htttp://www/splat/</code> $B$K%j%@%$%l%/%H$7$^$9!#(B</p> |
| |
| <p>$B;0$DL\$N%*%W%7%g%s(B <code>UseCanonicalName DNS</code> $B$O!"(B |
| <code>Host:</code> $B%X%C%@$rDs6!$7$J$$8E$$%/%i%$%"%s%H$r%5%]!<%H$7$?(B |
| $BBg5,LO$J(B IP $B%Y!<%9$N%P!<%A%c%k%[%9%F%#%s%0$G;HMQ$5$l$k$3$H$r(B |
| $B0U?^$7$F$$$^$9!#$3$N%*%W%7%g%s$G$O!"(BApache $B$O%/%i%$%"%s%H$,(B |
| $B@\B3$7$?(B IP $B%"%I%l%9$K(B DNS $B$N5U0z$-$r9T$J$C$F<+8J;2>H(B URL $B$r(B |
| $B:n@.$7$^$9!#(B</p> |
| |
| <note type="warning"><title>$B7Y9p(B</title> |
| <p>CGI $B$,(B <code>SERVER_NAME</code> $B$K(B |
| $B4X$9$k2>Dj$r9T$J$C$F$$$k$H$-$O!"$3$N%*%W%7%g%s$N@_Dj$GF0:n$7$J$/(B |
| $B$J$k$+$b$7$l$^$;$s!#%/%i%$%"%s%H$O<B<AE*$K$O%[%9%HL>$K$H$7$F(B |
| $B2?$G$bK>$_$NCM$r;XDj$9$k$3$H$,$G$-$^$9!#(BCGI $B$,(B |
| <code>SERVER_NAME</code> $B$N$_$r;H$C$F<+8J;2>H(B URL $B$r:n@.$7$F$$$k(B |
| $B>l9g$O$I$N@_Dj$r9T$J$C$F$bBg>fIW$J$O$:$G$9!#(B</p></note> |
| </usage> |
| <seealso><directive module="core">ServerName</directive></seealso> |
| <seealso><directive module="mpm_common">Listen</directive></seealso> |
| </directivesynopsis> |
| |
| <directivesynopsis type="section"> |
| <name>VirtualHost</name> |
| <description>$BFCDj$N%[%9%HL>$d(B IP $B%"%I%l%9$N$_$KE,MQ$5$l$k%G%#%l%/%F%#%V$r(B |
| $B0O$`(B</description> |
| <syntax><VirtualHost |
| <var>addr</var>[:<var>port</var>] [<var>addr</var>[:<var>port</var>]] |
| ...> ... </VirtualHost></syntax> |
| <contextlist><context>server config</context></contextlist> |
| |
| <usage> |
| <p><directive type="section">VirtualHost</directive> $B5Z$S(B |
| <code></VirtualHost></code> $B$O!"(B |
| $BFCDj$N%P!<%A%c%k%[%9%H$KBP$7$F$N$_E,MQ$5$l$k%G%#%l%/%F%#%V72$r3g$k(B |
| $B$?$a$K;H$o$l$^$9!#(B |
| $B%P!<%A%c%k%[%9%H%3%s%F%-%9%H$G5v2D$5$l$kA4$F$N%G%#%l%/%F%#%V$r;XDj2DG=$G$9!#(B |
| $B%5!<%P$,!";XDj$5$l$?%P!<%A%c%k%[%9%H$K$"$k%I%-%e%a%s%H$X$N(B |
| $B%j%/%(%9%H$r<u$1IU$1$?>l9g!"(B |
| <directive type="section">VirtualHost</directive> $B%;%/%7%g%s$NCf$K$"$k(B |
| $B%G%#%l%/%F%#%V$,E,MQ$5$l$^$9!#(B |
| <var>Addr</var>$B$O!"<!$N$b$N$,MxMQ$G$-$^$9(B:</p> |
| |
| <ul> |
| <li>$B%P!<%A%c%k%[%9%H$N(B IP $B%"%I%l%9(B</li> |
| |
| <li>$B%P!<%A%c%k%[%9%H$N(B IP $B$KBP1~$9$k40A4$J%I%a%$%sL>(B</li> |
| |
| <li><code>NameVirtualHost *</code> $B$H6&$K;H$o$l$k!"(B |
| $B$9$Y$F$N(B IP $B%"%I%l%9$K%^%C%A$9$kJ8;z(B <code>*</code></li> |
| |
| <li>IP $B%Y!<%9$N%P!<%A%c%k%[%9%H$GB>$N$b$N$K%^%C%A$7$J$$(B IP $B%"%I%l%9(B |
| $B$N$?$a$NJ8;zNs(B <code>_default_</code></li> |
| </ul> |
| |
| <example><title>$BNc(B</title> |
| <VirtualHost 10.1.2.3><br /> |
| <indent> |
| ServerAdmin webmaster@host.foo.com<br /> |
| DocumentRoot /www/docs/host.foo.com<br /> |
| ServerName host.foo.com<br /> |
| ErrorLog logs/host.foo.com-error_log<br /> |
| TransferLog logs/host.foo.com-access_log<br /> |
| </indent> |
| </VirtualHost> |
| </example> |
| |
| <p>IPv6 $B%"%I%l%9$O%*%W%7%g%s$N%]!<%HHV9f$N;XDj$H6hJL$9$k$?$a$K!"(B |
| $B3Q3g8L$G3g$C$F;XDj$9$kI,MW$,$"$j$^$9!#<!$O(B IPv6 $B$NNc$G$9(B:</p> |
| |
| <example> |
| <VirtualHost [fe80::a00:20ff:fea7:ccea]><br /> |
| <indent> |
| ServerAdmin webmaster@host.example.com<br /> |
| DocumentRoot /www/docs/host.example.com<br /> |
| ServerName host.example.com<br /> |
| ErrorLog logs/host.example.com-error_log<br /> |
| TransferLog logs/host.example.com-access_log<br /> |
| </indent> |
| </VirtualHost> |
| </example> |
| |
| <p>$B3F!9$N%P!<%A%c%k%[%9%H$K$O$=$l$>$l0c$&(B IP $B%"%I%l%9!"%]!<%HHV9f(B |
| $B$b$7$/$O%[%9%HL>$KBP1~$9$kI,MW$,$"$j!"(B |
| 1 $BHVL\$N>l9g$K$OJ#?t$N%"%I%l%9$G(B IP $B%Q%1%C%H$r<u?.$G$-$k$h$&$K(B |
| $B%5!<%P%^%7%s$r@_Dj$7$J$1$l$P$J$j$^$;$s!#(B |
| ($B$b$7!"%^%7%s$,J#?t$N%M%C%H%o!<%/%$%s%?!<%U%'!<%9$H;}$?$J$$>l9g$O!"(B |
| (OS$B$,%5%]!<%H$7$F$$$l$P(B) <code>ifconfig alias</code> $B%3%^%s%I$K$h$j(B |
| $BC#@.$G$-$^$9(B)$B!#(B</p> |
| |
| <p><code>:port</code> $B$H$$$C$?7A<0$G5-=R$9$k$3$H$K$h$j!"(B |
| $B%^%C%A$5$;$k%]!<%H$rJQ992DG=$G$9!#(B |
| $B$3$N;XDj$r$7$J$$>l9g$K$O!"<g%5!<%P@_Dj$K$*$1$k(B |
| $B0lHV:G8e$K(B <code><a href="#port">Port</a></code> $B$G;XDj$5$l$?%]!<%H$,(B |
| $B%G%U%)%k%H$H$J$j$^$9!#(B |
| <code>:*</code> $B$r;XDj$9$k$3$H$K$h$j!"(B |
| $B%"%I%l%9>e$NA4$F$N%]!<%H$K%^%C%A$7$^$9!#(B(<code>_default_</code> $B$N$H$-$O(B |
| $B$3$l$r;H$&$3$H$,?d>)$5$l$F$$$^$9!#(B)</p> |
| |
| <p><strong>$B%;%-%e%j%F%#$K4X$7$F(B</strong>: |
| $B%5!<%P!<$r5/F0$7$?0J30$N%f!<%6$,%m%0%U%!%$%k$,J]4I$5$l$k%G%#%l%/%H%j$K(B |
| $B=q$-9~$_2DG=$J$H$-$K$J$<%;%-%e%j%F%#$,GK$i$l$k2DG=@-$,$"$k$+$N>\:Y$O(B |
| <a href="../misc/security_tips.html">$B%;%-%e%j%F%#$K4X$9$k%3%D(B</a> $B$r(B |
| $B;2>H$7$F$/$@$5$$!#(B</p> |
| |
| <note><title>$BCm0UE@(B</title> |
| <p><directive type="section">VirtualHost</directive> $B$O(B Apache $B$,(B Listen $B$9$k(B |
| IP $B%"%I%l%9$K$O1F6A$rM?$((B<strong>$B$^$;$s(B</strong>$B!#(B |
| <directive module="mpm_common">Listen</directive> $B$r(B |
| $B;H$C$F(B Apache $B$,@5$7$$%"%I%l%9$r(B listen $B$9$k$h$&$K@_Dj$9$kI,MW$,$"$j$^$9!#(B</p> |
| </note> |
| |
| <p>IP $B%Y!<%9$N%P!<%A%c%k%[%9%H$r;H$C$F$$$k>l9g$O!"FCJL$JL>A0(B |
| <code>_default_</code> $B$r;XDj$9$k$3$H$,$G$-$^$9!#$=$N>l9g$O(B |
| $B$=$N%P!<%A%c%k%[%9%H$OB>$N%P!<%A%c%k%[%9%H$GL@<(E*$K5s$2$i$l$F$$$J$$(B |
| $B$9$Y$F$N(B IP $B%"%I%l%9$K%^%C%A$7$^$9!#(B<code>_default_</code> $B%P!<%A%c%k%[%9%H$,L5$$(B |
| $B>l9g$K(B IP $B$,%P!<%A%c%k%[%9%H$G;XDj$5$l$?$b$N$K%^%C%A$7$J$$$H$-$O!"(B |
| VirtualHost $B%;%/%7%g%s$N30$N$9$Y$F$NDj5A$+$i$J$k!V<g!W%5!<%P@_Dj$,(B |
| $B;H$o$l$^$9!#(B($B$?$@$7!"(B<directive |
| module="core">NameVirtualHost</directive> $B%G%#%l%/%F%#%V$K%^%C%A$9$k(B |
| $B$9$Y$F$N(B IP $B%"%I%l%9$O!V<g!W%5!<%P@_Dj$b(B <code>_default_</code> $B%P!<%A%c%k%[%9%H$b(B |
| $B;H$o$J$$$3$H$KCm0U$7$F$/$@$5$$!#>\$7$/$O(B <a |
| href="../vhosts/name-based.html">$B%M!<%`%Y!<%9$N%P!<%A%c%k%[%9%H(B</a> $B$r(B |
| $B;2>H$7$F$/$@$5$$!#(B)</p> |
| |
| <p><code>:port</code> $B$H$$$C$?7A<0$G5-=R$9$k$3$H$K$h$j!"(B |
| $B%^%C%A$5$;$k%]!<%H$rJQ992DG=$G$9!#(B |
| $B$3$N;XDj$r$7$J$$>l9g$K$O!"<g%5!<%P@_Dj$K$*$1$k(B |
| $B0lHV:G8e$K(B <directive module="mpm_common">Listen</directive> $B$G;XDj$5$l$?(B |
| $B%]!<%H$,%G%U%)%k%H$H$J$j$^$9!#(B |
| <code>:*</code> $B$r;XDj$9$k$3$H$K$h$j!"(B |
| $B%"%I%l%9>e$NA4$F$N%]!<%H$K%^%C%A$7$^$9!#(B(<code>_default_</code> $B$N$H$-$O(B |
| $B$3$l$r;H$&$3$H$,?d>)$5$l$F$$$^$9!#(B)</p> |
| |
| <p><code>:port</code> $B$H$$$C$?7A<0$G5-=R$9$k$3$H$K$h$j!"(B |
| $B%^%C%A$5$;$k%]!<%H$rJQ992DG=$G$9!#(B |
| $B$3$N;XDj$r$7$J$$>l9g$K$O!"<g%5!<%P@_Dj$K$*$1$k(B |
| $B0lHV:G8e$K(B <code><a href="#port">Port</a></code> $B$G;XDj$5$l$?%]!<%H$,(B |
| $B%G%U%)%k%H$H$J$j$^$9!#(B |
| <code>:*</code> $B$r;XDj$9$k$3$H$K$h$j!"(B |
| $B%"%I%l%9>e$NA4$F$N%]!<%H$K%^%C%A$7$^$9!#(B(<code>_default_</code> $B$N$H$-$O(B |
| $B$3$l$r;H$&$3$H$,?d>)$5$l$F$$$^$9!#(B)</p> |
| |
| <note type="warning"><title>$B%;%-%e%j%F%#(B</title> |
| <p>$B%5!<%P!<$r5/F0$7$?0J30$N%f!<%6$,%m%0%U%!%$%k$,J]4I$5$l$k%G%#%l%/%H%j$K(B |
| $B=q$-9~$_2DG=$J$H$-$K$J$<%;%-%e%j%F%#$,GK$i$l$k2DG=@-$,$"$k$+$N>\:Y$O(B |
| <a href="../misc/security_tips.html">$B%;%-%e%j%F%#$K4X$9$k%3%D(B</a> $B$r(B |
| $B;2>H$7$F$/$@$5$$!#(B</p></note> |
| </usage> |
| <seealso><a href="../vhosts/">Apache $B%P!<%A%c%k%[%9%H@bL@=q(B</a></seealso> |
| <seealso><a href="../dns-caveats.html">DNS $B$H(B Apache $B$K4X$9$kOC(B</a></seealso> |
| <seealso><a href="../bind.html">Apache $B$,;HMQ$9$k%"%I%l%9$H%]!<%H$N@_Dj(B</a></seealso> |
| <seealso>$B%j%/%(%9%H$r<u$1$?:]$K$3$l$i$N0[$J$k%;%/%7%g%s$,(B |
| $BAH$_9g$o$5$l$kJ}K!$K$D$$$F$O(B <a href="../sections.html"> |
| <Directory>, <Location>, <Files> $B%;%/%7%g%s$NF0:nK!(B</a></seealso> |
| </directivesynopsis> |
| |
| </modulesynopsis> |