📄 mod_info.html.ja.euc-jp
字号:
<?xml version="1.0" encoding="EUC-JP"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-->
<title>mod_info - Apache HTTP サ〖バ</title>
<link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
<link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
<link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
<link href="../images/favicon.ico" rel="shortcut icon" /></head>
<body>
<div id="page-header">
<p class="menu"><a href="../mod/">モジュ〖ル</a> | <a href="../mod/directives.html">ディレクティブ</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">脱胳</a> | <a href="../sitemap.html">サイトマップ</a></p>
<p class="apache">Apache HTTP サ〖バ バ〖ジョン 2.2</p>
<img alt="" src="../images/feather.gif" /></div>
<div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
<div id="path">
<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP サ〖バ</a> > <a href="http://httpd.apache.org/docs/">ドキュメンテ〖ション</a> > <a href="../">バ〖ジョン 2.2</a> > <a href="./">モジュ〖ル</a></div>
<div id="page-content">
<div id="preamble"><h1>Apache モジュ〖ル mod_info</h1>
<div class="toplang">
<p><span>Available Languages: </span><a href="../en/mod/mod_info.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="../ja/mod/mod_info.html" title="Japanese"> ja </a> |
<a href="../ko/mod/mod_info.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
</div>
<table class="module"><tr><th><a href="module-dict.html#Description">棱汤:</a></th><td>サ〖バの肋年の蜀崇弄な车囱を捏丁する</td></tr>
<tr><th><a href="module-dict.html#Status">ステ〖タス:</a></th><td>Extension</td></tr>
<tr><th><a href="module-dict.html#ModuleIdentifier">モジュ〖ル急侍灰:</a></th><td>info_module</td></tr>
<tr><th><a href="module-dict.html#SourceFile">ソ〖スファイル:</a></th><td>mod_info.c</td></tr></table>
<h3>车妥</h3>
<p><code class="module"><a href="../mod/mod_info.html">mod_info</a></code> を肋年するには、笆布を <code>httpd.conf</code>
ファイルに裁えます。</p>
<div class="example"><p><code>
<Location /server-info><br />
<span class="indent">
SetHandler server-info<br />
</span>
</Location>
</code></p></div>
<p><code class="directive"><a href="../mod/core.html#location"><Location></a></code>
の面で <code class="module"><a href="../mod/mod_access.html">mod_access</a></code> を蝗って、サ〖バ肋年攫鼠への
アクセスを扩嘎したいと蛔うかもしれません :</p>
<div class="example"><p><code>
<Location /server-info><br />
<span class="indent">
SetHandler server-info<br />
Order deny,allow<br />
Deny from all<br />
Allow from yourcompany.com<br />
</span>
</Location>
</code></p></div>
<p>办枚肋年すると、<code>http://your.host.example.com/server-info</code>
にアクセスすることでサ〖バの攫鼠を评られるようになります。</p>
</div>
<div id="quickview"><h3 class="directives">ディレクティブ</h3>
<ul id="toc">
<li><img alt="" src="../images/down.gif" /> <a href="#addmoduleinfo">AddModuleInfo</a></li>
</ul>
<h3>トピック</h3>
<ul id="topics">
<li><img alt="" src="../images/down.gif" /> <a href="#security">Security Issues</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#queries">山绩される攫鼠の联买</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#limitations">贷梦の扩嘎</a></li>
</ul></div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="section">
<h2><a name="security" id="security">Security Issues</a></h2>
<p>办枚 <code class="module"><a href="../mod/mod_info.html">mod_info</a></code> がサ〖バに粕み哈まれると、
捏丁しているハンドラ怠墙はディレクトリ髓の肋年ファイル (<em>毋えば</em>
.htaccess) を崔む <em>すべて</em>の肋年ファイルで铜跟になります。
このモジュ〖ルを铜跟にするときはセキュリティの啼玛を雇胃する涩妥が
あるでしょう。</p>
<p>泼に、このモジュ〖ルはシステムパス、ユ〖ザ叹/パスワ〖ド、
デ〖タベ〖ス叹など、戮の Apache モジュ〖ルの肋年ディレクティブから
セキュリティ惧腮摊な攫鼠を铣らす材墙拉があります。
ですから、このモジュ〖ルはきちんとアクセス扩告された茨董で<strong>のみ</strong>、
庙罢して蝗ってください。</p>
<p>肋年攫鼠へのアクセスを扩嘎するために、<code class="module"><a href="../mod/mod_authz_host.html">mod_authz_host</a></code> を
蝗うのが紊いでしょう。</p>
<div class="example"><h3>アクセス扩告</h3><p><code>
<Location /server-info><br />
<span class="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 />
</span>
</Location>
</code></p></div>
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="section">
<h2><a name="queries" id="queries">山绩される攫鼠の联买</a></h2>
<p>デフォルトでは、サ〖バ攫鼠はすべての铜跟なモジュ〖ルと、
称モジュ〖ルについて、モジュ〖ルが妄豺するディレクティブ、
悸刘している、フック、附箕爬での肋年の簇息するディレクティブに
なっています。</p>
<p><code>server-info</code> リクエストへクエリ〖を纳裁することで、
肋年攫鼠の戮の山绩妨及を联ぶことができます。毋えば、
<code>http://your.host.example.com/server-info?config</code> は
すべての肋年ディレクティブを山绩します。</p>
<dl>
<dt><code>?<module-name></code></dt>
<dd>回年されたモジュ〖ルに簇息する攫鼠のみ</dd>
<dt><code>?config</code></dt>
<dd>モジュ〖ルでソ〖トせずに、肋年ディレクティブのみ</dd>
<dt><code>?hooks</code></dt>
<dd>称モジュ〖ルが蝗脱するフックのみ</dd>
<dt><code>?list</code></dt>
<dd>铜跟なモジュ〖ルの词帽なリストのみ</dd>
<dt><code>?server</code></dt>
<dd>答塑サ〖バ攫鼠のみ</dd>
</dl>
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="section">
<h2><a name="limitations" id="limitations">贷梦の扩嘎</a></h2>
<p><code class="module"><a href="../mod/mod_info.html">mod_info</a></code> は、傅の肋年ファイルを粕むのではなく、
贷にパ〖スされた肋年を粕み哈むことで攫鼠を捏丁します。骄って、
パ〖ス貉みの肋年攫鼠の腾が栏喇される数恕による扩嘎がいくつかあります:</p>
<ul>
<li>パ〖スされた肋年に瘦赂されずに、すぐに悸乖されるディレクティブは
办枉に附れません。これには
<code class="directive"><a href="../mod/core.html#serverroot">ServerRoot</a></code>,
<code class="directive"><a href="../mod/mod_so.html#loadmodule">LoadModule</a></code>,
<code class="directive"><a href="../mod/mod_so.html#loadfile">LoadFile</a></code> があります。</li>
<li><code class="directive"><a href="../mod/core.html#include">Include</a></code>,
<code class="directive"><a href="../mod/core.html#<ifmodule>"><IfModule></a></code>,
<code class="directive"><a href="../mod/core.html#<ifdefine>"><IfDefine></a></code>,
のような肋年ファイル极咳を扩告するディレクティブは山绩されません。
そのディレクティブの面にあり、铜跟になっているディレクティブは
山绩されます。</li>
<li>コメントは山绩されません。(これは慌屯だと蛔ってください。)</li>
<li><code>.htaccess</code> ファイルの肋年ディレクティブは山绩されません
(笔底弄なサ〖バ肋年の办婶ではないからです)。</li>
<li><code class="directive"><a href="../mod/core.html#<directory>"><Directory></a></code>
のようなコンテナディレクティブは舍奶に山绩されますが、
<code class="module"><a href="../mod/mod_info.html">mod_info</a></code> は誓じタグの <code class="directive"><a href="../mod/core.html#</directory>"></Directory></a></code> などの眶を梦ることはできません。</li>
<li><code class="module"><a href="../mod/mod_perl.html">mod_perl</a></code> のようなサ〖ドパ〖ティモジュ〖ル
のディレクティブは山绩されないかもしれません。</li>
</ul>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="AddModuleInfo" id="AddModuleInfo">AddModuleInfo</a> <a name="addmoduleinfo" id="addmoduleinfo">ディレクティブ</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">棱汤:</a></th><td>server-info ハンドラにより山绩されるモジュ〖ルの攫鼠に
纳裁の攫鼠を烧け裁える</td></tr>
<tr><th><a href="directive-dict.html#Syntax">菇矢:</a></th><td><code>AddModuleInfo <var>module-name</var> <var>string</var></code></td></tr>
<tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サ〖バ肋年ファイル, バ〖チャルホスト</td></tr>
<tr><th><a href="directive-dict.html#Status">ステ〖タス:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">モジュ〖ル:</a></th><td>mod_info</td></tr>
<tr><th><a href="directive-dict.html#Compatibility">高垂拉:</a></th><td>Apache 1.3 笆惯</td></tr>
</table>
<p>これは、<var>string</var> の柒推がモジュ〖ル <var>module-name</var>
の<strong>纳裁攫鼠</strong> として HTML
として豺坚され、山绩されるようにします。毋:</p>
<div class="example"><p><code>
AddModuleInfo mod_deflate.c 'See <a \<br />
<span class="indent">
href="http://www.apache.org/docs/2.2/mod/mod_deflate.html">\<br />
http://www.apache.org/docs/2.2/mod/mod_deflate.html</a>'
</span>
</code></p></div>
</div>
</div>
<div class="bottomlang">
<p><span>Available Languages: </span><a href="../en/mod/mod_info.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="../ja/mod/mod_info.html" title="Japanese"> ja </a> |
<a href="../ko/mod/mod_info.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
</div><div id="footer">
<p class="apache">Copyright 2006 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
<p class="menu"><a href="../mod/">モジュ〖ル</a> | <a href="../mod/directives.html">ディレクティブ</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">脱胳</a> | <a href="../sitemap.html">サイトマップ</a></p></div>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -