茫茫網海中的冷日 - 對這文章發表回應
茫茫網海中的冷日
         
茫茫網海中的冷日
發生過的事,不可能遺忘,只是想不起來而已!
 恭喜您是本站第 1729938 位訪客!  登入  | 註冊
主選單

Google 自訂搜尋

Goole 廣告

隨機相片
IMG_60D_00117.jpg

授權條款

使用者登入
使用者名稱:

密碼:


忘了密碼?

現在就註冊!

對這文章發表回應

發表限制: 非會員 可以發表

發表者: 冷日 發表時間: 2008/8/25 9:30:05
Awstats 正常顯示搜尋引擎 UTF-8 關鍵字的方法

這個應該不是新聞了,在Awstats ChangeLog 就有寫到 6.0 開始加入 decodeUTFkeys 這個 plugin 來處理搜尋引擎的 UTF8 關鍵字。

使用的方法也很簡單,在網站的設定檔 awstats.xxx.conf 裡面找到 :


#LoadPlugin="decodeutfkeys"

把# 字註解去掉就可以了。

但是要注意的是,這個 plugin 有使用到 Perl 的 Encode Module,如果系統沒有的話會出現下列的訊息:

Error: Plugin load for plugin 'decodeutfkeys' failed with return code:
Error: Can't locate Encode.pm in @INC (@INC
contains: /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1
/usr/local/lib/site_perl . ./lib ./plugins) at (eval 1) line 1.

可以自行下載來手動安裝:
http://search.cpan.org/~dankogai/Encode-2.10/Encode.pm

由 Neo 發表於 May 31, 2005 03:55 AM
原文出處:Neo's Blog

內容圖示
url email imgsrc image code quote
樣本
bold italic underline linethrough   












 [詳情...]
validation picture

注意事項:
預覽不需輸入認證碼,僅真正發送文章時才會檢查驗證碼。
認證碼有效期10分鐘,若輸入資料超過10分鐘,請您備份內容後,重新整理本頁並貼回您的內容,再輸入驗證碼送出。

選項

Powered by XOOPS 2.0 © 2001-2008 The XOOPS Project|