mirror of
https://github.com/apache/httpd.git
synced 2025-09-01 02:02:06 +03:00
Sorry for the huge diff. It seems that switching from Xalan-j to xalan-c causes the attributes to get reordered. Suggestions for improvements to the build system would be greatly appreciated. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94399 13f79535-47bb-0310-9956-ffa450edef68
65 lines
4.7 KiB
HTML
65 lines
4.7 KiB
HTML
<html xmlns="http://www.w3.org/TR/xhtml1/strict"><head><!--
|
|
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
|
This file is generated from xml source: DO NOT EDIT
|
|
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
|
--><title>mod_speling - Apache HTTP Server</title><link rel="stylesheet" type="text/css" href="../style/manual.css"/></head><body><blockquote><div align="center"><img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]"/><h3>Apache HTTP Server Version 2.0</h3></div><h1 align="center">Apache Module mod_speling</h1><table bgcolor="#cccccc" cellpadding="0" cellspacing="1"><tr><td><table bgcolor="#ffffff"><tr><td valign="top"><span class="help">Description:</span></td><td>Attempts to correct mistaken URLs that
|
|
users might have entered by ignoring capitalization and by
|
|
allowing up to one misspelling</td></tr><tr><td><a class="help" href="module-dict.html#Status">Status:</a></td><td>Extension</td></tr><tr><td><a class="help" href="module-dict.html#ModuleIdentifier">Module Identifier:</a></td><td>speling_module</td></tr></table></td></tr></table><h2>Summary</h2>
|
|
|
|
<p>Requests to documents sometimes cannot be served by the core
|
|
apache server because the request was misspelled or
|
|
miscapitalized. This module addresses this problem by trying to
|
|
find a matching document, even after all other modules gave up.
|
|
It does its work by comparing each document name in the
|
|
requested directory against the requested document name
|
|
<strong>without regard to case</strong>, and allowing
|
|
<strong>up to one misspelling</strong> (character insertion /
|
|
omission / transposition or wrong character). A list is built
|
|
with all document names which were matched using this
|
|
strategy.</p>
|
|
|
|
<p>If, after scanning the directory,</p>
|
|
|
|
<ul>
|
|
<li>no matching document was found, Apache will proceed as
|
|
usual and return a "document not found" error.</li>
|
|
|
|
<li>only one document is found that "almost" matches the
|
|
request, then it is returned in the form of a redirection
|
|
response.</li>
|
|
|
|
<li>more than one document with a close match was found, then
|
|
the list of the matches is returned to the client, and the
|
|
client can select the correct candidate.</li>
|
|
</ul>
|
|
|
|
<h2>Directives</h2><ul><li><a href="#checkspelling">CheckSpelling</a></li></ul><hr/><h2><a name="CheckSpelling">CheckSpelling</a> <a name="checkspelling">Directive</a></h2><table bgcolor="#cccccc" border="0" cellspacing="0" cellpadding="1"><tr><td><table bgcolor="#ffffff"><tr><td><strong>Description: </strong></td><td>Enables the spelling
|
|
module</td></tr><tr><td><a class="help" href="directive-dict.html#Syntax">Syntax:</a></td><td>CheckSpelling on|off</td></tr><tr><td><a class="help" href="directive-dict.html#Default">Default:</a></td><td><code>CheckSpelling Off</code></td></tr><tr><td><a class="help" href="directive-dict.html#Context">Context:</a></td><td>server config, virtual host, directory, .htaccess</td></tr><tr><td><a class="help" href="directive-dict.html#Override">Override:</a></td><td>Options</td></tr><tr><td><a class="help" href="directive-dict.html#Status">Status:</a></td><td>Extension</td></tr><tr><td><a class="help" href="directive-dict.html#Module">Module:</a></td><td>mod_speling</td></tr><tr><td valign="top" align="left"><a class="help" href="directive-dict.html#Compatibility">Compatibility:</a></td><td>CheckSpelling was available as a separately available
|
|
module for Apache 1.1, but was limited to miscapitalizations. As
|
|
of Apache 1.3, it is part of the Apache distribution. Prior to Apache
|
|
1.3.2, the CheckSpelling directive was only available in the
|
|
"server" and "virtual host" contexts.</td></tr></table></td></tr></table>
|
|
|
|
<p>This directive enables or disables the spelling module. When
|
|
enabled, keep in mind that</p>
|
|
|
|
<ul>
|
|
<li>the directory scan which is necessary for the spelling
|
|
correction will have an impact on the server's performance
|
|
when many spelling corrections have to be performed at the
|
|
same time.</li>
|
|
|
|
<li>the document trees should not contain sensitive files
|
|
which could be matched inadvertently by a spelling
|
|
"correction".</li>
|
|
|
|
<li>the module is unable to correct misspelled user names (as
|
|
in <code>http://my.host/~apahce/</code>), just file names or
|
|
directory names.</li>
|
|
|
|
<li>spelling corrections apply strictly to existing files, so
|
|
a request for the <code><Location /status></code> may
|
|
get incorrectly treated as the negotiated file
|
|
"<code>/stats.html</code>".</li>
|
|
</ul>
|
|
<hr/><h3 align="center">Apache HTTP Server Version 2.0</h3><a href="./"><img src="../images/index.gif" alt="Index"/></a><a href="../"><img src="../images/home.gif" alt="Home"/></a></blockquote></body></html> |