<?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>ni kvel &#187; wordpress</title>
	<atom:link href="http://orz.miroq.info/archives/tag/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://orz.miroq.info</link>
	<description>漠然的な Something を Do しちゃうところ。</description>
	<lastBuildDate>Fri, 29 May 2009 03:56:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>lighttpd で wordpress を使うには</title>
		<link>http://orz.miroq.info/archives/6</link>
		<comments>http://orz.miroq.info/archives/6#comments</comments>
		<pubDate>Sun, 16 Mar 2008 00:29:15 +0000</pubDate>
		<dc:creator>miroq</dc:creator>
				<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://orz.miroq.info/archives/6</guid>
		<description><![CDATA[lighttpd は Apache と違い、.htaccess のような個人ごとに制御を分離させることはできない。 そのため、wordpress にて redirect を使う方法をとってしまうと、大本の conf ファイルである lighttpd.conf に記述されないと動いてくれない。 wordpress を lighttpd で使うには、以下を lighttpd.conf に追加する。 url.rewrite = ( 　　　　　　　　　&#8221;^/(wp-.+).*/?&#8221; => &#8220;$0&#8243;, 　　　　　　　　　&#8221;^/(sitemap.xml)&#8221; => &#8220;$0&#8243;, 　　　　　　　　　&#8221;^/(xmlrpc.php)&#8221; => &#8220;$0&#8243;, 　　　　　　　　　&#8221;^/(.+)/?$&#8221; => &#8220;/index.php/$1&#8243; 　　　　) lighttpd を再起動後問題なく動くことを確認できた。 lighttpd と Apache を ab でベンチとったけど ( ab -n 10000 -c 100 http://orz.miroq.info/ ) Apache では途中 defunct になってしまうものもあった。そしてプロセスが死骸みたいにのこって [...]]]></description>
			<content:encoded><![CDATA[<p>lighttpd は Apache と違い、.htaccess のような個人ごとに制御を分離させることはできない。<br />
そのため、wordpress にて redirect を使う方法をとってしまうと、大本の conf ファイルである lighttpd.conf に記述されないと動いてくれない。</p>
<p>wordpress を lighttpd で使うには、以下を lighttpd.conf に追加する。</p>
<blockquote><p>        url.rewrite = (<br />
　　　　　　　　　&#8221;^/(wp-.+).*/?&#8221; => &#8220;$0&#8243;,<br />
　　　　　　　　　&#8221;^/(sitemap.xml)&#8221; => &#8220;$0&#8243;,<br />
　　　　　　　　　&#8221;^/(xmlrpc.php)&#8221; => &#8220;$0&#8243;,<br />
　　　　　　　　　&#8221;^/(.+)/?$&#8221; => &#8220;/index.php/$1&#8243;<br />
　　　　)</p></blockquote>
<p>lighttpd を再起動後問題なく動くことを確認できた。<br />
lighttpd と Apache を ab でベンチとったけど ( ab -n 10000 -c 100 http://orz.miroq.info/ )<br />
Apache では途中 defunct になってしまうものもあった。そしてプロセスが死骸みたいにのこって 80 番ポートを占拠しやがるｗ</p>
<p>そして、現在 lighttpd で運用中。 virtual host を include で別ファイルにおけないかどうか思案中。<br />
たぶん余裕でおけるんだけどねｗ</p>
]]></content:encoded>
			<wfw:commentRss>http://orz.miroq.info/archives/6/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="" length="" type="" />
		</item>
	</channel>
</rss>

