mod_speling

最後更新: 2022-02-21

介紹

 


功能

  • URL case-insensitive
  • up to one misspelling

ie.

.htaccess

CheckSpelling on
CheckCaseOnly on

CheckCaseOnly

When set, this directive limits the action of the spelling correction to lower/upper case changes.

Other potential corrections are not performed.

當有合適的 file 存在時, Client 會收到

301 Moved Permanently (BFCache)

當有兩個或以上的合適 file 時, 會有以下 page

Multiple Choices

The document name you requested (/aaaa.txt) could not be found on this server. 
However, we found documents with names similar to the one you requested.
Available documents:

/aaaA.txt (miscapitalized)
/AaAa.txt (miscapitalized)

 


 

 

 

 

Creative Commons license icon Creative Commons license icon