1 <?xml version="1.0" encoding="iso-2022-jp"?>
2 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
3 <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
4 <!-- English Revision: 151408:333005 (outdated) -->
7 Copyright 2002-2005 The Apache Software Foundation or its licensors, as
10 Licensed under the Apache License, Version 2.0 (the "License");
11 you may not use this file except in compliance with the License.
12 You may obtain a copy of the License at
14 http://www.apache.org/licenses/LICENSE-2.0
16 Unless required by applicable law or agreed to in writing, software
17 distributed under the License is distributed on an "AS IS" BASIS,
18 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 See the License for the specific language governing permissions and
20 limitations under the License.
23 <modulesynopsis metafile="mod_info.xml.meta">
26 <description>
\e$B%5!<%P$N@_Dj$NJq3gE*$J354Q$rDs6!$9$k
\e(B</description>
27 <status>Extension</status>
28 <sourcefile>mod_info.c</sourcefile>
29 <identifier>info_module</identifier>
32 <p><module>mod_info</module>
\e$B$r@_Dj$9$k$K$O!"0J2<$r
\e(B <code>httpd.conf</code>
33 \e$B%U%!%$%k$K2C$($^$9!#
\e(B</p>
36 <Location /server-info><br />
38 SetHandler server-info<br />
43 <p><directive type="section" module="core">Location</directive>
44 \e$B$NCf$G
\e(B <module>mod_access</module>
\e$B$r;H$C$F!"%5!<%P@_Dj>pJs$X$N
\e(B
45 \e$B%"%/%;%9$r@)8B$7$?$$$H;W$&$+$b$7$l$^$;$s
\e(B :</p>
48 <Location /server-info><br />
50 SetHandler server-info<br />
51 Order deny,allow<br />
53 Allow from yourcompany.com<br />
58 <p>
\e$B0lC6@_Dj$9$k$H!"
\e(B<code>http://your.host.example.com/server-info</code>
59 \e$B$K%"%/%;%9$9$k$3$H$G%5!<%P$N>pJs$rF@$i$l$k$h$&$K$J$j$^$9!#
\e(B</p>
62 <section id="security"><title>Security Issues</title>
63 <p>
\e$B0lC6
\e(B <module>mod_info</module>
\e$B$,%5!<%P$KFI$_9~$^$l$k$H!"
\e(B
64 \e$BDs6!$7$F$$$k%O%s%I%i5!G=$O%G%#%l%/%H%jKh$N@_Dj%U%!%$%k
\e(B (<em>
\e$BNc$($P
\e(B</em>
65 .htaccess)
\e$B$r4^$`
\e(B <em>
\e$B$9$Y$F
\e(B</em>
\e$B$N@_Dj%U%!%$%k$GM-8z$K$J$j$^$9!#
\e(B
66 \e$B$3$N%b%8%e!<%k$rM-8z$K$9$k$H$-$O%;%-%e%j%F%#$NLdBj$r9MN8$9$kI,MW$,
\e(B
67 \e$B$"$k$G$7$g$&!#
\e(B</p>
69 <p>
\e$BFC$K!"$3$N%b%8%e!<%k$O%7%9%F%`%Q%9!"%f!<%6L>
\e(B/
\e$B%Q%9%o!<%I!"
\e(B
70 \e$B%G!<%?%Y!<%9L>$J$I!"B>$N
\e(B Apache
\e$B%b%8%e!<%k$N@_Dj%G%#%l%/%F%#%V$+$i
\e(B
71 \e$B%;%-%e%j%F%#>eHyL/$J>pJs$rO3$i$92DG=@-$,$"$j$^$9!#
\e(B
72 \e$B$G$9$+$i!"$3$N%b%8%e!<%k$O$-$A$s$H%"%/%;%9@)8f$5$l$?4D6-$G
\e(B<strong>
\e$B$N$_
\e(B</strong>
\e$B!"
\e(B
73 \e$BCm0U$7$F;H$C$F$/$@$5$$!#
\e(B</p>
75 <p>
\e$B@_Dj>pJs$X$N%"%/%;%9$r@)8B$9$k$?$a$K!"
\e(B<module>mod_authz_host</module>
\e$B$r
\e(B
76 \e$B;H$&$N$,NI$$$G$7$g$&!#
\e(B</p>
78 <example><title>
\e$B%"%/%;%9@)8f
\e(B</title>
79 <Location /server-info><br />
81 SetHandler server-info<br />
82 Order allow,deny<br />
83 # Allow access from server itself<br />
84 Allow from 127.0.0.1<br />
85 # Additionally, allow access from local workstation<br />
86 Allow from 192.168.1.17<br />
92 <section id="queries"><title>
\e$BI=<($5$l$k>pJs$NA*Br
\e(B</title>
93 <p>
\e$B%G%U%)%k%H$G$O!"%5!<%P>pJs$O$9$Y$F$NM-8z$J%b%8%e!<%k$H!"
\e(B
94 \e$B3F%b%8%e!<%k$K$D$$$F!"%b%8%e!<%k$,M}2r$9$k%G%#%l%/%F%#%V!"
\e(B
95 \e$B<BAu$7$F$$$k!"%U%C%/!"8=;~E@$G$N@_Dj$N4XO"$9$k%G%#%l%/%F%#%V$K
\e(B
96 \e$B$J$C$F$$$^$9!#
\e(B</p>
98 <p><code>server-info</code>
\e$B%j%/%(%9%H$X%/%(%j!<$rDI2C$9$k$3$H$G!"
\e(B
99 \e$B@_Dj>pJs$NB>$NI=<(7A<0$rA*$V$3$H$,$G$-$^$9!#Nc$($P!"
\e(B
100 <code>http://your.host.example.com/server-info?config</code>
\e$B$O
\e(B
101 \e$B$9$Y$F$N@_Dj%G%#%l%/%F%#%V$rI=<($7$^$9!#
\e(B</p>
104 <dt><code>?<module-name></code></dt>
105 <dd>
\e$B;XDj$5$l$?%b%8%e!<%k$K4XO"$9$k>pJs$N$_
\e(B</dd>
106 <dt><code>?config</code></dt>
107 <dd>
\e$B%b%8%e!<%k$G%=!<%H$;$:$K!"@_Dj%G%#%l%/%F%#%V$N$_
\e(B</dd>
108 <dt><code>?hooks</code></dt>
109 <dd>
\e$B3F%b%8%e!<%k$,;HMQ$9$k%U%C%/$N$_
\e(B</dd>
110 <dt><code>?list</code></dt>
111 <dd>
\e$BM-8z$J%b%8%e!<%k$N4JC1$J%j%9%H$N$_
\e(B</dd>
112 <dt><code>?server</code></dt>
113 <dd>
\e$B4pK\%5!<%P>pJs$N$_
\e(B</dd>
117 <section id="limitations"><title>
\e$B4{CN$N@)8B
\e(B</title>
118 <p><module>mod_info</module>
\e$B$O!"85$N@_Dj%U%!%$%k$rFI$`$N$G$O$J$/!"
\e(B
119 \e$B4{$K%Q!<%9$5$l$?@_Dj$rFI$_9~$`$3$H$G>pJs$rDs6!$7$^$9!#=>$C$F!"
\e(B
120 \e$B%Q!<%9:Q$_$N@_Dj>pJs$NLZ$,@8@.$5$l$kJ}K!$K$h$k@)8B$,$$$/$D$+$"$j$^$9
\e(B:</p>
122 <li>
\e$B%Q!<%9$5$l$?@_Dj$KJ]B8$5$l$:$K!"$9$0$K<B9T$5$l$k%G%#%l%/%F%#%V$O
\e(B
123 \e$B0lMw$K8=$l$^$;$s!#$3$l$K$O
\e(B
124 <directive module="core">ServerRoot</directive>,
125 <directive module="mod_so">LoadModule</directive>,
126 <directive module="mod_so">LoadFile</directive>
\e$B$,$"$j$^$9!#
\e(B</li>
127 <li><directive module="core">Include</directive>,
128 <directive module="core"><IfModule></directive>,
129 <directive module="core"><IfDefine></directive>,
130 \e$B$N$h$&$J@_Dj%U%!%$%k<+?H$r@)8f$9$k%G%#%l%/%F%#%V$OI=<($5$l$^$;$s!#
\e(B
131 \e$B$=$N%G%#%l%/%F%#%V$NCf$K$"$j!"M-8z$K$J$C$F$$$k%G%#%l%/%F%#%V$O
\e(B
132 \e$BI=<($5$l$^$9!#
\e(B</li>
133 <li>
\e$B%3%a%s%H$OI=<($5$l$^$;$s!#
\e(B(
\e$B$3$l$O;EMM$@$H;W$C$F$/$@$5$$!#
\e(B)</li>
134 <li><code>.htaccess</code>
\e$B%U%!%$%k$N@_Dj%G%#%l%/%F%#%V$OI=<($5$l$^$;$s
\e(B
135 (
\e$B1J5WE*$J%5!<%P@_Dj$N0lIt$G$O$J$$$+$i$G$9
\e(B)
\e$B!#
\e(B</li>
136 <li><directive module="core"><Directory></directive>
137 \e$B$N$h$&$J%3%s%F%J%G%#%l%/%F%#%V$OIaDL$KI=<($5$l$^$9$,!"
\e(B
138 <module>mod_info</module>
\e$B$OJD$8%?%0$N
\e(B <directive module="core"
139 ></Directory></directive>
\e$B$J$I$N?t$rCN$k$3$H$O$G$-$^$;$s!#
\e(B</li>
140 <li><module>mod_perl</module>
\e$B$N$h$&$J%5!<%I%Q!<%F%#%b%8%e!<%k
\e(B
141 \e$B$N%G%#%l%/%F%#%V$OI=<($5$l$J$$$+$b$7$l$^$;$s!#
\e(B</li>
146 <name>AddModuleInfo</name>
147 <description>server-info
\e$B%O%s%I%i$K$h$jI=<($5$l$k%b%8%e!<%k$N>pJs$K
\e(B
148 \e$BDI2C$N>pJs$rIU$12C$($k
\e(B</description>
149 <syntax>AddModuleInfo <var>module-name</var> <var>string</var></syntax>
150 <contextlist><context>server config</context><context>virtual host</context>
152 <compatibility>Apache 1.3
\e$B0J9_
\e(B</compatibility>
155 <p>
\e$B$3$l$O!"
\e(B<var>string</var>
\e$B$NFbMF$,%b%8%e!<%k
\e(B <var>module-name</var>
156 \e$B$N
\e(B<strong>
\e$BDI2C>pJs
\e(B</strong>
\e$B$H$7$F
\e(B HTML
157 \e$B$H$7$F2r<a$5$l!"I=<($5$l$k$h$&$K$7$^$9!#Nc
\e(B:</p>
160 AddModuleInfo mod_deflate.c 'See <a \<br />
162 href="http://www.apache.org/docs/&httpd.docs;/mod/mod_deflate.html">\<br />
163 http://www.apache.org/docs/&httpd.docs;/mod/mod_deflate.html</a>'