Документ взят из кэша поисковой машины. Адрес оригинального документа : http://old.master.cmc.msu.ru/manual/mod/mod_speling.html
Дата изменения: Sun Feb 4 13:13:48 2001
Дата индексирования: Tue Oct 2 15:06:10 2012
Кодировка:
Apache module mod_speling
[APACHE DOCUMENTATION]

Apache HTTP Server Version 1.3

Module mod_speling

This module attempts to correct misspellings of URLs that users might have entered, by ignoring capitalization and by allowing up to one misspelling.

Status: Extension
Source File: mod_speling.c
Module Identifier: speling_module
Compatibility: Available in Apache 1.3 and later. Available as an External module in Apache 1.1 and later.

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 directive

Syntax: CheckSpelling on|off
Default: CheckSpelling Off
Context: server config, virtual host, directory, .htaccess
Override: Options
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. 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. When enabled, keep in mind that


Apache HTTP Server Version 1.3

Index Home