<?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>Horse的博客&#187; lighttpd</title>
	<atom:link href="http://www.mahoupao.net/index.php/tag/lighttpd/feed" rel="self" type="application/rss+xml" />
	<link>http://www.mahoupao.net</link>
	<description>马后炮化工</description>
	<lastBuildDate>Mon, 12 Apr 2010 04:48:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>wordpress 在 lighttpd 上的 URL 伪静态设置</title>
		<link>http://www.mahoupao.net/index.php/2010/02/02/url-rewrite-for-wordpress-on-lighttpd.html</link>
		<comments>http://www.mahoupao.net/index.php/2010/02/02/url-rewrite-for-wordpress-on-lighttpd.html#comments</comments>
		<pubDate>Tue, 02 Feb 2010 01:22:03 +0000</pubDate>
		<dc:creator>horse</dc:creator>
				<category><![CDATA[计算机]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[vps]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.mahoupao.net/?p=35</guid>
		<description><![CDATA[wordpress 在 lighttpd 上的 URL 伪静态设置       url.rewrite for Wordpress on Lighttpd
在WORDPRESS中，设置Customize Permalink Structure为：
Custom structure:    /%year%/%monthnum%/%day%/%post_id%.html 
伪静态代码如下：
url.rewrite = (
&#8220;^/wordpress/?$&#8221; =&#62; &#8220;/wordpress/index.php&#8221;,
&#8220;^/wordpress/(wp-.+)$&#8221; =&#62; &#8220;$0&#8243;,
&#8220;^/wordpress/xmlrpc.php&#8221; =&#62; &#8220;$0&#8243;,
&#8220;^/wordpress/sitemap.xml&#8221; =&#62; &#8220;$0&#8243;,
&#8220;^/wordpress/(.+)/?$&#8221; =&#62; &#8220;/wordpress/index.php/$1&#8243;
)

	你还可能感兴趣的相关文章:
	
	为什么要使用VPS主机 (0)
	lighttpd+sqlite的优化和技巧 (0)
	Discuz7.2，7.1友情链接间距修改方法 (0)


]]></description>
		<wfw:commentRss>http://www.mahoupao.net/index.php/2010/02/02/url-rewrite-for-wordpress-on-lighttpd.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>lighttpd+sqlite的优化和技巧</title>
		<link>http://www.mahoupao.net/index.php/2010/02/01/lighttpdsqlite%e7%9a%84%e4%bc%98%e5%8c%96%e5%92%8c%e6%8a%80%e5%b7%a7.html</link>
		<comments>http://www.mahoupao.net/index.php/2010/02/01/lighttpdsqlite%e7%9a%84%e4%bc%98%e5%8c%96%e5%92%8c%e6%8a%80%e5%b7%a7.html#comments</comments>
		<pubDate>Mon, 01 Feb 2010 15:15:09 +0000</pubDate>
		<dc:creator>horse</dc:creator>
				<category><![CDATA[计算机]]></category>
		<category><![CDATA[lighttpd]]></category>

		<guid isPermaLink="false">http://www.mahoupao.net/?p=22</guid>
		<description><![CDATA[在error.log看到“(mod_fastcgi.c.2866) backend is overloaded, we disable it for a 2 seconds and send the request to another backend instead: reconnects: 3 load: 4147 /tmp/php.socket”时，说明lighttpd+fastcgi的load较高了。
可按如下步骤优化：
1) 首先检查swap使用情况。如果使用了swap，一般说明php进程数偏多，适当减少php进程。调整max-procs和 PHP_FCGI_CHILDREN的数值，根据公式num-procs = max-procs * ( 1 + PHP_FCGI_CHILDREN )，启动时php5进程大概占13M内存，如果num-procs超过200，高峰期php就会占去2G内存，不大合适
2) 安装PHP加速软件。有XCache, eAccelerator和Zend Optimizer。推荐公开源代码的XCache, eAccelerator
3) 调整Keep Alive参数。对于动态程序来说，Keep Alive的意义不大，可以关闭。
server.max-keep-alive-requests = 0
4) 优化程序代码。呵呵，一般也是最有效的;)
CODE:

#### fastcgi module
## read fastcgi.txt for more info
fastcgi.server             [...]]]></description>
		<wfw:commentRss>http://www.mahoupao.net/index.php/2010/02/01/lighttpdsqlite%e7%9a%84%e4%bc%98%e5%8c%96%e5%92%8c%e6%8a%80%e5%b7%a7.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
