muzsport.ru





mod_speling - Apache HTTP Server Version 2.4









Modules | Directives | FAQ | Glossary | Sitemap
Apache HTTP Server Version 2.4



Apache > HTTP Server > Documentation > Version 2.4 > Modules

Apache Module mod_speling

Available Languages:  en  |
 fr  |
 ja  |
 ko 

Description:Attempts to correct mistaken URLs by ignoring
capitalization, or attempting to correct various minor
misspellings.
Status:Extension
ModuleIdentifier:speling_module
SourceFile:mod_speling.c
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,

    
      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.
    


Directives

 CheckCaseOnly
 CheckSpelling

Bugfix checklisthttpd changelogKnown issuesReport a bugSee also

Comments


CheckCaseOnly Directive

Description:Limits the action of the speling module to case corrections
Syntax:CheckCaseOnly on|off
Default:CheckCaseOnly Off
Context:server config, virtual host, directory, .htaccess
Override:Options
Status:Extension
Module:mod_speling

    When set, this directive limits the action of the spelling correction to lower/upper case changes.
    Other potential corrections are not performed.




CheckSpelling Directive

Description:Enables the spelling
module
Syntax:CheckSpelling on|off
Default:CheckSpelling Off
Context:server config, virtual host, directory, .htaccess
Override:Options
Status:Extension
Module:mod_speling

    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".
    

    
    mod_speling should not be enabled in DAV
    enabled directories, because it will try to "spell fix" newly created
    resource names against existing filenames, e.g., when trying to upload
    a new document doc43.html it might redirect to an existing
    document doc34.html, which is not what was intended.
    




Available Languages:  en  |
 fr  |
 ja  |
 ko 
CommentsNotice:This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our mailing lists.

Copyright 2017 The Apache Software Foundation.Licensed under the Apache License, Version 2.0.
Modules | Directives | FAQ | Glossary | Sitemap
page_1 | page_2 | page_3 | page_4 | page_5 | сальса.рф
Warning: simplexml_load_file(): sites/muzsport.ru.xml:522: parser error : Extra content at the end of the document in /home/artem/pool/index.php on line 77

Warning: simplexml_load_file(): ="41"/> in /home/artem/pool/index.php on line 77

Warning: simplexml_load_file(): ^ in /home/artem/pool/index.php on line 77

Fatal error: Call to a member function xpath() on a non-object in /home/artem/pool/index.php on line 82