<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>the alpha newswire - Latest Comments</title><link xmlns="http://www.w3.org/2005/Atom" rel="http://api.friendfeed.com/2008/03#sup" href="http://disqus.com/sup/all.sup#forumcomments-4ad8fd8e" type="application/json"/><link>http://kejadlen.disqus.com/</link><description></description><atom:link href="http://kejadlen.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 25 Feb 2010 15:55:46 -0000</lastBuildDate><item><title>Re: AWStats with lighttpd on Ubuntu</title><link>http://kejadlen.net/2007/12/02/awstats-with-lighttpd-on-ubuntu.html#comment-36494506</link><description>&lt;p&gt;Thanks for the tips! Got it working, but with a small tweak. If anyone else is trying to get awstats working with a path versus subdomain (&lt;a href="http://domain.com/stats" rel="nofollow"&gt;domain.com/stats&lt;/a&gt; versus &lt;a href="http://stats.domain.com" rel="nofollow"&gt;stats.domain.com&lt;/a&gt;) then you have to alter the lighttpd.conf file slightly from above. The reason is that awstats uses img sources like "/icon/...". Notice the "/" at the beginning, which means go to the root and look for "/icon/" (instead of "/stats/icon").&lt;/p&gt;

&lt;p&gt;Here's my fix:&lt;br&gt;[code]alias.url += ( "/icon/" =&amp;gt; "/usr/share/awstats/icon/" )&lt;br&gt;$HTTP["url"] =~ "^/stats/" {&lt;br&gt;    alias.url += ( "/stats/" =&amp;gt; "/usr/lib/cgi-bin/" )&lt;br&gt;    cgi.assign = ( ".pl" =&amp;gt; "/usr/bin/perl",&lt;br&gt;                   ".cgi" =&amp;gt; "/usr/bin/perl" )&lt;br&gt;}[/code]&lt;br&gt;NOTE: If you do this, don't use a directory named "icon" in your domain, it'll be redirected to awstats!!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jordan</dc:creator><pubDate>Thu, 25 Feb 2010 15:55:46 -0000</pubDate></item></channel></rss>