From 718a8efd652a8a4b792b229b6ab0936c7c3e7e40 Mon Sep 17 00:00:00 2001 From: Rich Bowen Date: Mon, 4 Mar 2002 02:45:22 +0000 Subject: [PATCH] Conversion to xml git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93690 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_speling.xml | 96 +++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100755 docs/manual/mod/mod_speling.xml diff --git a/docs/manual/mod/mod_speling.xml b/docs/manual/mod/mod_speling.xml new file mode 100755 index 0000000000..dd6df25b74 --- /dev/null +++ b/docs/manual/mod/mod_speling.xml @@ -0,0 +1,96 @@ + + + + +mod_speling +Extension +speling_module +mod_speling.c +Available in Apache 1.3 and later. Available as +an External module in Apache 1.1 and later. + +This module attempts to correct misspellings of URLs that +users might have entered, by ignoring capitalization and by +allowing up to one misspelling. + + + +

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 + without regard to case, and allowing + up to one misspelling (character insertion / + omission / transposition or wrong character). A list is built + with all document names which were matched using this + strategy.

+ +

If, after scanning the directory,

+ +
    +
  • no matching document was found, Apache will proceed as + usual and return a "document not found" error.
  • + +
  • only one document is found that "almost" matches the + request, then it is returned in the form of a redirection + response.
  • + +
  • 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.
  • +
+ +
+ + + +CheckSpelling +CheckSpelling on|off +CheckSpelling Off + +server config +virtual host +directory +.htaccess + +Options +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. +This directive enables or disables the spelling +module. + + + +

This directive enables or disables the spelling module. When + enabled, keep in mind that

+ +
    +
  • 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.
  • + +
  • the document trees should not contain sensitive files + which could be matched inadvertently by a spelling + "correction".
  • + +
  • the module is unable to correct misspelled user names (as + in http://my.host/~apahce/), just file names or + directory names.
  • + +
  • spelling corrections apply strictly to existing files, so + a request for the <Location /status> may + get incorrectly treated as the negotiated file + "/stats.html".
  • +
+
+ +
+ +
+ -- 2.40.0