问题描述:相同ip下的多个项目匹配多个域名
环境: weblogic10g、ubuntu9.04
参考: http://heiwuya.iteye.com/blog/400312
问题解决:
以域名wwww.test1.com、www.test2.com 项目test1、test2为例
1、建立虚拟主机
test1:
name:test1
Virtual Host Names: www.test1.com
targets:adminserver
test2:同上
2、发布项目
test1:
targets:test1
configration/Context Root:/
test2:同上
3、重启服务器分别访问www.test1.com和www.test2.com,分别到test1和test2项目首页配置完成。
本文详细介绍了如何在WebLogic10g环境下,通过建立虚拟主机配置实现一个服务器下同时部署并访问多个不同域名对应的不同项目,具体操作包括创建虚拟主机、发布项目以及重启服务器验证。
6627

被折叠的 条评论
为什么被折叠?



