<?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; LAMP</title>
	<atom:link href="http://www.huanix.com/category/lamp/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>Problems at Rainy River</title>
		<link>http://www.huanix.com/2007/04/02/problems-at-rainy-river/</link>
		<comments>http://www.huanix.com/2007/04/02/problems-at-rainy-river/#comments</comments>
		<pubDate>Tue, 03 Apr 2007 02:48:47 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.huanix.com/?p=35</guid>
		<description><![CDATA[I live near Nashville, Tennessee, where Central Time reigns. I had never considered this an issue while installing Unbuntu, or any other Linux distro that allowed me to choose my locale &#8211; i long ago discovered that the Rainy River locale in Canada served my Central Standard Time needs, and it had a cool sounding [...]]]></description>
			<content:encoded><![CDATA[<p>I live near Nashville, Tennessee,  where Central Time reigns. I had never considered this an issue while installing Unbuntu, or any other Linux distro that allowed me to choose my locale &#8211; i long ago discovered that the Rainy River locale in Canada served my Central Standard Time needs, and it had a cool sounding name. This had never caused a problem until I had a locale problem on one of my servers, and changed the locale to a US area &#8211; boy did my life change! I had been downloading updates from a &#8220;ca&#8221; (Canadian) server at ~34k/sec, and just thought it was par for the open source course &#8211; i suddenly realized (tonight!) that i can get 10 or even 20 times the download speed when i choose Indiana/Vincennes! It&#8217;s quite an eye opening experience to realize that something that seems like personal customization can have such a heavy bearing on system performance. Rainy River doesn&#8217;t sound like such a cool place anymore! (Okay, i love Canadians &#8211; i also love fast transfers!)</p>
<h4>Incoming search terms:</h4><ul><li>rainy river linux</li><li>ubuntu rainy river</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2007/04/02/problems-at-rainy-river/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring the x345 server with Xubuntu Linux</title>
		<link>http://www.huanix.com/2007/02/09/configuring-the-x345-server-with-xubuntu-linux/</link>
		<comments>http://www.huanix.com/2007/02/09/configuring-the-x345-server-with-xubuntu-linux/#comments</comments>
		<pubDate>Fri, 09 Feb 2007 23:22:07 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Xubuntu]]></category>

		<guid isPermaLink="false">http://www.huanix.com/?p=27</guid>
		<description><![CDATA[I have been a big fan of the Ubuntu project ever since I started with Hoary Hedgehog (5.04) a while back. I have always been a firm believer that Linux should be FULL of tools that anyone from beginner&#8217;s to pro&#8217;s can use, and Ubuntu really enables that. I am setting this server up with [...]]]></description>
			<content:encoded><![CDATA[<p>I have been a big fan of the Ubuntu project ever since I started with Hoary Hedgehog (5.04) a while back. I have always been a firm believer that Linux should be FULL of tools that anyone from beginner&#8217;s to pro&#8217;s can use, and Ubuntu really enables that. I am setting this server up with a stock installation of Xubuntu 6.10, and I will probably do most of the management using the XDMCP client. XDMCP (X Display Manager Control Protocol) is an X-forwarding tool, sort of like VNC that lets you log into a remote system as if you were sitting in front of it &#8211; it&#8217;s an entire x display.</p>
<p>Tonight I&#8217;m just doing the install and updating, and then I&#8217;ll check to make sure it boots well, and I&#8217;ll let it run for awhile to see if it gives any errors. Tomorrow I&#8217;ll look at setting up LAMP and other tools.</p>
<p>Some time next week I&#8217;ll begin migrating data over from the old server (a junked desktop) onto this one. I&#8217;m sure most of it will go fine, but I&#8217;m running a MediaWiki that i&#8217;ve grown very fond of.. I&#8217;m not sure how i&#8217;ll transfer it yet, i will probably try a mysqldump and cross my fingers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2007/02/09/configuring-the-x345-server-with-xubuntu-linux/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>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>
	</channel>
</rss>

