.htaccess or other URL Case Sensitive

后端 未结 3 837
天涯浪人
天涯浪人 2020-12-17 06:56

My server is Case Sensitive, and id like to turn it to inSensitive.
Example of what I mean is
lets say I upload Fruit.php
Well then going to this file wont work:

3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-17 07:47

    You need to use the mod_speling (sic) apache module:

    http://httpd.apache.org/docs/1.3/mod/mod_speling.html

    In .htaccess

    
      CheckCaseOnly On
      CheckSpelling On
    
    

    The CheckSpelling operative makes Apache perform a more involved effort to find a match e.g. correcting common spelling mistakes

提交回复
热议问题