<?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>DBAlife &#187; caucho-request</title>
	<atom:link href="http://www.dbalife.com/archives/tag/caucho-request/feed" rel="self" type="application/rss+xml" />
	<link>http://www.dbalife.com</link>
	<description>网站系统架构实践</description>
	<lastBuildDate>Wed, 27 Jul 2011 09:57:10 +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>caucho-request的范围</title>
		<link>http://www.dbalife.com/archives/200.html</link>
		<comments>http://www.dbalife.com/archives/200.html#comments</comments>
		<pubDate>Tue, 16 Dec 2008 08:20:31 +0000</pubDate>
		<dc:creator>skywalker</dc:creator>
				<category><![CDATA[Web服务器]]></category>
		<category><![CDATA[addhandler]]></category>
		<category><![CDATA[caucho-request]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[resin]]></category>
		<category><![CDATA[sethandler]]></category>

		<guid isPermaLink="false">http://www.dbalife.com/archives/200.html</guid>
		<description><![CDATA[在为Apache+Resin环境添加php支持的时候，php编译安装一切顺利，但是apache不能解析php页面。 发现有这样一些现象： 在任意一个404页面中，服务器信息仅显示Resin，而没有Apache 注释掉httpd.conf中的Resin条目，php可以被解析 说明apache将任意请求都发送给了Resin，而这个resin3.0不能解析php 检查httpd.conf，将SetHandler caucho-request注释掉，重启apache，php解析正常。 当前的httpd.conf中resin部分： LoadModule caucho_module /opt/apache/modules/mod_caucho.so ResinConfigServer localhost 6802 CauchoConfigCacheDirectory /tmp AddHandler caucho-request jsp 在Resin非常模糊的联机文档中提到了caucho-request "caucho-request&#160; Dispatch a request to Resin" 而在给出的例子中 &#60;Location /foo/*&#62; &#160;&#160; SetHandler caucho-request &#60;/Location&#62; 将caucho-request的范围限定在/foo/ Blogged with the Flock Browser Tags: resin, caucho-request, addhandler, sethandler, php, jsp Related posts: Apache2与Resin2整合虚拟主机的配置 resin的优化 vmware server 2.0 安装要点
Related posts:<ol>
<li><a href='http://www.dbalife.com/archives/126.html' rel='bookmark' title='Apache2与Resin2整合虚拟主机的配置'>Apache2与Resin2整合虚拟主机的配置</a></li>
<li><a href='http://www.dbalife.com/archives/7.html' rel='bookmark' title='resin的优化'>resin的优化</a></li>
<li><a href='http://www.dbalife.com/archives/327.html' rel='bookmark' title='vmware server 2.0 安装要点'>vmware server 2.0 安装要点</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>在为Apache+Resin环境添加php支持的时候，php编译安装一切顺利，但是apache不能解析php页面。</p>
<p>发现有这样一些现象：</p>
<ul>
<li>在任意一个404页面中，服务器信息仅显示Resin，而没有Apache</li>
<li>注释掉httpd.conf中的Resin条目，php可以被解析</li>
</ul>
<p>说明apache将任意请求都发送给了Resin，而这个resin3.0不能解析php</p>
<p>检查httpd.conf，将SetHandler caucho-request注释掉，重启apache，php解析正常。</p>
<p>当前的httpd.conf中resin部分：</p>
<div style="margin-left: 40px;">LoadModule caucho_module /opt/apache/modules/mod_caucho.so<br />
ResinConfigServer localhost 6802<br />
CauchoConfigCacheDirectory /tmp<br />
AddHandler caucho-request jsp
</div>
<p>在Resin非常模糊的联机文档中提到了caucho-request</p>
<div style="margin-left: 40px;">"caucho-request&nbsp; Dispatch a request to Resin"
</div>
<p>而在给出的例子中</p>
<div style="margin-left: 40px;">&lt;Location /foo/*&gt;<br />
&nbsp;&nbsp;  SetHandler caucho-request<br />
&lt;/Location&gt;
</div>
<p>将caucho-request的范围限定在/foo/</p>
<div class="flockcredit" style="text-align: right; color: #CCC; font-size: x-small;">Blogged with the <a href="http://www.flock.com/blogged-with-flock" style="color: #999; font-weight: bold;" target="_new" title="Flock Browser">Flock Browser</a></div>
<p><!-- technorati tags begin -->
<p style="font-size:10px;text-align:right;">Tags: <a href="http://technorati.com/tag/resin" rel="tag">resin</a>, <a href="http://technorati.com/tag/caucho-request" rel="tag">caucho-request</a>, <a href="http://technorati.com/tag/addhandler" rel="tag">addhandler</a>, <a href="http://technorati.com/tag/sethandler" rel="tag">sethandler</a>, <a href="http://technorati.com/tag/php" rel="tag">php</a>, <a href="http://technorati.com/tag/jsp" rel="tag">jsp</a></p>
<p><!-- technorati tags end --></p>
<p>Related posts:<ol>
<li><a href='http://www.dbalife.com/archives/126.html' rel='bookmark' title='Apache2与Resin2整合虚拟主机的配置'>Apache2与Resin2整合虚拟主机的配置</a></li>
<li><a href='http://www.dbalife.com/archives/7.html' rel='bookmark' title='resin的优化'>resin的优化</a></li>
<li><a href='http://www.dbalife.com/archives/327.html' rel='bookmark' title='vmware server 2.0 安装要点'>vmware server 2.0 安装要点</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.dbalife.com/archives/200.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

