我希望我的网站有"案件敏感"网址 [英] I want my site to have "case in-sensitive" url

查看:106
本文介绍了我希望我的网站有"案件敏感"网址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使URL案件敏感
www.mysite.com/Boss/ =>作品

www.mysite.com/boss/ =>不工作
www.mysite.com/BOSS/ =>不工作
www.mysite.com/boSS/ =>不工作

有没有办法做到这一点使用htaccess的或任何其他方式。
服务器运行在Linux上。
mod_speling被禁用

how to make url case in-sensitive
www.mysite.com/Boss/ => Works
but
www.mysite.com/boss/ => not working
www.mysite.com/BOSS/ => not working
www.mysite.com/boSS/ => not working

is there any way to do this using htaccess or any other way.
the server is running on linux.
mod_speling is disabled

推荐答案

您应该启用mod_speling

You should enable mod_speling

CheckSpelling On

来源和参考

这篇关于我希望我的网站有"案件敏感"网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆