http://vendetta.bloghome.com.tw/
時間記憶
最新評論
我的公告
我的相冊
最新留言
我的好友
用戶登入
友情連結
部落信息



日誌
讓Awstats中搜尋的關鍵字正常顯示的方法!! | 2007/6/5 上午 11:39:00

AWStats分析報表中,有關搜尋的關鍵字句會變成亂碼的主因,是因為現在的搜尋引擎都是使用UTF8,而Awstats是使用Big5,所以在顯示上會出現亂碼。

要解決此問題,就是把awstats設定中的LoadPlugin="decodeutfkeys"啟動。就可以了

# Plugin: DecodeUTFKeys
# Perl modules required: Encode and URI::Escape
# Allow AWStats to show correctly (in language charset) keywords/keyphrases
# strings even if they were UTF8 coded by the referer search engine.
#
LoadPlugin="decodeutfkeys"

在執行時,需要Perl的Encode 與 URI::Escape模組,所以如果在執行時出現錯誤,可以先把這兩個模組裝起來。然後再去執行網頁看看。

閱讀全文 | 回復(0) | 引用通告 | 編輯 | By: V怪客
  • 標籤:awstats 
  • 發表評論:

      大名:
      密碼: (遊客無須輸入密碼)
      主頁:
      標題:
    Design by blog.nfhot.com / Copyright http://nfhot.com 2006-2008 reserved
    Powered by 家天下 Hosted By: