您现在的位置: 中国教师站 >> 教师关注 >> 电脑技术 >> 编程技术 >> Java >> 正文

Google
Jboss3.0-Tomcat4.03的虚拟主机的配置
作者:Siny 文章来源:中国教师站cn-teacher 点击数: 更新时间:2007-4-22 14:50:41
 

 

1、请你首先打开WINNTsystem32driversetc目录下的hosts文件,在里面加入你想要虚拟的机器名,如我是这样加的

127.0.0.1       www               www.www.systekgz.com.cn

在这里www.systekgz.com.cn是我的域名。

www是虚拟名

而我机器的本身名字是fangm,在域中的就是fangm.www.systekgz.com.cn

2、打开jboss-tomcat安装目录下的serverdefaultdeploy的目录中的tomcat4-service.xml文件,原来的文件是这样的

<?xml version="1.0" encoding="UTF-8"?>

<!-- Set catalina.home to the location of the Tomcat-4.x dist.

The default value is that of the JBoss/Catalina bundle where the

jakarta-tomcat-4.0.3-LE-jdk14 is included as jboss_dist/catalina

 -->

<!DOCTYPE server [

  <!ENTITY catalina.home "../catalina">

]>

 

<!-- The service configuration for the embedded Tomcat4 web container

-->

<server>

 

  <classpath codebase="file:&catalina.home;/common/lib/" archives="*"/>

  <classpath codebase="file:&catalina.home;/server/lib/" archives="*"/>

[1] [2] [3] [4] [5] [6] 下一页

相关专题:
 
 网友评论:(评论内容只代表网友观点,与本站立场无关!)
GOOGLE广告

阅读排行

| 设为首页 | 加入收藏 | 联系站长 | 友情链接 | 版权申明 |
中国教师站

中国教师站 版权所有 Copyright © 2006-2020 All Rights Reserved 站长:Sina & Siny
[备用域名:www.JXZYW.Com] 有事请留言有事请留言
【实力成就精品 诚信呵护品牌】

信息产业部备案
苏ICP备06018635号