我的服务器上有一些ASP的网站,端口是80;我现在要在上面配置一个JSP的站点,端口8080;
我有一个域名WWW.WEB.COM
如果通过http://ip地址:8080/webname或者WWW.WEB.COM:8080/webname都是可以访问的
我怎么可以直接通过WWW.WEB.COM来访问站点啊?
我在网上搜了配置虚机的内容,都是如下的东东:
<!-- This Host is the first "Virtual Host": http://www.example.com/ -->
<Host name="www.example.com" appBase="/home/example/webapp">
 <Context path="" docBase="."/>
</Host>
我也试了,不行啊~
哪位高人能帮帮我啊~~

解决方案 »

  1.   

    通过 http://www.web.com 来访问时,浏览器采用的是默认端口 80,相当于访问 http://www.web.com:80,如果想要用 http://www.web.com 来访问 tomcat 那么需要将 tomcat 的端口设置成为 80如果想要同时能访问 asp 又能访问 jsp 的话,就需要使用 isapi_redirector详情请 google: isapi_redirector