How do I make Linux server urls case insensitive?

2019-09-21 09:20发布

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 localhost:80/tom/Read or ../READ or /read it need to navigate to read.php inside a read folder. I am struggling from 2 days. Please possible do the needful.

Thanks

标签: php linux
2条回答
男人必须洒脱
2楼-- · 2019-09-21 09:51

You could point the Document Root at a path upon which you mount a case-insensitive filesystem (FAT32 for example), or use something along the lines of mod_spelling.

查看更多
放荡不羁爱自由
3楼-- · 2019-09-21 09:54
登录 后发表回答