Awstats

Awstats - 如何禁用機器人檢測?

  • May 24, 2014

我可以在這裡讀到Awstats 檢測到機器人/蜘蛛“報告/過濾機器人(檢測到 nb)”。

這是該頁面的引用:

AWStats 可以檢測機器人訪問:檢測到所有最常見的機器人,列表在 robotslist.txt (250Kb) 中。無法做到這一點的產品會給您提供虛假資訊,尤其是在您的網站訪問者很少的情況下。例如,如果您的網站已送出給所有著名的搜尋引擎,機器人每月可以進行 500 次訪問,以查找更新或查看您的網站是否仍然線上。所以,如果你一個月只有 2000 次訪問,沒有機器人檢測功能的產品會報告 2500 次訪問(25% 的錯誤!)。AWSStats 將報告來自機器人的 500 次訪問和來自人類訪問者的 2000 次訪問。Sawmill Analytics 使用基於 robotstxt.org 數據庫的“目前活動”機器人列表。

我還可以從展示報告中看到,它將機器人訪問與人類訪問分開: http ://www.nltechno.com/awstats/awstats.pl?config=destailleur.fr

我需要配置 Awstats 以將機器人訪問與人類相同。我不希望 Awstats 對機器人和人類造成任何影響。所有機器人訪問都應添加到“查看的流量 *”中。

可以這樣配置 Awstats 嗎?如果是,如何?我一直在閱讀文件,但除了這個之外我找不到任何有用的東西:

LevelForRobotsDetection=2 # 0 disables Robots detection. 

這就是我要找的嗎?如果我將其設置為 0,機器人訪問量是否會添加到總訪問量中,或者這種情況下的機器人將從報告中刪除?

任何幫助,將不勝感激。

Awstats 文件說

6.0+ for LevelForFileTypesDetection, LevelForSearchEnginesDetection, LevelForKeywordsDetection, LevelForWormsDetection

# Following values allows you to define accuracy of AWStats entities (robots, 
# browsers, os, referers, file types) detection. 
# It might be a good idea for large web sites or ISP that provides AWStats to 
# high number of customers, to set this parameter to 1 (or 0), instead of 2. 
# Possible values: 
# 0 = No detection, 
# 1 = Medium/Standard detection 
# 2 = Full detection 
# Change : Effective for new updates only 
# Default: 2 (0 for LevelForWormsDetection) 

所以它看起來LevelForRobotsDetection=0會做你想要的,它也應該很容易測試。

引用自:https://serverfault.com/questions/598356