<?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>DreamhostPStools &#187; Tutorial</title>
	<atom:link href="http://dreamhostpstools.com/category/tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://dreamhostpstools.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Tue, 27 Oct 2009 22:39:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Next steps on getting more performance with LiteSpeed webserver</title>
		<link>http://dreamhostpstools.com/2008/02/28/next-steps-on-getting-more-performance-with-litespeed-webserver/</link>
		<comments>http://dreamhostpstools.com/2008/02/28/next-steps-on-getting-more-performance-with-litespeed-webserver/#comments</comments>
		<pubDate>Thu, 28 Feb 2008 22:24:38 +0000</pubDate>
		<dc:creator>Antonio</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://dreamhostpstools.com/2008/02/28/next-steps-on-getting-more-performance-with-litespeed-webserver/</guid>
		<description><![CDATA[As we said on a previous article, we were waiting for the last chapters on tunning our LiteSpeed webserver. Finnaly, yui-life.com's webmaster has published in two articles the steps to get a custom PHP5 with eAccelerator and some tips on tunning the webserver. I have tested his solution and I can say I’m quite happy [...]]]></description>
			<content:encoded><![CDATA[<p>As we said on a <a href="http://dreamhostpstools.com/2008/02/14/optimizing-dreamhost-ps-cpu-and-memory-usage-by-installing-litespeed-web-server/">previous article</a>, we were waiting for the last chapters on tunning our <a href="http://litespeedtech.com/">LiteSpeed</a> webserver. Finnaly, <a href="http://www.yui-life.com">yui-life.com'</a>s webmaster has published in two articles the steps to get a custom PHP5 with eAccelerator and some tips on tunning the webserver.</p>
<p>I have tested his solution and I can say I’m quite happy with it, indeed I was also sharing a <a href="http://wiki.dreamhost.com/PHP_FastCGI" target="_blank">FastCGI</a> + <a href="http://wiki.dreamhost.com/Pecl_APC" target="_blank">APC</a> accelerator for two other domains and at the end I have migrated all of them (five) to the LiteSpeed solution.</p>
<p>You can read the articles at the following links:</p>
<p><a href="http://www.yui-life.com/2008/compiling-php5-and-eaccelerator-for-litespeed-on-dreamhost-ps/">Litespeed on Dreamhost PS: Final Optimizations for Stability and Lowest Cost</a><br />
<a href="http://www.yui-life.com/2008/litespeed-on-dreamhost-ps-final-optimizations-for-stability-and-lowest-cost/">Compiling PHP5 and eAccelerator for Litespeed on Dreamhost PS</a></p>
<p>I have only one problem using LiteSpeed Standard proxied behind Apache, and it’s related to some web applications (like WordPress 3.3.4) use the header $_SERVER['REMOTE_ADDR'] to get the visitors IP instead of <a href="http://en.wikipedia.org/wiki/X-Forwarded-For" target="_blank">$_SERVER['HTTP_X_FORWARDED_FOR']</a>, so the recorded IP it’s your own VPS IP, as it’s the one who sent you the request. Remember, Apache’s mod_proxy has been previously configured to send you the traffic to a running port of your LiteSpeed server.</p>
<p><span id="more-25"></span><br />
<a href="http://www.litespeedtech.com/products/webserver/overview/" target="_blank">LiteSpeed Enterprise</a> offers a feature to mask automatically that problem but for other web applications not so “<em>good coded</em>” you’ll have to patch them if you are able (some could be encoded).</p>
<p>In the case of <a href="http://wordpress.org" target="_blank">WordPress</a>, there is a <a href="http://trac.wordpress.org/ticket/4602">ticket </a>submitted at their <a href="http://trac.wordpress.org/">tracking website</a> to ask for this feature on future releases, but it has been a few months since the last update and no planned date for that.</p>
<p>In the same ticket, some developer called <em>hovenko</em> added the <a href="http://trac.wordpress.org/attachment/ticket/4602/get_ip_address.patch">patch file</a> to add that functionality. I tested it and right now I’m running with the modified version in the two blogs which run with LiteSpeed and it’s getting now the correct visitor IP.</p>
<p>Thanks Hovenko!</p>
]]></content:encoded>
			<wfw:commentRss>http://dreamhostpstools.com/2008/02/28/next-steps-on-getting-more-performance-with-litespeed-webserver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Optimizing Dreamhost PS CPU and Memory Usage by Installing Litespeed Web Server</title>
		<link>http://dreamhostpstools.com/2008/02/14/optimizing-dreamhost-ps-cpu-and-memory-usage-by-installing-litespeed-web-server/</link>
		<comments>http://dreamhostpstools.com/2008/02/14/optimizing-dreamhost-ps-cpu-and-memory-usage-by-installing-litespeed-web-server/#comments</comments>
		<pubDate>Thu, 14 Feb 2008 00:14:01 +0000</pubDate>
		<dc:creator>Antonio</dc:creator>
				<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://dreamhostpstools.com/2008/02/14/optimizing-dreamhost-ps-cpu-and-memory-usage-by-installing-litespeed-web-server/</guid>
		<description><![CDATA[Sounds interesting isn't it? Just reading the title of this post you get the idea of how interesting must be the tutorial, and I can tell you it works, as this website and other domains on this PS are running now with LiteSpeed, and thanks to the tips of Yui-Life's webmaster. You may read the [...]]]></description>
			<content:encoded><![CDATA[<p>Sounds interesting isn't it?</p>
<p>Just reading the title of this post you get the idea of how interesting must be the tutorial, and I can tell you it works, as this website and other domains on this PS are running now with LiteSpeed, and thanks to the tips of <a href="http://www.yui-life.com/" target="_blank">Yui-Life</a>'s webmaster.</p>
<p>You may read the whole article at this link: <a href="http://www.yui-life.com/2008/optimizing-dreamhost-ps-cpu-and-memory-usage-by-installing-litespeed-web-server" target="_blank">Optimizing Dreamhost PS CPU and Memory Usage by Installing Litespeed Web Server</a> and it's the first chapter, as it's webmaster has told me he's planning to write a second chapter explaining PHP5.2.5 compile instructions and the <a href="http://en.wikipedia.org/wiki/EAccelerator" target="_blank">eAccelerator</a> opcode binary.</p>
<p><span id="more-23"></span><br />
<a href="http://www.yui-life.com/" target="_blank">Yui-Life</a>'s webmaster is a highly experienced optimizing websites and  tunning the guts of webservers. The <a href="http://www.yui-life.com/gallery/" target="_blank">yui-life</a> photo gallery is a resource for nature photography and Japanese idol photos.</p>
]]></content:encoded>
			<wfw:commentRss>http://dreamhostpstools.com/2008/02/14/optimizing-dreamhost-ps-cpu-and-memory-usage-by-installing-litespeed-web-server/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
