Daily Archive for Saturday, April 16th, 2005

awstats 算 per-directory 的方式

剛在 awstats 的網頁上找到了計算 per directory 量的方法:

ExtraSectionName1="Directory under /pub"
ExtraSectionCodeFilter1="200 304"
ExtraSectionCondition1="URL,^\/vinum\/services\/ftp\/pub\/.*"
ExtraSectionFirstColumnTitle1="Directory name"
ExtraSectionFirstColumnValues1="URL,^\/vinum\/services\/ftp\/pub\/([\w]+)\/"
ExtraSectionStatTypes1=PHB
MaxNbOfExtra1=50
MinHitExtra1=1