<?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>肖建彬的博客 &#187; lighttpd</title>
	<atom:link href="http://www.xiaojb.com/archives/tag/lighttpd/feed" rel="self" type="application/rss+xml" />
	<link>http://www.xiaojb.com</link>
	<description>奋斗无止境 爱拼才会赢</description>
	<lastBuildDate>Sun, 16 Oct 2011 14:27:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>php+fastcgi遭遇No input file specified.错误</title>
		<link>http://www.xiaojb.com/archives/tips/php-fastcgi-no-input-file-specified.shtml</link>
		<comments>http://www.xiaojb.com/archives/tips/php-fastcgi-no-input-file-specified.shtml#comments</comments>
		<pubDate>Mon, 05 Nov 2007 11:02:09 +0000</pubDate>
		<dc:creator>xjb</dc:creator>
				<category><![CDATA[TIPS]]></category>
		<category><![CDATA[fastcgi]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.xiaojb.com/archives/tips/phpfastcgi%e9%81%ad%e9%81%87no-input-file-specified%e9%94%99%e8%af%af.shtml</guid>
		<description><![CDATA[最近经常搞lighttpd+fastcgi+php或者nginx+fastcgi+php，时常被php的“No input file specified.”给郁闷了，把我遇到的情况说一下 首先php.ini的配置中 cgi.fix_pathinfo=1 doc_root= doc_root曾经被我设置过一个路径，结果php老提示“No input file specified.”，只有一个虚机好使。改掉后就正常了。 nginx中的配置有些麻烦 fastcgi_pass 127.0.0.1:1234; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /var/www/html$fastcgi_script_name; 每个虚机要根据自己不通的虚机设置不能的目录，要保证这个路径正确。 fastcgi_param SCRIPT_FILENAME /var/www/html$fastcgi_script_name;不能在fastcgi_pass 127.0.0.1:1234;的前面。 记得修改了php.ini要重启fastcgi服务。 其实都是因为粗心造成的，本来很简单，写出来也给自己提个醒。]]></description>
			<content:encoded><![CDATA[<p>   最近经常搞<a href="http://www.xiaojb.com/archives/tag/lighttpd">lighttpd</a>+fastcgi+<a href="http://www.xiaojb.com/archives/tag/php">php</a>或者nginx+fastcgi+<a href="http://www.xiaojb.com/archives/tag/php">php</a>，时常被<a href="http://www.xiaojb.com/archives/tag/php">php</a>的“No input file specified.”给郁闷了，把我遇到的情况说一下</p>
<p>首先php.ini的配置中<br />
cgi.fix_pathinfo=1<br />
doc_root=</p>
<p>doc_root曾经被我设置过一个路径，结果php老提示“No input file specified.”，只有一个虚机好使。改掉后就正常了。</p>
<p>nginx中的配置有些麻烦</p>
<p>fastcgi_pass   127.0.0.1:1234;<br />
fastcgi_index  index.php;<br />
fastcgi_param  SCRIPT_FILENAME  /var/www/html$fastcgi_script_name;</p>
<p>每个虚机要根据自己不通的虚机设置不能的目录，要保证这个路径正确。<br />
fastcgi_param  SCRIPT_FILENAME  /var/www/html$fastcgi_script_name;不能在fastcgi_pass   127.0.0.1:1234;的前面。</p>
<p>记得修改了php.ini要重启fastcgi服务。</p>
<p>其实都是因为粗心造成的，本来很简单，写出来也给自己提个醒。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xiaojb.com/archives/tips/php-fastcgi-no-input-file-specified.shtml/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>curl提交数据到Lighttpd服务器时遇到了417[Expectation Failed]错误</title>
		<link>http://www.xiaojb.com/archives/it/curl-lighttpd-417.shtml</link>
		<comments>http://www.xiaojb.com/archives/it/curl-lighttpd-417.shtml#comments</comments>
		<pubDate>Fri, 12 Oct 2007 09:20:27 +0000</pubDate>
		<dc:creator>xjb</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[lighttpd]]></category>

		<guid isPermaLink="false">http://www.xiaojb.com/archives/it/curl-lighttpd-417.shtml</guid>
		<description><![CDATA[命令： curl -D &#8211; -F f=@index.html -F s=sdfsaf http://server.com/upload.php lighttpd服务器总是返回： HTTP/1.1 417 Expectation Failed Connection: close Content-Length: 0 Date: Fri, 12 Oct 2007 09:11:02 GMT Server: lighttpd/1.4.18 尝试其他的服务器软件（比如nginx），就没有问题，google一下，发现是lighttpd不支持返回“Expect: 100-continue”这样的header，就会以417 &#8220;Expectation failed&#8221; 来代替。 另：lighttpd 1.5.0没有这个问题。]]></description>
			<content:encoded><![CDATA[<p>命令：<br />
curl -D &#8211; -F f=@index.html -F s=sdfsaf http://server.com/upload.php</p>
<p>lighttpd服务器总是返回：<br />
HTTP/1.1 417 Expectation Failed<br />
Connection: close<br />
Content-Length: 0<br />
Date: Fri, 12 Oct 2007 09:11:02 GMT<br />
Server: lighttpd/1.4.18</p>
<p>尝试其他的服务器软件（比如<a href="http://nginx.net/">nginx</a>），就没有问题，google一下，发现是lighttpd不支持返回“Expect: 100-continue”这样的header，就会以417 &#8220;Expectation failed&#8221; 来代替。</p>
<p>另：lighttpd 1.5.0没有这个问题。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xiaojb.com/archives/it/curl-lighttpd-417.shtml/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

