我已经将RESIN挂到了IIS 上面,在C:\Inetpub\wwwroot\ 下面放的测试页面也能显示出来。
用浏览器输入http://localhost/jsp.jsp 能够成功运行。
我现在想配置多个虚拟目录的站点,不知道resin.conf 该怎么写呀?试验了很多中方法都不能成功,都是指向了根目录下的站点,就是localhost.
郁闷
下面的这是根目录站点的配置文件:
<host id="" root-directory=".">
<!--
- configures an explicit root web-app matching the
- webapp's ROOT
-->
<web-app id="/" document-directory="c:/inetpub/wwwroot"/>
</host>
按说明其他的站点应该是;
<host id="www.xxxx.com" root-directory=".">
<!--
- configures an explicit root web-app matching the
- webapp's ROOT
-->
<web-app id="/" document-directory="d:/JSP/xxxx"/>
</host>
但是这样写是不行呀,恳请大侠帮忙。
运行环境是RESIN 3.0.18 PRO+ IIS6.0+ WIN2003
用浏览器输入http://localhost/jsp.jsp 能够成功运行。
我现在想配置多个虚拟目录的站点,不知道resin.conf 该怎么写呀?试验了很多中方法都不能成功,都是指向了根目录下的站点,就是localhost.
郁闷
下面的这是根目录站点的配置文件:
<host id="" root-directory=".">
<!--
- configures an explicit root web-app matching the
- webapp's ROOT
-->
<web-app id="/" document-directory="c:/inetpub/wwwroot"/>
</host>
按说明其他的站点应该是;
<host id="www.xxxx.com" root-directory=".">
<!--
- configures an explicit root web-app matching the
- webapp's ROOT
-->
<web-app id="/" document-directory="d:/JSP/xxxx"/>
</host>
但是这样写是不行呀,恳请大侠帮忙。
运行环境是RESIN 3.0.18 PRO+ IIS6.0+ WIN2003
ResinConfigServer localhost 6802
CauchoStatus yes
你试试.还有就是如果没有asp 和.net就不要用IIS了~~直接用Resin不是更方便