Resin整合IIS之最可行方法

来源:互联网 发布:淘宝助理描述源码 编辑:程序博客网 时间:2024/04/30 14:16

1、IIS建立虚拟站点
2、站点目录下建立目录scripts,复制isapi_srun.dll文件到scripts目录内
3、建立虚拟目录:/scripts,指向:scripts
4、Configure IIS to load isapi_srun.dll as an ISAPI filter.
5、配置/conf/resin.conf文件,添加<host id='www.xxx.com' app-dir='d:/xxx'>.......</host>
6、配置/conf/resin.conf文件,添加<srun host='www.xxx.com' port='6803'/>
7、<servlet-mapping url-pattern='*.xtp' servlet-name='com.caucho.jsp.XtpServlet'/>
   <servlet-mapping url-pattern='*.jsp' servlet-name='com.caucho.jsp.JspServlet'/>

8、/bin/httpd -install

原创粉丝点击