<?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>Flying Bug &#187; apache</title>
	<atom:link href="http://xiehang.com/blog/tag/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://xiehang.com/blog</link>
	<description>Debugging and Being Debugged</description>
	<lastBuildDate>Sat, 04 Sep 2010 05:00:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>hmmm &#8230; php and apache are still much more easier</title>
		<link>http://xiehang.com/blog/2009/06/24/hmmm-php-and-apache-are-still-much-more-easier/</link>
		<comments>http://xiehang.com/blog/2009/06/24/hmmm-php-and-apache-are-still-much-more-easier/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 04:25:14 +0000</pubDate>
		<dc:creator>Hang</dc:creator>
				<category><![CDATA[Triviality]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://xiehang.com/blog/?p=503</guid>
		<description><![CDATA[I have about 2,600 photos uploaded to one of my web sites, and I compose couple of quick PHP scripts to help me browse them. There is a img.php to resize the photo for different purpose (such as thumb view for listing page, medium size for view online, and full size for downloading), but whenever [...]]]></description>
			<content:encoded><![CDATA[<p>I have about 2,600 photos uploaded to one of my web sites, and I compose couple of quick PHP scripts to help me browse them. There is a img.php to resize the photo for different purpose (such as thumb view for listing page, medium size for view online, and full size for downloading), but whenever I try to download the photo, I found it&#8217;s tough as it always prompt to save as &#8220;img.php.jpeg&#8221;.</p>
<p>So, instead of doing any PHP stuff, I changed .htaccess under the folder, let apache do rewrite for me, in couple of minutes everything works like a chime.</p>
<p>These are really simple tasks, I guess it can be done with anything else (lighttpd, python, blar blar), but obviously I&#8217;m still familiar with PHP and Apache httpd, guess I should stick on that till something else can be this easy to me, just as years back I switched from qmail to postfix &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://xiehang.com/blog/2009/06/24/hmmm-php-and-apache-are-still-much-more-easier/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
