<?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>hao32的个人日志 &#187; php-cgi</title>
	<atom:link href="http://www.hao32.com/tags/php-cgi/feed" rel="self" type="application/rss+xml" />
	<link>http://www.hao32.com</link>
	<description>私人日志记录</description>
	<lastBuildDate>Fri, 23 Jul 2010 03:46:24 +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>nginx使用不同的用户来跑fastcgi</title>
		<link>http://www.hao32.com/unix-linux/36.html</link>
		<comments>http://www.hao32.com/unix-linux/36.html#comments</comments>
		<pubDate>Sat, 31 May 2008 13:14:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[fastcgi]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[php-cgi]]></category>

		<guid isPermaLink="false">http://www.hao32.com/?p=36</guid>
		<description><![CDATA[今天在freebsd下用ports方式安装nginx+php+mysql环境, nginx使用www用户来跑的, 然后使用lighttpd中附带的spawn-fcgi来启动php-cgi, 我依然是用www用户来跑的fastcgi, 但是服务器上有多个用户, 我不想让他们使用一个用户来跑, 从安全上的考虑, 我可不想别人跨目录搞自己的站, 现在的phpshell都这么NB.
后来经朋友指点发现可以启动不同的fastcgi进程来解决这个问题, 一个用户只启动自己的进程,用自己的端口, 后来想了一下, 真的非常简单, 在使用spawn-fcgi启动的时候指定不同的端口指定不同的用户多简单啊, 唯一不爽的就是要多几个配置文件, 至少得一个用户一个吧
<span class="readmore"><a href="http://www.hao32.com/unix-linux/36.html" title="nginx使用不同的用户来跑fastcgi" target="_blank">阅读全文——共804字</a></span>]]></description>
		<wfw:commentRss>http://www.hao32.com/unix-linux/36.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
