<?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>huanix &#187; Apache2</title>
	<atom:link href="http://www.huanix.com/category/apache2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.huanix.com</link>
	<description>chown -R huanix /</description>
	<lastBuildDate>Sat, 31 Dec 2011 14:53:36 +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>mod_rewrite for Apache2 in Ubuntu Linux Gutsy Gibbon 7.10</title>
		<link>http://www.huanix.com/2007/12/10/mod_rewrite-for-apache2-in-ubuntu-linux-gutsy-gibbon-710/</link>
		<comments>http://www.huanix.com/2007/12/10/mod_rewrite-for-apache2-in-ubuntu-linux-gutsy-gibbon-710/#comments</comments>
		<pubDate>Tue, 11 Dec 2007 02:30:40 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[Apache2]]></category>
		<category><![CDATA[Gutsy Gibbon]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.huanix.com/2007/12/10/mod_rewrite-for-apache2-in-ubuntu-linux-gutsy-gibbon-710/</guid>
		<description><![CDATA[mod_rewrite is a module for the Apache webserver that allows apache to dynamically change the url of a site using php (or other scripting languages). It seems like a difficult/confusing task at first, but it actually only takes 2 steps in Ubuntu. I initially wrote this quick tutorial for Feisty Fawn 7.04, and I just [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.penguin-soft.com/penguin/man/8/a2enmod.html">mod_rewrite</a> is a module for the <a href="http://apache.org/httpd">Apache webserver</a> that allows apache to dynamically change the url of a site using php (or other scripting languages). It seems like a difficult/confusing task at first, but it actually only takes 2 steps in <a href="http://ubuntu.com">Ubuntu</a>. I initially wrote this quick tutorial for Feisty Fawn 7.04, and I just checked, and it works great in Gutsy Gibbon, 7.10 also. This should also work well for Edgy 6.10 and Dapper 6.06 without any issues. Any code snippets should be typed into a terminal. &#8220;sudo&#8221; commands require a password, that&#8217;s a given.</p>
<ol>
<li>Enable mod_rewrite in Apache<br />
<code> sudo a2enmod rewrite </code></li>
<li>Edit the configuration file.
<ol>
<li><code>sudo gedit  /etc/apache2/sites-available/default </code></li>
<li>line 12 says &#8220;AllowOverride none&#8221; ;</li>
<li>change it to &#8220;AllowOverride all&#8221;</li>
<li>save and close</li>
</ol>
</li>
<li>Okay&#8230; one last step &#8212; you have to manually restart Apache (or restart your computer!)</li>
<p><code>sudo apache2 -k restart </code></ol>
<p>All done! now Apache and php can create URL&#8217;s on the fly &#8211; pretty neato!</p>
<h4>Incoming search terms:</h4><ul><li>apache2 linux mod rewrite</li><li>apache2 xubuntu enable mod rewrite</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2007/12/10/mod_rewrite-for-apache2-in-ubuntu-linux-gutsy-gibbon-710/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slow nslookup and slow dns hosting?</title>
		<link>http://www.huanix.com/2007/12/03/slow-nslookup-and-slow-dns-hosting/</link>
		<comments>http://www.huanix.com/2007/12/03/slow-nslookup-and-slow-dns-hosting/#comments</comments>
		<pubDate>Tue, 04 Dec 2007 03:44:34 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[Apache2]]></category>
		<category><![CDATA[dns host]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.huanix.com/2007/12/03/slow-nslookup-and-slow-dns-hosting/</guid>
		<description><![CDATA[I&#8217;m running my server on a &#8220;static&#8221; dhcp address on my home server, and I&#8217;m using the domain name server lookup provided by freedns.org. I am more than appreciative for the FREE service provided by the fellow at freedns, but I&#8217;ve noticed that the biggest problem with any of the sites on my server is [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m running my server on a &#8220;static&#8221; dhcp address on my home server, and I&#8217;m using the domain name server lookup provided by freedns.org. I am more than appreciative for the FREE service provided by the fellow at freedns, but I&#8217;ve noticed that the biggest problem with any of the sites on my server is SLOW name server lookup.</p>
<p>Here&#8217;s the deal: I want to improve my nslookup time (not the time derived from my local cache, but my &#8220;fresh look&#8221; time) and I just can&#8217;t seem to figure it out. Turns out most folks who run their own server rely on local-server based dns, but I figure that would be AT LEAST as slow as freedns. I wish I could find some ranking of domain name servers so I could make a more informed choice, but I just don&#8217;t know how to attack it.</p>
<p>Oh.. and one more thing.. I don&#8217;t pay.. for anything. That is, I don&#8217;t pay for anything I can use ingenuity to get for free. That&#8217;s why RMS and Linus are my heroes! I&#8217;d love to hear your suggestions.</p>
<h4>Incoming search terms:</h4><ul><li>nslookup slow</li><li>nslookup slow dns</li><li>linux nslookup slow</li><li>aix nslookup delay</li><li>ubuntu nslookup slow</li><li>slow nslookup</li><li>nslookup slow respose</li><li>nslookup linux slow</li><li>freedns slow</li><li>dns slow nslookup</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2007/12/03/slow-nslookup-and-slow-dns-hosting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The best CMS for 2007?</title>
		<link>http://www.huanix.com/2007/06/04/the-best-cms-for-2007/</link>
		<comments>http://www.huanix.com/2007/06/04/the-best-cms-for-2007/#comments</comments>
		<pubDate>Mon, 04 Jun 2007 13:21:43 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[Apache2]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.huanix.com/2007/06/04/the-best-cms-for-2007/</guid>
		<description><![CDATA[I&#8217;m very new to the concept of using a CMS to publish a community website, so I&#8217;ve been doing some research to find the best and most current free Content Management System. The first valuable resource I found is wikipedia&#8217;s list of CMS&#8217;s, which is initially impressive, but I quickly found it overwhelming. To be [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m very new to the concept of using a CMS to publish a community website, so I&#8217;ve been doing some research to find the best and most current free Content Management System.</p>
<p>The first valuable resource I found is <a href="http://en.wikipedia.org/wiki/List_of_content_management_systems">wikipedia&#8217;s list of CMS&#8217;s</a>, which is initially impressive, but I quickly found it overwhelming. To be perfectly honest, I don&#8217;t feel like sorting through a list of hundreds of CMS&#8217;s, I want a CMS that meets two sets of criteria: One, it has to meet my platform preferences, and two, it has to be in current cutting-edge development.</p>
<p>My platform preferences:</p>
<ul>
<li>Linux 2.6</li>
<li>Apache 2.2</li>
<li>PHP 5</li>
<li>Mysql 5</li>
</ul>
<p>My development preferences:</p>
<ul>
<li>GNU license</li>
<li>In development 2+ years</li>
<li>The most downloads from <a href="http://www.sourceforge.net">Sourceforge</a>.</li>
<li>The site with the highest traffic on <a href="http://www.alexa.com">Alexa</a>.</li>
</ul>
<p>While I have yet to document my results, which I plan to share later on this blog, the winner appears to be <a href="http://www.joomla.org">Joomla!</a>. The only drawback to this point is that it does appear to require patience in implementation, something I lack! I spent a couple hours with it recently, and while I was impressed with it&#8217;s capability, I realized it would take signifcant experience to make it jump through the hoops I have in mind.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2007/06/04/the-best-cms-for-2007/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>creating web pages in c</title>
		<link>http://www.huanix.com/2007/05/20/creating-web-pages-in-c/</link>
		<comments>http://www.huanix.com/2007/05/20/creating-web-pages-in-c/#comments</comments>
		<pubDate>Mon, 21 May 2007 02:10:27 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[Apache2]]></category>
		<category><![CDATA[C programming]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.huanix.com/2007/05/20/creating-web-pages-in-c/</guid>
		<description><![CDATA[I wrote my first cgi script today.. it actually sounds pretty juvenile now that i say it out loud. here it is&#8230; ( i really need to read the geshi docs so i can format this properly!) #include int main(){ std::cout &#60;&#60;"Content-Type: text/html&#60;html&#62;\n\n "; std::cout &#60;&#60; "text."; std::cout &#60;&#60; "&#60;/html&#62;"; return 0; } Anyway, it [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote my first cgi script today.. it actually sounds pretty juvenile now that i say it out loud.</p>
<p>here it is&#8230; ( i really need to read the geshi docs so i can format this properly!)</p>
<p><code language="cpp"><br />
#include <iostream></iostream><br />
int main(){<br />
std::cout &lt;&lt;"Content-Type: text/html&lt;html&gt;\n\n  ";<br />
std::cout &lt;&lt; "text.";<br />
std::cout &lt;&lt; "&lt;/html&gt;";<br />
return 0;<br />
}</code></p>
<p>Anyway, it compiled pretty easily as a cgi script; getting it to run in apache took me a few minutes, as a matter of fact, i am afraid i hosed some stuff on this test system trying to get it working. I finally added<br />
<code language="html"><br />
Options +ExecCGI<br />
</code><br />
to the apache2 config file &#8212; in ubuntu, i actually modified the /etc/apache2/sites-available/default file, under the Directory /var/www tag.</p>
<p>This allowed me to run the cgi.. at least.. i tried 84 things, so I -think- that&#8217;s what finally worked <img src='http://www.huanix.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>tomorrow i&#8217;d like to try some post/get forms with c++, i write my forms with so much php that i&#8217;m not sure how i&#8217;ll do it with c.</p>
<p>btw &#8211; thanks to <a href="http://www.metalshell.com/view/source/127/">http://www.metalshell.com/view/source/127/</a> for the idea.</p>
<p><a href="http://www.huanix.com/wp-content/uploads/2007/05/text.png" title="a snapshot of the text site"><img src="http://www.huanix.com/wp-content/uploads/2007/05/text.thumbnail.png" alt="a snapshot of the text site" /></a><a href="http://www.huanix.com/wp-content/uploads/2007/05/sites-available.png" title="a snapshot of my /etc/apache2/sites-available/default file"><img src="http://www.huanix.com/wp-content/uploads/2007/05/sites-available.thumbnail.png" alt="a snapshot of my /etc/apache2/sites-available/default file" /></a><a href="http://www.huanix.com/wp-content/uploads/2007/05/sites-available.png" title="a snapshot of my /etc/apache2/sites-available/default file"> </a></p>
<p><a href="http://www.huanix.com/wp-content/uploads/2007/05/sites-available.png" title="a snapshot of my /etc/apache2/sites-available/default file"> </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2007/05/20/creating-web-pages-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mod_rewrite for Apache2 in Ubuntu Feisty Fawn 7.04</title>
		<link>http://www.huanix.com/2007/04/18/mod_rewrite-for-apache2-in-ubuntu-feisty-fawn-704/</link>
		<comments>http://www.huanix.com/2007/04/18/mod_rewrite-for-apache2-in-ubuntu-feisty-fawn-704/#comments</comments>
		<pubDate>Thu, 19 Apr 2007 00:29:05 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[Apache2]]></category>
		<category><![CDATA[HTML formatting]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.huanix.com/index.php/2007/04/18/mod_rewrite-for-apache2-in-ubuntu-feisty-fawn-704/</guid>
		<description><![CDATA[mod_rewrite is a module for the Apache webserver that allows apache to dynamically change the url of a site using php (or other scripting languages). It seems like a difficult/confusing task at first, but it actually only takes 2 steps in Ubuntu. I&#8217;m using Feisty Fawn, 7.04, but this should work well for Edgy and [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.penguin-soft.com/penguin/man/8/a2enmod.html">mod_rewrite</a> is a module for the <a href="http://apache.org/httpd">Apache webserver</a> that allows apache to dynamically change the url of a site using php (or other scripting languages). It seems like a difficult/confusing task at first, but it actually only takes 2 steps in <a href="http://ubuntu.com">Ubuntu</a>. I&#8217;m using Feisty Fawn, 7.04, but this should work well for Edgy and Dapper without any issues. Any code snippets should be typed into a terminal. &#8220;sudo&#8221; commands require a password, that&#8217;s a given.</p>
<ol>
<li>Enable mod_rewrite in Apache<br />
<code> sudo a2enmod rewrite </code></li>
<li>Edit the configuration file.
<ol>
<li><code>sudo gedit  /etc/apache2/sites-available/default </code></li>
<li>line 12 says &#8220;AllowOverride none&#8221; ;</li>
<li>change it to &#8220;AllowOverride all&#8221;</li>
<li>save and close</li>
</ol>
</li>
<li>Okay&#8230; one last step &#8212; you have to manually restart Apache (or restart your computer!)</li>
<p><code>sudo apache2 -k restart </code></ol>
<p>All done! now Apache and php can create URL&#8217;s on the fly &#8211; pretty neato!</p>
<h4>Incoming search terms:</h4><ul><li>a2enmod mod_rewrite</li><li>ubuntu apache2 mod_rewrite</li><li>Ubuntu php mod_rewrite</li><li>UBUNTU APACHE2 REWRITE</li><li>mod_rewrite apache2</li><li>ubuntu apache mod rewrite</li><li>php mod_rewrite ubuntu</li><li>apache2 mod_rewrite ubuntu</li><li>enable mod_rewrite apache2 ubuntu</li><li>mod_rewrite a2enmod</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2007/04/18/mod_rewrite-for-apache2-in-ubuntu-feisty-fawn-704/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
		<item>
		<title>Kernel Panic</title>
		<link>http://www.huanix.com/2007/01/26/kernel-panic/</link>
		<comments>http://www.huanix.com/2007/01/26/kernel-panic/#comments</comments>
		<pubDate>Fri, 26 Jan 2007 21:17:36 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[Apache2]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.huanix.com/?p=20</guid>
		<description><![CDATA[I&#8217;ve had a recurring kernel panic in my primary web server, the server that hosts this site. I&#8217;ve experienced random kernel panics in the past, but never to the point that I&#8217;ve needed to figure out what the problem is. Today is that day. I&#8217;ve taken a snapshot of the panic, converted it to a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had a recurring kernel panic in my primary web server, the server that hosts this site. I&#8217;ve experienced random kernel panics in the past, but never to the point that I&#8217;ve needed to figure out what the problem is. Today is that day. I&#8217;ve taken a snapshot of the panic, converted it to a printable format, and now I&#8217;m hunting google.. I&#8217;ll let you know what I turn up!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2007/01/26/kernel-panic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exploit? Viewing unparsed PHP code on a remote server</title>
		<link>http://www.huanix.com/2006/12/10/exploit-viewing-unparsed-php-code-on-a-remote-server/</link>
		<comments>http://www.huanix.com/2006/12/10/exploit-viewing-unparsed-php-code-on-a-remote-server/#comments</comments>
		<pubDate>Sun, 10 Dec 2006 16:49:26 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[Apache2]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.huanix.com/?p=14</guid>
		<description><![CDATA[I don&#8217;t know how well documented this hack is, but I dreamed it up while I was laying in bed last night, and tried it out this morning and it works. The hack requires that the target php file has been edited locally in the web directory of a linux server. Linux makes a hidden [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t know how well documented this hack is, but I dreamed it up while I was laying in bed last night, and tried it out this morning and it works. The hack requires that the target php file has been edited locally in the web directory of a linux server. Linux makes a hidden backup copy of the file by appending a tilde (~) to the file name, and leaves it in the directory as a hidden file. If you access a website with this file and append a ~ to the filename, i.e. &#8220;index.php~&#8221; you will be able to view the uninterpreted php code. This seems so trivial that I&#8217;m sure it has to be documented somewhere else, though I couldn&#8217;t find it &#8211; part of it has to do with the difficulty associated with searching for special characters, and the alternate use of the ~ (home directory). </p>
<p>I have three ideas to prevent the exploit:<br />
1. Edit the Apache config file to allow php to parse &#8220;php~&#8221; files.<br />
2. Write a cron job to remove temporary backup files from the web directory.<br />
3. Manually delete ~ files from the web directory, or don&#8217;t edit files on the server. </p>
<h4>Incoming search terms:</h4><ul><li>view unparsed php</li><li>unparsed php code</li><li>how to view unparsed php</li><li>unparsed php removed</li><li>un-parsed server code</li><li>tell server return unparsed php file</li><li>svn entries exploit tool</li><li>remoteviewphp howto</li><li>read uninterpreted php scripts</li><li>read php unparsed</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2006/12/10/exploit-viewing-unparsed-php-code-on-a-remote-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lazy Saturday with Suse</title>
		<link>http://www.huanix.com/2006/12/02/lazy-saturday-with-suse/</link>
		<comments>http://www.huanix.com/2006/12/02/lazy-saturday-with-suse/#comments</comments>
		<pubDate>Sat, 02 Dec 2006 22:22:50 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[Apache2]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Suse]]></category>
		<category><![CDATA[Vista]]></category>

		<guid isPermaLink="false">http://www.huanix.com/?p=11</guid>
		<description><![CDATA[Today I pulled out a copy of Suse 10.0 and installed it on one of the desktops I&#8217;ve got laying around. I had forgotten how user-friendly and well developed Suse is. I started running the install after reading in several places that the most stable MySQL setups are built from source on Suse machines. I [...]]]></description>
			<content:encoded><![CDATA[<p>Today I pulled out a copy of Suse 10.0 and installed it on one of the desktops I&#8217;ve got laying around. I had forgotten how user-friendly and well developed Suse is. I started running the install after reading in several places that the most stable MySQL setups are built from source on Suse machines. I have also been using Ubuntu for so long that I was sort of worried that I was getting out of &#8220;Linux&#8221; and into &#8220;Ubuntu&#8221;.<br />
I started hangingout at #planet.mysql &#8211; which is odd for me &#8211; I am a complete novice there, surrounded by the Gods of MySQL, but I look forward to hearing what they have to say and try to keep my mouth shut!<br />
Still frustrated with apache includes. It&#8217;s rare that I give up on a problem, and I haven&#8217;t worked on my apache2 include problem in awhile. I&#8217;m wondering if the source build that I&#8217;m doing on Suse will make things work better? FYI &#8211; if you missed it, I kept getting syntax errors when I tried to do server side includes in Apache.<br />
I have discovered the MySQL 5.1 manual (<a href="http://downloads.mysql.com/docs/refman-5.1-en.pdf" target="_blank">direct link</a>)is actually a great read &#8211; I would reccommend it. I&#8217;m only through the first couple hundred pages, but it&#8217;s a page-turner.. geek style.<br />
As a side note, my wonderful wife, (who is a &#8220;Linux rejectionist&#8221; ) has been running Vista RC2 on her 3.4GHz, 2GB system (we call it the &#8220;pink computer&#8221;). I have found a few things I like, and a few things I disliked about the setup &#8211; keep in mind that it&#8217;s RC2, not the retail release!</p>
<p>Likes:<br />
- The widget panel is nice &#8211; I like watching our photos, and the CPU/Memory widget.<br />
- The Windows Experience Rating is a nice tool &#8211; As a non-gamer, I was not aware that my NVidia 6200 was such a bottleneck.<br />
- The GUI is intuitive. This may be a result of my being a OS enthusiast, but I generally knew how to get what I wanted without having to search for help.</p>
<p>Dislikes:<br />
- Constantly having to tell Windows what could or couldn&#8217;t run. Security should be a system-level function, not a user process.<br />
- The NVidia drivers were difficult to install in Vista. The UI does a lot of hand-holding (which can be good), but the installer didn&#8217;t work with the driver files, so they had to be manually inserted (with &#8220;have disk&#8221;). Vista didn&#8217;t like my tinkering with the drivers either- if I removed my device driver, Vista would replace it with its own version. Good for a novice, irritating for a geek.<br />
- The Office 2007 Beta Powerpoint is attractive, and I like the menus, but the type-rate reminds me of a 486. I&#8217;m not sure what&#8217;s going on with the internals, but typing in powerpoint is laggy and makes me think of typing on a remote system with a bad connection.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2006/12/02/lazy-saturday-with-suse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Lamp Group &#8211; The CLAMPP</title>
		<link>http://www.huanix.com/2006/11/25/geshi-test/</link>
		<comments>http://www.huanix.com/2006/11/25/geshi-test/#comments</comments>
		<pubDate>Sat, 25 Nov 2006 13:22:31 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[Apache2]]></category>
		<category><![CDATA[Clarksville]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[LAMPP]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.huanix.com/?p=10</guid>
		<description><![CDATA[Good news everyone! There&#8217;s a new Linux &#8211; type group in Clarksville, Tennessee. Check out the Clarksville Linux Apache MySQL PHP Perl group &#8211;CLAMPP I just wanted to test php highlighting in geshi]]></description>
			<content:encoded><![CDATA[<p>Good news everyone! There&#8217;s a new Linux &#8211; type group in Clarksville, Tennessee. Check out the Clarksville Linux Apache MySQL PHP Perl group &#8211;<a href="http://www.clampp.com">CLAMPP</a></p>
<p>I just wanted to test php highlighting in geshi</p>
<p><code lang="php"><?echo 'check out www.CLAMPP.com!'; ?> </code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2006/11/25/geshi-test/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stat Tracker and Learning C with Emacs</title>
		<link>http://www.huanix.com/2006/11/23/stat-tracker-and-learning-c-with-emacs/</link>
		<comments>http://www.huanix.com/2006/11/23/stat-tracker-and-learning-c-with-emacs/#comments</comments>
		<pubDate>Fri, 24 Nov 2006 05:52:56 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[Apache2]]></category>
		<category><![CDATA[C programming]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[stat tracker]]></category>

		<guid isPermaLink="false">http://www.huanix.com/?p=8</guid>
		<description><![CDATA[I am sorry that I never resolved the Server Side Include with Apache2 yesterday. I moved on to write a php include that I could add to the header of each file. I initially had trouble because I&#8217;m currently hosting 5 sites, and using the $_SERVER['PHP_SELF'] element, many of the inserts would appear as &#8220;index.php&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>I am sorry that I never resolved the Server Side Include with Apache2 yesterday. I moved on to write a php include that I could add to the header of each file. I initially had trouble because I&#8217;m currently hosting 5 sites, and using the $_SERVER['PHP_SELF'] element, many of the inserts would appear as &#8220;index.php&#8221; without telling me which domain they were associated with. I was foolish enough to try some superceding directories, like</p>
<blockquote><p>&#8220;/../&#8221; . $_SERVER['PHP_SELF']</p></blockquote>
<p>which would return (predictably) &#8220;/../index.php&#8221;. So I eventually got the bright idea that there MUST be an array element in PHP to address this &#8211; and I lucked out! I used</p>
<blockquote><p>$_SERVER['SERVER_NAME'] . $_SERVER['PHP_SELF'];</p></blockquote>
<p>and got neat results like &#8220;www.sl7pm.com/index.php&#8221; which is EXACTLY what I wanted to see! now I can tell the difference between hits to www.sl7pm.com/index.php and www.huanix.com/index.php, which previously looked the same.</p>
<p>I will continue to work on the Server Side Include issue when I get more steam. I hate planting the same repetitive include in every file, especially when I know that I will forget where I placed in in highly-included software like phpBB and WordPress.</p>
<p>I have been thinking about taking a programming class through my local university.. I know a little, but I feel like a formal class would help me build a firm foundation. I&#8217;m looking at taking Programming I. Any feedback would be appreciated. I am currently MOST proficient with PHP, which isn&#8217;t much, but I am picking up a lot of fundamentals like arrays, switch &#038; case, and loops that I know are ubiquitous in programming.</p>
<h4>Incoming search terms:</h4><ul><li>programming stat tracker</li><li>stats tracker c</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2006/11/23/stat-tracker-and-learning-c-with-emacs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

