Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://rtm-cs.sinp.msu.ru/manual/apache/mod/mod_speling.html
Дата изменения: Tue Mar 23 03:17:41 1999 Дата индексирования: Mon Oct 1 21:26:15 2012 Кодировка: |
This module is contained in the mod_speling.c
file,
and is not compiled in by default.
It attempts to correct misspellings 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.
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,
CheckSpelling Off
This directive enables or disables the spelling module. When enabled, keep in mind that
http://my.host/~apahce/
), just file names or
directory names.