apache mod_speling.so 忽略URL大小写(自动纠错)

 

apache mod_speling.so 忽略URL大小写(自动纠错)

 

打开配置文件  httpd.conf

加入

LoadModule speling_module modules/mod_speling.so

 

在 <Directory /></Directory> 加入 

CheckSpelling on

如:

<Directory />

CheckSpelling on //开启Speling 忽略URL大小写

Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all


</Directory>

 

posted @ 2014-11-14 09:43  geniusxjq  阅读(505)  评论(0编辑  收藏  举报