当前位置:首页 > 知道中心 > Windows > 文章

Win2003配置Apache+Tomcat多站点

发表于:2013-09-05| 次阅读| 作者:藕码网
TAG: Windows
摘要:Win2003配置Apache+Tomcat多站点

NameVirtualHost *:80

<VirtualHost *:80>
ProxyPreserveHost On
ServerAdmin feifei0658@sina.com
ServerName www.shundabanjia.com
DocumentRoot "G:\wuyubing\www"
DirectoryIndex index.html index.htm index.asp
ProxyPass / http://www.shundabanjia.com:88/
ProxyPassReverse / http://www.shundabanjia.com:88/
</VirtualHost>

LoadModule jk_module modules/mod_jk.so
JkWorkersFile "D:\tomcat5.0.28\conf\workers.properties"
<VirtualHost *:80>
ServerAdmin feifei0658@sina.com
ServerName www.openria.cn
DirectoryIndex index.html index.htm index.jsp
JkMount /* ajp13
JkAutoAlias "D:\tomcat-5.0.28\webapps\ria"
<Directory "D:\tomcat-5.0.28\webapps\ria">
Options Indexes FollowSymLinks
allow from all
</Directory>
</VirtualHost>

 "Use name-based virtual hosting."要打开,去掉NameVirtualHost *:80前面的#号。


注:本站部分信息可能源于互联网分享,如有侵权,请告知,我们将及时删除!

  • 用户评论
  • 相关文章
推荐文章