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 長春語林科技 閱讀(441) 評論(0)  編輯  收藏 所屬分類: linux
          <2012年4月>
          25262728293031
          1234567
          891011121314
          15161718192021
          22232425262728
          293012345

           

          長春語林科技歡迎您!

          常用鏈接

          留言簿(6)

          隨筆分類

          隨筆檔案

          文章分類

          文章檔案

          相冊

          收藏夾

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 玉龙| 海阳市| 乐都县| 额济纳旗| 玉树县| 耒阳市| 峡江县| 青冈县| 铜川市| 报价| 屏东市| 深圳市| 探索| 尚义县| 河北省| 固镇县| 六枝特区| 长治县| 南安市| 资阳市| 东乌珠穆沁旗| 裕民县| 定日县| 波密县| 安康市| 伊宁县| 巴青县| 平凉市| 象州县| 云和县| 英吉沙县| 荔波县| 普陀区| 西城区| 雅江县| 垣曲县| 望奎县| 桂平市| 孟连| 安丘市| 仙桃市|