Browse
 
Tools Add
Rss Categories
-->

Mod spelling

Reference Number: AA-00530 Created: 2012-09-19 15:23 Last Updated: 2012-11-04 22:43 0 Rating/ Voters

Mod_spelling is a spelling module in Linux that that fixes common spelling errors or omissions in the syntax of your scripts or webpages. Due to the case sensitivity inherent in all Apache OS, requests to documents cannot be served by the core apache server because of spelling errors or mis-capitalized. The Mod_spelling function addresses this problem by trying to find a matching document by changing capitalization, adding a character (e.g. htm or html. Mod_spelling compares each document name in the requested directory against the requested document name without any regard to case sensitivity and allows up to one misspelling (character insertion, transposition or wrong character, or omission). Using this strategy, a list is built with all the document names which were matched:

  • If no matching document was found, Apache will proceed as usual and return a "document not found" error.
  • If only one document is found that "almost" matches the request, then it is returned in the form of a redirection response.
  • If 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.

Mod_spelling is a feature that all myhosting.com Linux customers will have access to.

Rss Comments
  • There are no comments for this article.
Info Add Comment
Nickname: Your Email: Subject: Comment:
Enter the code below: