posts - 325,  comments - 25,  trackbacks - 0
          1.打開httd.conf下
          # Virtual hosts
          Include etc/extra/httpd-vhosts.conf
          2.在httd-vhost.conf下設(shè)置
          <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設(shè)置多個(gè)服務(wù)
          <Context ..............
          posted on 2012-04-28 16:31 長春語林科技 閱讀(441) 評(píng)論(0)  編輯  收藏 所屬分類: linux
          <2012年4月>
          25262728293031
          1234567
          891011121314
          15161718192021
          22232425262728
          293012345

           

          長春語林科技?xì)g迎您!

          常用鏈接

          留言簿(6)

          隨筆分類

          隨筆檔案

          文章分類

          文章檔案

          相冊

          收藏夾

          搜索

          •  

          最新評(píng)論

          閱讀排行榜

          評(píng)論排行榜

          主站蜘蛛池模板: 宁河县| 潍坊市| 镇沅| 建德市| 德惠市| 泾源县| 珠海市| 龙岩市| 若羌县| 孟连| 定襄县| 万荣县| 罗田县| 鹤峰县| 禄丰县| 柳江县| 聊城市| 双鸭山市| 余姚市| 中超| 都兰县| 延津县| 德惠市| 台湾省| 淅川县| 石家庄市| 甘德县| 天峻县| 黑山县| 衡东县| 柳林县| 滁州市| 徐闻县| 宝鸡市| 镇宁| 体育| 南丰县| 石城县| 许昌县| 南安市| 三明市|