awstats的web report页面里显示搜索关键字乱码的问题

awstats是一套非常好用的免费的日志分析软件

他是用perl实现的,支持web log、ftp log和mail log

而且它还能自动根据你浏览器的字符设置来选取语言(支持中文)

但是缺省安装的话有个问题

就是用来搜索的关键字如果是中文的话

显示出来是乱码的

这个问题其实好解决

在配置文件中把decodeutfkeys这个plugin打开就可以了

具体就是这一句:

LoadPlugin="decodeutfkeys"

不过打开这个plugin

需要perl模块儿Encode和URI::Escape的支持

Discussion Area - Leave a Comment




*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word