• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
Whokay 必ず勝つ!頑張ろう!
博客园    首页    新随笔    联系   管理    订阅  订阅
ubuntu上apache大小写不敏感的配置 case insensitive
  1. From the command line, type sudo su to get root privileges.
  2. nano /etc/apache2/mods-available/speling.conf
  3. Type CheckSpelling on and hit ctrl-x, y to exit and save the file.
  4. type a2enmod and then speling and hit enter.
  5. type /etc/init.d/apache2 reload to reload apache.
  6. Mistype a url to test it.

 

步骤:

vim /etc/apache2/mods-available/speling.conf

输入 CheckSpelling on 到speling.conf文件中,并保存退出

输入a2enmod speling,回车载入模块

重启apache2

 

步骤不要搞错了。

 

http://keystoneit.wordpress.com/2007/02/19/making-apache-case-insensitive/

posted on 2014-04-06 23:18  Vince  阅读(695)  评论(0)    收藏  举报
刷新页面返回顶部
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3