Apache中区分大小写的网址 [英] Case sensitive urls in apache

查看:81
本文介绍了Apache中区分大小写的网址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何伙伴都会帮助我使我的网址不敏感..我想使domain.com/url.ext就像domain.com/Url.EXT

Will any buddy help me to make my urls insensitive .. i want to make domain.com/url.ext is just like domain.com/Url.EXT

记住

CheckSpelling on

不起作用

推荐答案

您可以使用mod_speling模块轻松完成此操作,该模块是标准的Apache分发:

You can easily done by using the mod_speling module, which is part of the standard apache distribution:

CheckSpelling On
CheckCaseOnly On

CheckSpelling On CheckCaseOnly On

重启httpd后,您可以访问ABC Abc或abc

After restarting httpd you can access ABC as Abc or abc

这篇关于Apache中区分大小写的网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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