posts - 325,  comments - 25,  trackbacks - 0
1.打开httd.conf下
# Virtual hosts
Include etc/extra/httpd-vhosts.conf
2.在httd-vhost.conf下设置
<VirtualHost *:80>
    DocumentRoot /var/www/publfactory_cn
    ServerName www.jlhsjx.com
    ProxyPass / http://www.jlhsjx.com:8080/  
    ProxyPassReverse / http://www.jlhsjx.com:8080/  
    DirectoryIndex index.htm index.html index.jsp default.html defautl.htm default.jsp
    ErrorLog logs/jlhsjx.com-error_log
    CustomLog logs/jlhsjx.com-access_log common
</VirtualHost>
3.在linux  vi /etc/hosts
127.0.0.1        localhost localhost.localdomain localhost www.co-wins.com www.jlhsjx.com
4.在tomcat server.xml设置多个服务
<Context ..............
posted on 2012-04-28 16:31 长春语林科技 阅读(428) 评论(0)  编辑  收藏 所属分类: linux

只有注册用户登录后才能发表评论。


网站导航:
 
<2012年4月>
25262728293031
1234567
891011121314
15161718192021
22232425262728
293012345

 

长春语林科技欢迎您!

常用链接

留言簿(6)

随笔分类

随笔档案

文章分类

文章档案

相册

收藏夹

搜索

  •  

最新评论

阅读排行榜

评论排行榜