From ee595be9e9f8b02e5226c1df78e6ec0002bf5c9e Mon Sep 17 00:00:00 2001 From: dgaudet Date: Thu, 11 Sep 1997 18:50:30 +0000 Subject: [PATCH] Add in mod_speling. PR: Submitted by: Martin Kraemer, Alexei Kosut Reviewed by: various git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79181 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_speling.html | 88 ++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 docs/manual/mod/mod_speling.html diff --git a/docs/manual/mod/mod_speling.html b/docs/manual/mod/mod_speling.html new file mode 100644 index 00000000000..2db6c4773a9 --- /dev/null +++ b/docs/manual/mod/mod_speling.html @@ -0,0 +1,88 @@ + + + + Apache module mod_speling + + + + +

Module mod_speling

+

+ This module is contained in the mod_speling.c file, + and is not compiled in by default. + It attemps to correct mispellings of + URLs that users might have entered, by ignoring capitalization + and by allowing up to one misspelling.
+ This catches the majority of misspelled requests. An automatic + "spelling corrected" redirection is returned if only one matching + document was found, and a list of matches is returned if more than + one document with a sufficiently similar name is found. +

+ +

Summary

+

+ 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, +

+

+ +

Directives

+ + +
  • CheckSpelling +
  • + +
    +

    CheckSpelling

    + + Syntax: CheckSpelling on/off
    + Default: CheckSpelling Off
    + Context: server config, virtual host
    + Status: Base
    + Module: mod_speling
    + Compatibility: 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.

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

    + + + + + -- 2.47.2