<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>blog.lundscape.com &#187; AWStats</title>
	<atom:link href="http://blog.lundscape.com/tag/awstats/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.lundscape.com</link>
	<description>The Linux Journey</description>
	<lastBuildDate>Tue, 31 Jan 2012 01:55:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>AWStats on Ubuntu Server</title>
		<link>http://blog.lundscape.com/2009/02/awstats-on-ubuntu-server/</link>
		<comments>http://blog.lundscape.com/2009/02/awstats-on-ubuntu-server/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 23:46:23 +0000</pubDate>
		<dc:creator>Zachary Lund</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[AWStats]]></category>
		<category><![CDATA[Cron]]></category>

		<guid isPermaLink="false">http://blog.lundscape.com/?p=30</guid>
		<description><![CDATA[Since I am running this blog on my own server, I decided I should probably set up some log parsing. My <a href="http://www.zacintosh.com/">personal website</a> is hosted by <a href="http://www.nearlyfreespeech.net/">Nearly Free Speech</a>, and they provide <a href="http://awstats.sourceforge.net/">AWStats</a> for statistics. Another <a href="http://www.twincitiestec.org/">site</a> I administer is hosted by <a href="http://www.dreamhost.com/">DreamHost</a>. DreamHost provides <a href="http://www.analog.cx/">Analog</a> web statistics. After playing with both, I decided to use AWStats.]]></description>
			<content:encoded><![CDATA[<p>Since I am running this blog on my own server, I decided I should probably set up some log parsing. My <a href="http://www.zacintosh.com/">personal website</a> is hosted by <a href="http://www.nearlyfreespeech.net/">Nearly Free Speech</a>, and they provide <a href="http://awstats.sourceforge.net/">AWStats</a> for statistics. Another <a href="http://www.twincitiestec.org/">site</a> I administer is hosted by <a href="http://www.dreamhost.com/">DreamHost</a>. DreamHost provides <a href="http://www.analog.cx/">Analog</a> web statistics. After playing with both, I decided to use AWStats.</p>
<p>Ubuntu Tutorials has provided a nice <a href="http://ubuntu-tutorials.com/2008/01/16/configuring-awstats-on-ubuntu-server/">tutorial</a> about setting up AWStats on Ubuntu. I configured my sites individually with no default site in the following files:</p>
<pre>/etc/awstats/awstats.blog.lundscape.com.conf
/etc/awstats/awstats.claude.zacintosh.com.conf
/etc/awstats/awstats.wiki.lundscape.com.conf</pre>
<p>This means that browsing to &#8220;http://domain.tld/awstats/awstats.pl&#8221; as they suggest won&#8217;t work. Instead, I append the site to the end of the string like this: &#8220;http://domain.tld/awstats/awstats.pl?config=blog.lundscape.com&#8221;.</p>
<p>Also, rather than adding entries to my crontab, I simply added a script to my &#8220;/etc/cron.hourly&#8221;:</p>
<pre>#! /bin/bash

/usr/lib/cgi-bin/awstats.pl -config=blog.lundscape.com \
	-update > /dev/null 2>&#038;1
/usr/lib/cgi-bin/awstats.pl -config=claude.zacintosh.com \
	-update > /dev/null 2>&#038;1
/usr/lib/cgi-bin/awstats.pl -config=wiki.lundscape.com \
	-update > /dev/null 2>&#038;1</pre>
<p>This automatically updates my AWStats every hour whether I view my statistics in a web browser or not.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lundscape.com/2009/02/awstats-on-ubuntu-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

