{"id":467,"date":"2015-04-25T08:08:06","date_gmt":"2015-04-25T14:08:06","guid":{"rendered":"http:\/\/bozhidar.maramski.com\/?p=467"},"modified":"2015-04-25T08:15:00","modified_gmt":"2015-04-25T14:15:00","slug":"webalizer-wery-simple","status":"publish","type":"post","link":"https:\/\/bogi.maramski.com\/?p=467","title":{"rendered":"webalizer very simple"},"content":{"rendered":"<p>collect log data for cpecific virtualhost:<\/p>\n<p>touch \/var\/log\/apache2\/mywwwfiles_access_log<\/p>\n<p>in apache virtualhost configuration you need to have:<br \/>\nCustomLog \/var\/log\/apache2\/mywwwfiles_access_log combined<\/p>\n<p>save and reload apache<\/p>\n<p>\/etc\/init.d\/apache2 reload<\/p>\n<p>then setup webalizer files:<\/p>\n<p>mkdir -p \/home\/mywwwfiles\/webalizer<br \/>\ncp \/etc\/webalizer\/webalizer.conf \/home\/mywwwfiles\/webalizer<br \/>\ncd \/home\/mywwwfiles\/webalizer<br \/>\nnano webalizer.conf<\/p>\n<p>you need to edit only these three:<\/p>\n<p>LogFile \/var\/log\/apache2\/mywwwfiles_access_log<br \/>\nOutputDir \/home\/mywwwfiles\/webalizer<br \/>\nHostName        mywwwfiles.com<\/p>\n<p>then run <\/p>\n<p>webalizer -q<\/p>\n<p>that will create all html files<\/p>\n<p>enjoy \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>collect log data for cpecific virtualhost: touch \/var\/log\/apache2\/mywwwfiles_access_log in apache virtualhost configuration you need to have: CustomLog \/var\/log\/apache2\/mywwwfiles_access_log combined save and reload apache \/etc\/init.d\/apache2 reload then setup webalizer files: mkdir -p \/home\/mywwwfiles\/webalizer cp \/etc\/webalizer\/webalizer.conf \/home\/mywwwfiles\/webalizer cd \/home\/mywwwfiles\/webalizer nano webalizer.conf you need to edit only these three: LogFile \/var\/log\/apache2\/mywwwfiles_access_log OutputDir \/home\/mywwwfiles\/webalizer HostName mywwwfiles.com then run webalizer [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-467","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/bogi.maramski.com\/index.php?rest_route=\/wp\/v2\/posts\/467"}],"collection":[{"href":"https:\/\/bogi.maramski.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bogi.maramski.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bogi.maramski.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bogi.maramski.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=467"}],"version-history":[{"count":5,"href":"https:\/\/bogi.maramski.com\/index.php?rest_route=\/wp\/v2\/posts\/467\/revisions"}],"predecessor-version":[{"id":473,"href":"https:\/\/bogi.maramski.com\/index.php?rest_route=\/wp\/v2\/posts\/467\/revisions\/473"}],"wp:attachment":[{"href":"https:\/\/bogi.maramski.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=467"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bogi.maramski.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=467"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bogi.maramski.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}