1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head><!--
4        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
5              This file is generated from xml source: DO NOT EDIT
6        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
7      -->
8<title>mod_speling - Apache HTTP サーバ</title>
9<link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
10<link href="/style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
11<link href="/style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="/style/css/prettify.css" />
12<script src="/style/scripts/prettify.js" type="text/javascript">
13</script>
14
15<link href="/images/favicon.ico" rel="shortcut icon" /></head>
16<body>
17<div id="page-header">
18<p class="menu"><a href="/mod/">モジュール</a> | <a href="/mod/directives.html">ディレクティブ</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="/glossary.html">用語</a> | <a href="/sitemap.html">サイトマップ</a></p>
19<p class="apache">Apache HTTP サーバ バージョン 2.2</p>
20<img alt="" src="/images/feather.gif" /></div>
21<div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="/images/left.gif" /></a></div>
22<div id="path">
23<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP サーバ</a> &gt; <a href="http://httpd.apache.org/docs/">ドキュメンテーション</a> &gt; <a href="../">バージョン 2.2</a> &gt; <a href="./">モジュール</a></div>
24<div id="page-content">
25<div id="preamble"><h1>Apache モジュール mod_speling</h1>
26<div class="toplang">
27<p><span>翻訳済み言語: </span><a href="/en/mod/mod_speling.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
28<a href="/ja/mod/mod_speling.html" title="Japanese">&nbsp;ja&nbsp;</a> |
29<a href="/ko/mod/mod_speling.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a></p>
30</div>
31<div class="outofdate">この日本語訳はすでに古くなっている
32            可能性があります。
33            最近更新された内容を見るには英語版をご覧下さい。
34        </div>
35<table class="module"><tr><th><a href="module-dict.html#Description">説明:</a></th><td>ユーザが入力したであろう間違った URL を、
36大文字小文字の区別を無視することと一つ以下の綴り間違いを許容することで
37修正を試みる</td></tr>
38<tr><th><a href="module-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
39<tr><th><a href="module-dict.html#ModuleIdentifier">モジュール識別子:</a></th><td>speling_module</td></tr>
40<tr><th><a href="module-dict.html#SourceFile">ソースファイル:</a></th><td>mod_speling.c</td></tr></table>
41<h3>概要</h3>
42
43
44    <p>リクエストの綴りが間違っていたり、
45    大文字小文字が違っていたりするために、Apache のコアサーバが
46    ドキュメントへのリクエストへの応答を正しく提供できないことがあります。
47    このモジュールは、他のすべてのモジュールがあきらめた後であったとしても、
48    リクエストに合うドキュメントを見つけようとすることによりこの問題の
49    解決を試みます。このモジュールはリクエストされたディレクトリにある
50    それぞれのドキュメントの名前と、リクエストされたドキュメントの名前とを
51    <strong>大文字小文字の区別を無視し</strong>、<strong>一文字までの
52    綴りの間違い</strong> (文字の挿入/省略/隣合う文字の置換、間違った文字)
53    を許可して比較することにより、目的を達成しようとします。
54    この方法でリクエストに合うドキュメントの一覧が作成されます。</p>
55
56    <p>ディレクトリをスキャンした後に、</p>
57
58    <ul>
59      <li>適切なドキュメントが見つからなかった場合、
60      Apache はいつもと同じように処理をし、
61      「ドキュメントが見つからない」というエラーを返します。</li>
62
63      <li>リクエストに「ほとんど」合うドキュメントが一つだけ見つかった場合、
64       それがリダイレクト応答として返されます。</li>
65
66      <li>よく似たドキュメントが複数見つかった場合、
67      そのリストがクライアントに返され、
68      クライアントが正しい候補を選択できるようにします。</li>
69    </ul>
70
71</div>
72<div id="quickview"><h3 class="directives">ディレクティブ</h3>
73<ul id="toc">
74<li><img alt="" src="/images/down.gif" /> <a href="#checkcaseonly">CheckCaseOnly</a></li>
75<li><img alt="" src="/images/down.gif" /> <a href="#checkspelling">CheckSpelling</a></li>
76</ul>
77<ul class="seealso"><li><a href="#comments_section">コメント</a></li></ul></div>
78
79<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
80<div class="directive-section"><h2><a name="CheckCaseOnly" id="CheckCaseOnly">CheckCaseOnly</a> <a name="checkcaseonly" id="checkcaseonly">ディレクティブ</a></h2>
81<table class="directive">
82<tr><th><a href="directive-dict.html#Description">説明:</a></th><td>Limits the action of the speling module to case corrections</td></tr>
83<tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>CheckCaseOnly on|off</code></td></tr>
84<tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>CheckCaseOnly Off</code></td></tr>
85<tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト, ディレクトリ, .htaccess</td></tr>
86<tr><th><a href="directive-dict.html#Override">上書き:</a></th><td>Options</td></tr>
87<tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
88<tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_speling</td></tr>
89</table><p>このディレクティブの解説文書は
90            まだ翻訳されていません。英語版をご覧ください。
91            </p></div>
92<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
93<div class="directive-section"><h2><a name="CheckSpelling" id="CheckSpelling">CheckSpelling</a> <a name="checkspelling" id="checkspelling">ディレクティブ</a></h2>
94<table class="directive">
95<tr><th><a href="directive-dict.html#Description">説明:</a></th><td>spelling モジュールを使用するようにする</td></tr>
96<tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>CheckSpelling on|off</code></td></tr>
97<tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>CheckSpelling Off</code></td></tr>
98<tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト, ディレクトリ, .htaccess</td></tr>
99<tr><th><a href="directive-dict.html#Override">上書き:</a></th><td>Options</td></tr>
100<tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
101<tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_speling</td></tr>
102<tr><th><a href="directive-dict.html#Compatibility">互換性:</a></th><td>CheckSpelling は Apache 1.1 では別配布のモジュールで、
103大文字小文字の間違いのみの機能でした。Apache 1.3 で Apache の配布に
104含まれるようになりました。Apache 1.3.2 より前では <code>CheckSpelling</code>
105ディレクティブは「サーバ」と「バーチャルホスト」コンテキストでのみ
106使用可能でした</td></tr>
107</table>
108    <p>このディレクティブは綴り用のモジュールを使用するかどうかを
109    決めます。使用時には、以下のことを覚えておいてください</p>
110
111    <ul>
112      <li>同時にたくさんの綴りの訂正を行なわなければならないときは、
113      そのために行なわれるディレクトリのスキャンがサーバの性能に
114      影響を与えます。</li>
115
116      <li>ドキュメントの中に綴りの「訂正」により
117      意図せず合ってしまうような重要なファイルがないようにしてください。
118      </li>
119
120      <li>モジュールはユーザ名の綴りの間違い
121      (<code>http://my.host/~apahce/</code> のように)
122      を訂正することはできません。
123      訂正できるのはファイル名とディレクトリ名だけです。</li>
124
125      <li>綴りの訂正は存在するファイルに厳密に適用されますので、
126      <code>&lt;Location /status&gt;</code>
127      はネゴシエーションの結果のファイル "<code>/stats.html</code>"
128      として間違って扱われるかもしれません。</li>
129    </ul>
130
131    
132    <p><a href="mod_dav.html">DAV</a> が有効なディレクトリでは
133    <code class="module"><a href="/mod/mod_speling.html">mod_speling</a></code> は有効にしないでください。
134    新しく作成したリソース名を既に存在するファイル名に「修正」しようとする、
135    例えば、新規ドキュメント <code>doc43.html</code> が既に存在する
136    <code>doc34.html</code> にリダイレクトされて、
137    期待とは違う挙動になるからです。</p>
138
139</div>
140</div>
141<div class="bottomlang">
142<p><span>翻訳済み言語: </span><a href="/en/mod/mod_speling.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
143<a href="/ja/mod/mod_speling.html" title="Japanese">&nbsp;ja&nbsp;</a> |
144<a href="/ko/mod/mod_speling.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a></p>
145</div><div class="top"><a href="#page-header"><img src="/images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">コメント</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&amp;A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div>
146<script type="text/javascript"><!--//--><![CDATA[//><!--
147var comments_shortname = 'httpd';
148var comments_identifier = 'http://httpd.apache.org/docs/2.2/mod/mod_speling.html';
149(function(w, d) {
150    if (w.location.hostname.toLowerCase() == "httpd.apache.org") {
151        d.write('<div id="comments_thread"><\/div>');
152        var s = d.createElement('script');
153        s.type = 'text/javascript';
154        s.async = true;
155        s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier;
156        (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s);
157    }
158    else { 
159        d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>');
160    }
161})(window, document);
162//--><!]]></script></div><div id="footer">
163<p class="apache">Copyright 2013 The Apache Software Foundation.<br />この文書は <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a> のライセンスで提供されています。.</p>
164<p class="menu"><a href="/mod/">モジュール</a> | <a href="/mod/directives.html">ディレクティブ</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="/glossary.html">用語</a> | <a href="/sitemap.html">サイトマップ</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!--
165if (typeof(prettyPrint) !== 'undefined') {
166    prettyPrint();
167}
168//--><!]]></script>
169</body></html>