`

apache speling_module - URL忽略大小写

    博客分类:
  • webs
阅读更多
【基本介绍】
这里我们介绍apache的speling_module模块,该模块支持URL忽略大小写。windows端大小写不敏感,linux端大小写敏感。

【speling_module】
检查是否有speling_module模块
[root@xxmodules]# ls -ld /etc/httpd/modules/mod_speling.so 
-rwxr-xr-x. 1 root root 14608 Jul 23 22:18 /etc/httpd/modules/mod_speling.so

检查是否已经加载speling_module模块
LoadModule speling_module modules/mod_speling.so

启动speling
在某个虚拟机的Directory里面添加参数CheckSpelling On.启动speling.
例如:
<VirtualHost *:80>
    DocumentRoot /www/html/xxx/xxxx
    ServerName xxx
    CheckSpelling On
    ErrorLog  "|/usr/sbin/rotatelogs /www/log/gundam-zj.sb.91dena.com-error-%d%m%Y_log 86400 480"
    CustomLog "|/usr/sbin/rotatelogs /www/log/gundam-zj.sb.91dena.com-access-%d%m%Y_log 86400 480" common
</VirtualHost>



【参考引用】
http://yaksayoo.blog.51cto.com/510938/139381/
分享到:
评论

相关推荐

    tomcat_apache共享动态连接库

    LoadModule speling_module modules/mod_speling.so LoadModule userdir_module modules/mod_userdir.so LoadModule alias_module modules/mod_alias.so LoadModule rewrite_module modules/mod_rewrite.so

    解决Linux+Apache服务器URL区分大小写问题

    今天同步碰到一个问题,在浏览器地址栏中输入URL地址时,必须要区分大小写才能正常访问页面,网站服务器是Linux+Apache 造成此现象主要原因是缺少speling模块,因此只要在相应的系统里加载就可以了。 一、Debian系统...

    Apache HTTP Server Version 2.2 文档(2013.4.10最新)

    mod_speling mod_ssl mod_status mod_suexec mod_unique_id mod_userdir mod_usertrack mod_version mod_vhost_alias mpmt_os2(MPM) Apache MPM 公共指令 mpm_netware(MPM) winnt(MPM) prefork(MPM) 指令速查 worker...

    clj-spellchecker:Clojure 中的拼写检查器

    由于我不想在Git中提交一个大文件,所以项目包含一个小文件。 如果您希望拼写检查器提供更好的结果, ! 跑步 $ git clone https://github.com/prakhar1989/spellchecker $ cd spellchecker #optional step $mv ~...

    【最新版】Dictionaries-322.zip【亲测可用】最好的翻译词典

    如果一个人是不是已经包含在MacOS上,字典将安装一个拼写检查字典,帮助您避免发送深夜电子邮件FUL的speling mistaks。 发音 当您学习或练习一种新语言时,词典将帮助您正确发音,并使您的口语能力达到一个全新的...

    ChatGPT论文提问模板.zip

    want you to act as an English translator, speling corrector and writing improver. will speak to you inany lanquage and you will detect the language, translate it and answer in the corrected and ...

    21行Python代码实现拼写检查器

    大家在使用谷歌或者百度搜索时,输入搜索内容时,谷歌总是能提供非常好的拼写检查,比如你输入 speling,谷歌会马上返回 spelling。 下面是用21行python代码实现的一个简易但是具备完整功能的拼写检查器。 代码 ...

Global site tag (gtag.js) - Google Analytics