resin服务器不起作用

由 setoy 在 12-01-2003 10:32 发表:

resin服务器不起作用

redhat9.0下

apache2.048整合了resin3.04

apache能用了

但是resin不会执行jsp脚本!还是显示源代码

你说怎么回事?


由 大熊宝宝 在 12-01-2003 11:34 发表:


httpd.conf中看看加入了执行jsp的语句还有load模块了吗


请兄弟们正确发贴,把问题发到相关版块 发贴标题请简明扼要 谢谢大家配合.

新会员发贴前请学会搜索论坛 有可能你的问题已经有答案了


由 goldeagle 在 12-01-2003 15:55 发表:


mime 类型里面加了 JSP 没有?

看 RESIN 的安装帮助应该可以解决问题的。


/**

  • = just a kind of bird! =

  • @machine1: axp 1500+,256MBddr,R9550

  • @machine2: A64 3000+,1GB,120GB

  • @machine3: Palm Zire 72

  • @os: Gentoo Linux/WinXP/FreeBSD

*/


由 setoy 在 12-01-2003 17:51 发表:


to:大熊宝宝

---------

httpd.conf中看看加入了执行jsp的语句还有load模块了吗

---------

这怎么加入?

to:goldeagle

---------------------

mime 类型里面加了 JSP 没有?

---------------------

这又怎么加入?


由 goldeagle 在 12-02-2003 11:59 发表:

回复

load

> > 源码: >
> * * * >
>
> > > LoadModule caucho_module libexec/mod_caucho.so
> > > AddModule mod_caucho.c
> > >
> > >

 1<ifmodule mod_caucho.c="">  
 2&gt;     &gt; 
 3&gt;       CauchoConfigFile <installdir>/resin/conf/resin.conf  
 4&gt;     &gt; 
 5&gt;       <location caucho-status="">  
 6&gt;     &gt; 
 7&gt;         SetHandler caucho-status  
 8&gt;     &gt; 
 9&gt;       </location>  
10&gt;     &gt; 
11&gt;     </installdir></ifmodule>

> > >
>
> * * *

jsp

> > 源码: >
> * * * >
>
> > > AddHandler caucho-request jsp
> > >
>
> * * *

其实你看看 Apache 和 Resin 的配置手册就都可以搞定了。


/**

  • = just a kind of bird! =

  • @machine1: axp 1500+,256MBddr,R9550

  • @machine2: A64 3000+,1GB,120GB

  • @machine3: Palm Zire 72

  • @os: Gentoo Linux/WinXP/FreeBSD

*/

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus