首先确认Apache已经编译了 mod_speling 模块,且在目录 /www/server/apache/modules中存在mod_speling.so
在/usr/local/apache/conf/httpd.conf中加上
LoadModule speling_module modules/mod_speling.so
CheckSpelling On
宝塔安装的apache模块路径为:
/www/server/apache/modules

只需要在配置文件中开启即可
前面的#注释去掉,然后重启服务即可

此时项目已不再区分大小写。
1万+

被折叠的 条评论
为什么被折叠?



