How do I make URLs case insensitive in Linux server

后端 未结 4 1749
被撕碎了的回忆
被撕碎了的回忆 2020-12-05 05:17

I am working a website which is deployed on a Linux server. I have small changes to do on that. I have folder read. The requirement is that if I enter the URL <

4条回答
  •  庸人自扰
    2020-12-05 05:47

    You can easily make the apache webserver ignore the case by using the mod_speling module, which is part of the standard apache distribution:

    CheckSpelling On
    CheckCaseOnly On
    

    After restarting httpd you can access read as Read or READ or read.

提交回复
热议问题