Mod speling - Apache HTTP Server Version 2.4 (Date:Wed 2 Jan 2019 08:46:33 -0500)

From mywiki
Jump to navigation Jump to search


Threads Involved: System Log


From jwmywiki@cox.net
To Johnny
Date Wed 2 Jan 2019 08:46:33-0500
Headline mod_speling - Apache HTTP Server Version 2.4
Source Net

To correct capitalization 404s. Hopefully making site more accessible.

Analysis: To-Do Web References https://johnnywunder.info/mywiki/index.php/Mod speling - Apache HTTP Server Version 2.4 (Date:Wed 2 Jan 2019 08:46:33 -0500)



Net Original Article


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.

Donate Apache