| <?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: 151408:450473 (outdated) --> |
| |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <modulesynopsis metafile="mod_info.xml.meta"> |
| |
| <name>mod_info</name> |
| <description>$B%5!<%P$N@_Dj$NJq3gE*$J354Q$rDs6!$9$k(B</description> |
| <status>Extension</status> |
| <sourcefile>mod_info.c</sourcefile> |
| <identifier>info_module</identifier> |
| |
| <summary> |
| <p><module>mod_info</module> $B$r@_Dj$9$k$K$O!"0J2<$r(B <code>httpd.conf</code> |
| $B%U%!%$%k$K2C$($^$9!#(B</p> |
| |
| <example> |
| <Location /server-info><br /> |
| <indent> |
| SetHandler server-info<br /> |
| </indent> |
| </Location> |
| </example> |
| |
| <p><directive type="section" module="core">Location</directive> |
| $B$NCf$G(B <module>mod_access</module> $B$r;H$C$F!"%5!<%P@_Dj>pJs$X$N(B |
| $B%"%/%;%9$r@)8B$7$?$$$H;W$&$+$b$7$l$^$;$s(B :</p> |
| |
| <example> |
| <Location /server-info><br /> |
| <indent> |
| SetHandler server-info<br /> |
| Order deny,allow<br /> |
| Deny from all<br /> |
| Allow from yourcompany.com<br /> |
| </indent> |
| </Location> |
| </example> |
| |
| <p>$B0lC6@_Dj$9$k$H!"(B<code>http://your.host.example.com/server-info</code> |
| $B$K%"%/%;%9$9$k$3$H$G%5!<%P$N>pJs$rF@$i$l$k$h$&$K$J$j$^$9!#(B</p> |
| </summary> |
| |
| <section id="security"><title>Security Issues</title> |
| <p>$B0lC6(B <module>mod_info</module> $B$,%5!<%P$KFI$_9~$^$l$k$H!"(B |
| $BDs6!$7$F$$$k%O%s%I%i5!G=$O%G%#%l%/%H%jKh$N@_Dj%U%!%$%k(B (<em>$BNc$($P(B</em> |
| .htaccess) $B$r4^$`(B <em>$B$9$Y$F(B</em>$B$N@_Dj%U%!%$%k$GM-8z$K$J$j$^$9!#(B |
| $B$3$N%b%8%e!<%k$rM-8z$K$9$k$H$-$O%;%-%e%j%F%#$NLdBj$r9MN8$9$kI,MW$,(B |
| $B$"$k$G$7$g$&!#(B</p> |
| |
| <p>$BFC$K!"$3$N%b%8%e!<%k$O%7%9%F%`%Q%9!"%f!<%6L>(B/$B%Q%9%o!<%I!"(B |
| $B%G!<%?%Y!<%9L>$J$I!"B>$N(B Apache $B%b%8%e!<%k$N@_Dj%G%#%l%/%F%#%V$+$i(B |
| $B%;%-%e%j%F%#>eHyL/$J>pJs$rO3$i$92DG=@-$,$"$j$^$9!#(B |
| $B$G$9$+$i!"$3$N%b%8%e!<%k$O$-$A$s$H%"%/%;%9@)8f$5$l$?4D6-$G(B<strong>$B$N$_(B</strong>$B!"(B |
| $BCm0U$7$F;H$C$F$/$@$5$$!#(B</p> |
| |
| <p>$B@_Dj>pJs$X$N%"%/%;%9$r@)8B$9$k$?$a$K!"(B<module>mod_authz_host</module> $B$r(B |
| $B;H$&$N$,NI$$$G$7$g$&!#(B</p> |
| |
| <example><title>$B%"%/%;%9@)8f(B</title> |
| <Location /server-info><br /> |
| <indent> |
| SetHandler server-info<br /> |
| Order allow,deny<br /> |
| # Allow access from server itself<br /> |
| Allow from 127.0.0.1<br /> |
| # Additionally, allow access from local workstation<br /> |
| Allow from 192.168.1.17<br /> |
| </indent> |
| </Location> |
| </example> |
| </section> |
| |
| <section id="queries"><title>$BI=<($5$l$k>pJs$NA*Br(B</title> |
| <p>$B%G%U%)%k%H$G$O!"%5!<%P>pJs$O$9$Y$F$NM-8z$J%b%8%e!<%k$H!"(B |
| $B3F%b%8%e!<%k$K$D$$$F!"%b%8%e!<%k$,M}2r$9$k%G%#%l%/%F%#%V!"(B |
| $B<BAu$7$F$$$k!"%U%C%/!"8=;~E@$G$N@_Dj$N4XO"$9$k%G%#%l%/%F%#%V$K(B |
| $B$J$C$F$$$^$9!#(B</p> |
| |
| <p><code>server-info</code> $B%j%/%(%9%H$X%/%(%j!<$rDI2C$9$k$3$H$G!"(B |
| $B@_Dj>pJs$NB>$NI=<(7A<0$rA*$V$3$H$,$G$-$^$9!#Nc$($P!"(B |
| <code>http://your.host.example.com/server-info?config</code> $B$O(B |
| $B$9$Y$F$N@_Dj%G%#%l%/%F%#%V$rI=<($7$^$9!#(B</p> |
| |
| <dl> |
| <dt><code>?<module-name></code></dt> |
| <dd>$B;XDj$5$l$?%b%8%e!<%k$K4XO"$9$k>pJs$N$_(B</dd> |
| <dt><code>?config</code></dt> |
| <dd>$B%b%8%e!<%k$G%=!<%H$;$:$K!"@_Dj%G%#%l%/%F%#%V$N$_(B</dd> |
| <dt><code>?hooks</code></dt> |
| <dd>$B3F%b%8%e!<%k$,;HMQ$9$k%U%C%/$N$_(B</dd> |
| <dt><code>?list</code></dt> |
| <dd>$BM-8z$J%b%8%e!<%k$N4JC1$J%j%9%H$N$_(B</dd> |
| <dt><code>?server</code></dt> |
| <dd>$B4pK\%5!<%P>pJs$N$_(B</dd> |
| </dl> |
| </section> |
| |
| <section id="limitations"><title>$B4{CN$N@)8B(B</title> |
| <p><module>mod_info</module> $B$O!"85$N@_Dj%U%!%$%k$rFI$`$N$G$O$J$/!"(B |
| $B4{$K%Q!<%9$5$l$?@_Dj$rFI$_9~$`$3$H$G>pJs$rDs6!$7$^$9!#=>$C$F!"(B |
| $B%Q!<%9:Q$_$N@_Dj>pJs$NLZ$,@8@.$5$l$kJ}K!$K$h$k@)8B$,$$$/$D$+$"$j$^$9(B:</p> |
| <ul> |
| <li>$B%Q!<%9$5$l$?@_Dj$KJ]B8$5$l$:$K!"$9$0$K<B9T$5$l$k%G%#%l%/%F%#%V$O(B |
| $B0lMw$K8=$l$^$;$s!#$3$l$K$O(B |
| <directive module="core">ServerRoot</directive>, |
| <directive module="mod_so">LoadModule</directive>, |
| <directive module="mod_so">LoadFile</directive> $B$,$"$j$^$9!#(B</li> |
| <li><directive module="core">Include</directive>, |
| <directive module="core"><IfModule></directive>, |
| <directive module="core"><IfDefine></directive>, |
| $B$N$h$&$J@_Dj%U%!%$%k<+?H$r@)8f$9$k%G%#%l%/%F%#%V$OI=<($5$l$^$;$s!#(B |
| $B$=$N%G%#%l%/%F%#%V$NCf$K$"$j!"M-8z$K$J$C$F$$$k%G%#%l%/%F%#%V$O(B |
| $BI=<($5$l$^$9!#(B</li> |
| <li>$B%3%a%s%H$OI=<($5$l$^$;$s!#(B($B$3$l$O;EMM$@$H;W$C$F$/$@$5$$!#(B)</li> |
| <li><code>.htaccess</code> $B%U%!%$%k$N@_Dj%G%#%l%/%F%#%V$OI=<($5$l$^$;$s(B |
| ($B1J5WE*$J%5!<%P@_Dj$N0lIt$G$O$J$$$+$i$G$9(B)$B!#(B</li> |
| <li><directive module="core"><Directory></directive> |
| $B$N$h$&$J%3%s%F%J%G%#%l%/%F%#%V$OIaDL$KI=<($5$l$^$9$,!"(B |
| <module>mod_info</module> $B$OJD$8%?%0$N(B <directive module="core" |
| ></Directory></directive> $B$J$I$N?t$rCN$k$3$H$O$G$-$^$;$s!#(B</li> |
| <li><module>mod_perl</module> $B$N$h$&$J%5!<%I%Q!<%F%#%b%8%e!<%k(B |
| $B$N%G%#%l%/%F%#%V$OI=<($5$l$J$$$+$b$7$l$^$;$s!#(B</li> |
| </ul> |
| </section> |
| |
| <directivesynopsis> |
| <name>AddModuleInfo</name> |
| <description>server-info $B%O%s%I%i$K$h$jI=<($5$l$k%b%8%e!<%k$N>pJs$K(B |
| $BDI2C$N>pJs$rIU$12C$($k(B</description> |
| <syntax>AddModuleInfo <var>module-name</var> <var>string</var></syntax> |
| <contextlist><context>server config</context><context>virtual host</context> |
| </contextlist> |
| <compatibility>Apache 1.3 $B0J9_(B</compatibility> |
| |
| <usage> |
| <p>$B$3$l$O!"(B<var>string</var> $B$NFbMF$,%b%8%e!<%k(B <var>module-name</var> |
| $B$N(B<strong>$BDI2C>pJs(B</strong> $B$H$7$F(B HTML |
| $B$H$7$F2r<a$5$l!"I=<($5$l$k$h$&$K$7$^$9!#Nc(B:</p> |
| |
| <example> |
| AddModuleInfo mod_deflate.c 'See <a \<br /> |
| <indent> |
| href="http://www.apache.org/docs/&httpd.docs;/mod/mod_deflate.html">\<br /> |
| http://www.apache.org/docs/&httpd.docs;/mod/mod_deflate.html</a>' |
| </indent> |
| </example> |
| </usage> |
| |
| </directivesynopsis> |
| </modulesynopsis> |