<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0.3" -->
<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/"
	>

<channel>
	<title>Cedar's Stuff</title>
	<link>http://aliandcedar.com/cedar</link>
	<description>Yeah, so what?</description>
	<pubDate>Mon, 08 May 2006 16:55:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.3</generator>
	<language>en</language>
			<item>
		<title>I&#8217;m a brainwashed commando</title>
		<link>http://aliandcedar.com/cedar/2005/10/24/im-a-brainwashed-commando/</link>
		<comments>http://aliandcedar.com/cedar/2005/10/24/im-a-brainwashed-commando/#comments</comments>
		<pubDate>Mon, 24 Oct 2005 21:41:49 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
		
	<category>Dreams</category>
		<guid isPermaLink="false">http://aliandcedar.com/cedar/?p=81</guid>
		<description><![CDATA[
In my dream I was reading a history book about marines fighting in Iraq during Desert Storm. It was about these young people flying f-15 fighter jets into combat and getting shot down, then having to fight in the desert. Then I noticed that one of the marines was named &#8220;Cedar McKay&#8221;. WTF? So I [...]]]></description>
			<content:encoded><![CDATA[<p><center><img src='http://aliandcedar.com/wordpress_uploads/jets.jpg' alt='jets' /></center><br />
In my dream I was reading a history book about marines fighting in Iraq during Desert Storm. It was about these young people flying f-15 fighter jets into combat and getting shot down, then having to fight in the desert. Then I noticed that one of the marines was named &#8220;Cedar McKay&#8221;. WTF? So I started to look at other names and noticed that all of them were Westtown (my quaker high-school) graduates and my former class-mates. I started investigating and discovered that rather than a peaceful little boarding school run by pacifist quakers, Westtown was secretly a training camp for creating brain-washed commandos who forget their true identities after completing a mission. Yes &#8230;.. I am crazy.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://aliandcedar.com/cedar/2005/10/24/im-a-brainwashed-commando/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Change webserver port in OS X</title>
		<link>http://aliandcedar.com/cedar/2005/09/14/change-webserver-port-in-os-x/</link>
		<comments>http://aliandcedar.com/cedar/2005/09/14/change-webserver-port-in-os-x/#comments</comments>
		<pubDate>Wed, 14 Sep 2005 18:14:44 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
		
	<category>Macs</category>
		<guid isPermaLink="false">http://aliandcedar.com/cedar/2005/09/14/change-webserver-port-in-os-x/</guid>
		<description><![CDATA[A while ago with the Code Red virus making an ass of Microsoft and its users, many cable internet providers (including mine) started blocking port 80, the default port that web pages are served on. Now I&#8217;m using DSL and serving on port 80 again, but to work around ISP blocking of port 80 I [...]]]></description>
			<content:encoded><![CDATA[<p>A while ago with the Code Red virus making an ass of Microsoft and its users, many cable internet providers (including mine) started blocking port 80, the default port that web pages are served on. Now I&#8217;m using DSL and serving on port 80 again, but to work around ISP blocking of port 80 I had to change which port Apache used to serve the site. Once you do this you also need to change the address you type into your browser to get to your site. For instance if you were serving at an address such as (in my case) aliandcedar.com now you need to type in aliandcedar.com:400, where &#8220;400&#8243; is the new port number I chose to serve from. Keep in mind that you don&#8217;t need your own domain name. You could just use your IP address rather than a domain name.</p>
<ol style="list-style:decimal;">
<li>Figure out how to <a href="/cedar/computer-stuff/edit-a-file-as-root-is-os-x/">open text files as root</a>.</li>
<li>navigate to or find <code>/private/etc/httpd/</code></li>
<li>From that directory make a backup copy of &#8220;httpd.conf&#8221; put it somewhere safe</li>
<li>Open &#8220;httpd.conf&#8221; as root.</li>
<li>Look around! This is an interesting file that controls how your apache works. You can learn a lot just by looking.</li>
<li>find this line of text: <code>Port 80</code></li>
<li>Now change this to read:<br />
<code>Port newnumber</code> where &#8220;newnumber&#8221; is the new port number you have chosen. You need to choose a number that is will not be used by another application or process. I chose 400, though I had no good reason for doing so. Folks with more knowledge than me may understand the rational for choosing certain port numbers.</li>
<li>Save your changes</li>
<li>Stop and Start &#8220;Personal Web Sharing&#8221; from the Preferences Panel</li>
<li>Good luck!</li>
</ol>
]]></content:encoded>
			<wfw:commentRSS>http://aliandcedar.com/cedar/2005/09/14/change-webserver-port-in-os-x/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Passwords with .htaccess</title>
		<link>http://aliandcedar.com/cedar/2005/09/14/passwords-with-htaccess/</link>
		<comments>http://aliandcedar.com/cedar/2005/09/14/passwords-with-htaccess/#comments</comments>
		<pubDate>Wed, 14 Sep 2005 18:12:51 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
		
	<category>Linux</category>
	<category>Macs</category>
		<guid isPermaLink="false">http://aliandcedar.com/cedar/2005/09/14/passwords-with-htaccess/</guid>
		<description><![CDATA[I wanted a page of my site to be password protected. Using something called .htaccess with apache you can control who has access to your site. Remember this is not a high security solution, but something to keep regular folks out of certain sections of your site. I learned most of this from Justin Miller&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted a page of my site to be password protected. Using something called .htaccess with apache you can control who has access to your site. Remember this is not a high security solution, but something to keep regular folks out of certain sections of your site. I learned most of this from <a href="http://www.openup.com/justin/authentication/">Justin Miller&#8217;s website</a>, but his is not OS X specific. However, it is more detailed than mine. I suggest you check it out. Overview: you are enabling a feature of apache that lets you put configuration files (called .htaccess files) throughout your web site. If you put a .htaccess file in a folder the configuration options (including access limits) you set within will affect everything in that folder and above. Keep in mind that .htaccess overrides your global httpd.conf file, but only where allowed by that same httpd.conf file. Also keep in mind that I am no expert at this. The setup I am about to describe may give too much power to each of your users. I set it up this way because I trust all of the users of my machine, but if you are configuring for less trustworthy users I suggest you do a little more research. OK, here we go.</p>
<ol style="list-style:decimal;">
<li>Figure out how to <a href="/cedar/computer-stuff/edit-a-file-as-root-is-os-x/">open text files as root</a>.</li>
<li>navigate to or find <code>/private/etc/httpd/</code></li>
<li>From that directory make a backup copy of &#8220;httpd.conf&#8221; put it somewhere safe</li>
<li>Open &#8220;httpd.conf&#8221; as root.</li>
<li>Look around! This is an interesting file that controls how your apache installation works. You can learn a lot just by looking.</li>
<li>Search for this line: <code>Directory "/Library/Web server/Documents"</code></li>
<li>Now look a few of lines down. Change <code>Options Indexes FollowSymLinks MultiViews</code> to <code>Options All MultiViews</code></li>
<li>Below that change <code>AllowOverride None</code> to <code>AllowOverride All</code></li>
<li>Save the config file. Now do this <code>cd /private/etc/httpd/users/</code>. Now type <code>ls</code> You should see files called &#8220;user.conf&#8221; with your name substituted for &#8220;user&#8221;. Open the appropriate .conf file as you learned before.</li>
<li>Change  <code>Options Indexes FollowSymLinks MultiViews</code> to <code>Options All MultiViews</code></li>
<li>Below that change <code>AllowOverride None</code> to <code>AllowOverride All</code>. Now save the file.</li>
<li>Restart apache by using the sharing control panel, in System Preferences.
</li>
<li>OK! Apache is configured. Now you need to make an encrypted password file.</li>
<ul>
<li>Navigate in the terminal to the directory you want your password file to reside. Important!: You must put this file outside the web page directory tree, that is, somewhere other than your Sites directory. Otherwise bad people can just look at this file!</li>
<li>in the terminal type <code>htpasswd -c .htpasswd yourname</code> which will prompt you for the password. This will create a file called .htpasswd in the directory that you are currently in. If you want to update the file, perhaps adding new usernames, just do the same thing omitting the -c (create) flag </li>
</ul>
<li> Now you need to create a .htaccess file: </li>
<ul>
<li>
make a new text file called .htaccess.
</li>
<li>put in this text replacing the appropriate parts. &#8220;yourpath/.htpasswd&#8221; will of course just be the path to the file you created in the last step.<br />
<code>AuthUserFile /yourpath/.htpasswd<br />
AuthName 'your sitename (or whatever)'<br />
AuthType Basic<br />
require user yourname yourname2 yourname3</code></p>
</li>
<li>Save in the directory that you wish these restrictions to apply to.</li>
</ul>
<li>You can create additional .htaccess files in any part of your web directory tree. Each will apply to all files and directories under it unless another .htaccess file is there.</li>
<li>Done! Go crazy.</li>
</ol>
]]></content:encoded>
			<wfw:commentRSS>http://aliandcedar.com/cedar/2005/09/14/passwords-with-htaccess/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Enable PHP in OS X</title>
		<link>http://aliandcedar.com/cedar/2005/09/14/enable-php-in-os-x/</link>
		<comments>http://aliandcedar.com/cedar/2005/09/14/enable-php-in-os-x/#comments</comments>
		<pubDate>Wed, 14 Sep 2005 18:09:57 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
		
	<category>Macs</category>
		<guid isPermaLink="false">http://aliandcedar.com/cedar/2005/09/14/enable-php-in-os-x/</guid>
		<description><![CDATA[This works if  you are running OS X 10.2.3 or (hopefully this will work with future updates too) later.Apple ships apache with OS X. It also ships with php, but is disabled by default.  With a single click of the mouse at the sharing control panel you can start serving a web page [...]]]></description>
			<content:encoded><![CDATA[<p>This works if  you are running OS X 10.2.3 or (hopefully this will work with future updates too) later.<br />Apple ships apache with OS X. It also ships with php, but is disabled by default.  With a single click of the mouse at the sharing control panel you can start serving a web page using apache! But if you want to do a couple of more advanced things, like use php suddenly you are neck deep in .config files and using the command line. Scary. Here are the simple(ish) steps to get php working. This is meant to get php working for you fast, not to explain what you are doing or why.</p>
<ol>
<li>Figure out how to <a href="/cedar/computer-stuff/edit-a-file-as-root-is-os-x/">open text files as root</a>.</li>
<li>navigate to or find <code>/private/etc/httpd/</code></li>
<li>From that directory make a backup copy of &#8220;httpd.conf&#8221; put it somewhere safe</li>
<li>Look around! This is an interesting file that controls how your apache works. You can learn a lot just by looking.</li>
<li>find these two lines of text:</li>
<ul>
<li> <code>LoadModule php4_module</code></li>
<li><code>AddModule mod_php4.c</code></li>
</ul>
<li>Remove the &#8220;#&#8221; sign from in front of each line. This &#8220;uncomments&#8221; it, making it readable by apache. Save your changes.</li>
<li>Find the following text:
<p><code># AddType allows you to tweak mime.types without actually editing it, or to</code></p>
<p><code>  # make certain files to be certain types.</code></p>
<p>and replace it with:</p>
<p><code># AddType allows you to tweak mime.types without actually editing it, or to<br />
# make certain files to be certain types.<br />
For PHP 4.x, use:<br />
AddType application/x-httpd-php .php<br />
</code></li>
<li>Restart apache by using the sharing control panel, or typing <code>sudo apachectl restart</code> (thats an &#8220;L&#8221; at the end of &#8220;apachectl&#8221; not a numeral &#8220;1&#8243;</li>
<li>Create a web page called test.php or whatever, and put in this in the body of your page: <code>&lt;?php phpinfo(); ?&gt;</code>.</li>
<li>view this page in a browser. Make sure you are not looking at the local file, but at the page using your internet address, as if you were an outside visitor. This will show you all sorts of cool stuff about your configuration, and confirm that php is working.</li>
<li>Good Luck!</li>
</ol>
]]></content:encoded>
			<wfw:commentRSS>http://aliandcedar.com/cedar/2005/09/14/enable-php-in-os-x/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Edit a file as root in OS X</title>
		<link>http://aliandcedar.com/cedar/2005/09/14/edit-a-file-as-root-in-os-x/</link>
		<comments>http://aliandcedar.com/cedar/2005/09/14/edit-a-file-as-root-in-os-x/#comments</comments>
		<pubDate>Wed, 14 Sep 2005 18:04:34 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
		
	<category>Macs</category>
		<guid isPermaLink="false">http://aliandcedar.com/cedar/2005/09/14/edit-a-file-as-root-in-os-x/</guid>
		<description><![CDATA[To edit some config files that control how certain aspects of your OS X machine operate, (for example, your webserver) you need to be able to edit certain files as &#8220;root&#8221;. If you don&#8217;t know what &#8220;root&#8221; is, you shouldn&#8217;t be doing it, or you need to do a bit more research.
There are a number [...]]]></description>
			<content:encoded><![CDATA[<p>To edit some config files that control how certain aspects of your OS X machine operate, (for example, your webserver) you need to be able to edit certain files as &#8220;root&#8221;. If you don&#8217;t know what &#8220;root&#8221; is, you shouldn&#8217;t be doing it, or you need to do a bit more research.</p>
<p>There are a number of ways to edit files as root.</p>
<ul>
<li>login as root at the OS X login screen (if enabled), then open as usual. This method is not recommended</li>
<li>in the terminal open as root in pico by typing <code>sudo pico path/filename</code></li>
<li>in the terminal open as root in Textedit by typing <code>sudo open -a /Applications/TextEdit.app/ path/filename</code></li>
<li>open using a program like <a href="http://www.barebones.com/products/bbedit/">bbedit</a> (powerful!) or <a href="http://www.barebones.com/products/textwrangler/">textwrangler</a> (free!) that simply ask for a password should you need root privilages to save a file. This is probably the easiest way.</li>
</ul>
]]></content:encoded>
			<wfw:commentRSS>http://aliandcedar.com/cedar/2005/09/14/edit-a-file-as-root-in-os-x/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>SSH without a password</title>
		<link>http://aliandcedar.com/cedar/2005/06/26/ssh-without-a-password/</link>
		<comments>http://aliandcedar.com/cedar/2005/06/26/ssh-without-a-password/#comments</comments>
		<pubDate>Sun, 26 Jun 2005 21:21:07 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
		
	<category>Linux</category>
	<category>Macs</category>
		<guid isPermaLink="false">http://aliandcedar.com/cedar/2005/06/26/ssh-without-a-password/</guid>
		<description><![CDATA[So you don&#8217;t want to have to type a password everytime you login via ssh to a remote machine? Or you have a script that needs to connect via ssh to a remote machine and you don&#8217;t want to have to be there to type in the password? Well, you might want to use a [...]]]></description>
			<content:encoded><![CDATA[<p><center><img src='http://aliandcedar.com/wordpress_uploads/blowfish.jpg' alt='ssh blowfish' /></center>So you don&#8217;t want to have to type a password everytime you login via ssh to a remote machine? Or you have a script that needs to connect via ssh to a remote machine and you don&#8217;t want to have to be there to type in the password? Well, you might want to use a public/private key to authenticate rather than a password.</p>
<p>Lets get the terminology straight. For the purposes of this discussion, we will call the machine you want to login to the &#8220;server&#8221;. The machine you are logging in from (without a password) is the &#8220;client&#8221;.</p>
<p>In order for this to work you must have an account on both machines. Be sure to work on the accounts that you will be loging in to and from respectively.</p>
<ol>
<li>On the client: <code>ssh-keygen -t dsa</code></li>
<li>hit &#8220;enter&#8221; to accept the default file location</li>
<li>hit &#8220;enter&#8221; twice to proceed without a password</li>
<li>Take note of where your public key was saved, then go there</li>
<li>Copy the contents of id_dsa.pub</li>
<li>On the server <code>cd ~/.ssh/</code></li>
<li>Open the file called &#8220;authorized_keys&#8221; (create it if necessary)</li>
<li>Paste the contents of id_dsa.pub into this file, then save the file</li>
<li>Done! You should be able to login via ssh from the client to the server without a password</li>
</ol>
<p>Gotchas and discussion:</p>
<ul>
<li>dsa seems to be a solid choice for encryption type, over for instance, rsa. However, I&#8217;m not an expert, so you should satisfy yourself as to the right choice</li>
<li>The whole point of this is to avoid having to enter a password, so I don&#8217;t enter a password to protect my keys. Only do this if you feel confident that your private key will be safely under your control.
	</li>
<li>I used &#8220;copy&#8221; and &#8220;paste&#8221; in my instructions to try to cater to the less experienced users. If you would rather do things like <code>cat id_dsa.pub >> ~/.ssh/authorized_keys</code> then go for it.
</li>
<li>Make sure you don&#8217;t introduce return characters (line breaks) into authorized_keys by mistake. The whole key is supposed to be two lines, like this:<br />
<code>ssh-dss<br />
AAAAB3NzaC1kc3MA ..............(lots more)</code></li>
</ul>
]]></content:encoded>
			<wfw:commentRSS>http://aliandcedar.com/cedar/2005/06/26/ssh-without-a-password/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Exhausting Finals</title>
		<link>http://aliandcedar.com/cedar/2005/03/29/exhausting-finals/</link>
		<comments>http://aliandcedar.com/cedar/2005/03/29/exhausting-finals/#comments</comments>
		<pubDate>Tue, 29 Mar 2005 18:38:49 +0000</pubDate>
		<dc:creator>cedar</dc:creator>
		
	<category>Dreams</category>
		<guid isPermaLink="false">http://aliandcedar.com/cedar/2005/03/29/exhausting-finals/</guid>
		<description><![CDATA[I was back at Westtown and it was finals. But there was a strange rule that you had to run four miles before you took your test. I was very sad because I had three exams on the same day, so I had to run, take a test, run, take a test, run, then finally [...]]]></description>
			<content:encoded><![CDATA[<p><center><img src='http://aliandcedar.com/wordpress_uploads/westtown.jpg' alt='westtown' /></center>I was back at Westtown and it was finals. But there was a strange rule that you had to run four miles before you took your test. I was very sad because I had three exams on the same day, so I had to run, take a test, run, take a test, run, then finally take the last test. By the middle of the last run I was very tired.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://aliandcedar.com/cedar/2005/03/29/exhausting-finals/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Scary Monsters</title>
		<link>http://aliandcedar.com/cedar/2005/03/23/scary-saran-wrap/</link>
		<comments>http://aliandcedar.com/cedar/2005/03/23/scary-saran-wrap/#comments</comments>
		<pubDate>Wed, 23 Mar 2005 18:26:59 +0000</pubDate>
		<dc:creator>cedar</dc:creator>
		
	<category>Dreams</category>
		<guid isPermaLink="false">http://aliandcedar.com/cedar/2005/03/23/scary-saran-wrap/</guid>
		<description><![CDATA[
Monsters were taking over the earth. Regular people and animals were morphing into scary blank faced things. Even birds were turning into little flopping balls a jelly-plasticky-yuck. I and my anonymous sidekick retreated to a cave where I thought we would be safe. We mostly were until one of the plasticky globule bird things flew [...]]]></description>
			<content:encoded><![CDATA[<p><center><img src='http://aliandcedar.com/wordpress_uploads/monster.jpg' alt='' /></center></p>
<p>Monsters were taking over the earth. Regular people and animals were morphing into scary blank faced things. Even birds were turning into little flopping balls a jelly-plasticky-yuck. I and my anonymous sidekick retreated to a cave where I thought we would be safe. We mostly were until one of the plasticky globule bird things flew down into the cave with us. I cut it in half with a sword as it flew at us, just like Uma Thurman in &#8220;Kill Bill&#8221; did to the baseball. My sidekick knelt down to look at the half of the thing that looked like a fluffy pile of saran wrap, when suddenly it went for her (sidekick had now resolved into a &#8220;she&#8221;) face alien style.  It stretched a thin sheet of plastic-like wrap across her mouth and nose so she couldn&#8217;t breath. I ran to pull it off, but it was amazingly strong. I tried to puncture it with my fingers but I couldn&#8217;t. So with her mouth wide open, as she continued to try to breath I used a pocket knife puncture the plastic, which was still very tough, then slowly pulled a hole open with my fingers. But another layer had formed in the front of her mouth, and I could see another forming at the back of her mouth. So trying to work quickly without cutting her, I managed to puncture and open a breathing hole in the next two layers. Once she was able to breath, I was able to pull the plastic stuff away. So the lesson is, be careful with that plastic wrap.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://aliandcedar.com/cedar/2005/03/23/scary-saran-wrap/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Tornado</title>
		<link>http://aliandcedar.com/cedar/2005/03/19/tornado/</link>
		<comments>http://aliandcedar.com/cedar/2005/03/19/tornado/#comments</comments>
		<pubDate>Sun, 20 Mar 2005 03:52:46 +0000</pubDate>
		<dc:creator>cedar</dc:creator>
		
	<category>Dreams</category>
		<guid isPermaLink="false">http://aliandcedar.com/cedar/2005/03/19/tornado/</guid>
		<description><![CDATA[
I was trying to swim from southern California to Seattle in one go. I knew it would be a new record, but I was doing the backstroke, which is easy, so I knew I would make it. But I got tired around Oregon, and had to take a rest in a farmhouse. A tornado blew [...]]]></description>
			<content:encoded><![CDATA[<p><center><img src='http://aliandcedar.com/wordpress_uploads/tornado.jpg' alt='' /></center><br />
I was trying to swim from southern California to Seattle in one go. I knew it would be a new record, but I was doing the backstroke, which is easy, so I knew I would make it. But I got tired around Oregon, and had to take a rest in a farmhouse. A tornado blew by. Luckly I had my camera, fiddled with the flash for a while, then took some nice pictures of the tornado scooping up screaming townsfolk.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://aliandcedar.com/cedar/2005/03/19/tornado/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Install awstats on gentoo</title>
		<link>http://aliandcedar.com/cedar/2005/03/15/install-awstats-on-gentoo/</link>
		<comments>http://aliandcedar.com/cedar/2005/03/15/install-awstats-on-gentoo/#comments</comments>
		<pubDate>Tue, 15 Mar 2005 18:33:11 +0000</pubDate>
		<dc:creator>cedar</dc:creator>
		
	<category>Linux</category>
		<guid isPermaLink="false">http://aliandcedar.com/cedar/2005/03/15/install-awstats-on-gentoo/</guid>
		<description><![CDATA[
Awstats is the best web log analyzer that I know of, at least for low traffic servers. I don&#8217;t have experience with in high traffic situations. I used to have awstats installed manually, but now gentoo has an ebuild for it. I tried
# emerge awstats
which is sufficient for most apps in gentoo, including webapps. Squirrelmail [...]]]></description>
			<content:encoded><![CDATA[<p><center><img src='http://aliandcedar.com/wordpress_uploads/gentoo.jpg' alt='' /></center><br />
<a href="http://awstats.sourceforge.net">Awstats</a> is the best web log analyzer that I know of, at least for low traffic servers. I don&#8217;t have experience with in high traffic situations. I used to have awstats installed manually, but now gentoo has an ebuild for it. I tried<br />
<code># emerge awstats</code><br />
which is sufficient for most apps in gentoo, including webapps. Squirrelmail and gallery both installed fine this way. However, the awstats ebuild tells us that we have to use webapp-config to complete the install of awstats. They do not give a suggested command line. Long story short, this is how I managed to install awstats to my host (localhost in this case)</p>
<ol>
<li><code># emerge awstats</code></li>
<li>Create a directory called &#8220;awstats&#8221; in your root web directory.</li>
<li><code>#webapp-config -I -h localhost -d /awstats/ awstats 6.3-r2</code>  Change version number as necessary.</li>
<li>Take the output of the above command and paste into the /etc/apache2/conf/commonapache2.conf file</li>
<li><code># /etc/init.d/apache2 restart</code></li>
<li><code># cd /etc/awstats/</code></li>
<li>If there isn&#8217;t already a config file, copy awstats.model.conf to awstats.yourdomain.conf</li>
<li>Edit awstats.yourdomain.conf. It is pretty easy just reading the comments.</li>
</ol>
<p>OK it is installed. Now update the stats:<br />
<code>#/usr/share/webapps/awstats/6.3-r2/hostroot/cgi-bin/awstats.pl -config=yourdomain.com -update</code></p>
<p>I put this in my cronfile so that it updates every night:<br />
<code>30 02 * * * /usr/share/webapps/awstats/6.3-r2/hostroot/cgi-bin/awstats.pl -config=aliandcedar.com -update  >> /var/log/awstats/awstats.log 2>&#038;1</code><br />
That worked for me.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://aliandcedar.com/cedar/2005/03/15/install-awstats-on-gentoo/feed/</wfw:commentRSS>
		</item>
	</channel>
</rss>
