|
|
本館粉絲專頁 |
|
|
使用者:Minwei/資訊筆記/日誌分析:修訂版本之間的差異
台灣棒球維基館
< 使用者:Minwei | 資訊筆記
(新頁面: 日誌分析 - AWStats (Advanced Web Statistics) =安裝awstats= <pre>yum install awstats-6.7</pre> =配置awstats= <pre>/usr/share/awstats/tools/awstats_configure.pl</pre> =執行a...) |
(→重新啟動crond) |
||
| 第56行: | 第56行: | ||
註:這網站用firefox瀏覽比較好 | 註:這網站用firefox瀏覽比較好 | ||
| + | |||
| + | 銘禪找到的[http://blog.zipe.idv.tw/2008/02/awstats.html 參考資料] | ||
2008年6月13日 (五) 11:04的最新修訂版本
日誌分析 - AWStats (Advanced Web Statistics)
目次 |
[編輯] 安裝awstats
yum install awstats-6.7
[編輯] 配置awstats
/usr/share/awstats/tools/awstats_configure.pl
[編輯] 執行awstats
/usr/share/awstats/tools/awstats_updateall.pl now
[編輯] 修改/etc/httpd/conf.d/awstats.conf
以下是片斷
<Directory "/usr/share/awstats/wwwroot">
AuthUserFile /usr/share/awstats/wwwroot/.htpasswd
AuthName "ndap awstats"
AuthType Basic
require valid-user
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
註:/usr/share/awstats/wwwroot/.htpasswd是密碼檔,可下以是指令產生:
cd /usr/share/awstats/wwwroot htpasswd -c .htpasswd [User]
[User]是帳號,之後再打兩次密碼
[編輯] 重新啟動httpd
/etc/init.d/httpd restart
[編輯] 重新啟動crond
/etc/init.d/crond restart
瀏覽網頁:(省略)
註:瀏覽此網頁不能打IP
更多awstats資料請參閱:http://awstats.sourceforge.net
註:這網站用firefox瀏覽比較好
銘禪找到的參考資料