Apache HTTP服务器 2.0版本
说明: | Attempts to correct mistaken URLs that users might have entered by ignoring capitalization and by allowing up to one misspelling |
---|---|
状态: | Extension |
模块名: | speling_module |
源文件: | mod_speling.c |
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,
说明: | Enables the spelling module |
---|---|
语法: | CheckSpelling on|off |
默认值: | CheckSpelling Off |
上下文: | 服务器配置, 虚拟主机, 目录, .htaccess |
覆盖项: | Options |
状态: | Extension |
模块: | mod_speling |
兼容性: | 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
http://my.host/~apahce/
), just file names or
directory names.<Location /status>
may
get incorrectly treated as the negotiated file
"/stats.html
".