How do I make URLs case insensitive in Linux server

后端 未结 4 1746
被撕碎了的回忆
被撕碎了的回忆 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 06:00

    Hi I got the solution finally. Placed the below code in /etc/httpd/conf/httpd.conf.

    LoadModule speling_module modules/mod_speling.so
    
    
      CheckSpelling On
      CheckCaseOnly On
    
    

    Then restart httpd:

    sudo service httpd restart
    

    And finally verify it is enabled:

    sudo httpd -M | grep speling
    

    That should yield speling_module (shared)

    Thanks for the help for all..

提交回复
热议问题