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)論排行榜

          主站蜘蛛池模板: 瑞金市| 镇宁| 宝清县| SHOW| 西吉县| 永兴县| 巫山县| 隆尧县| 兴城市| 松阳县| 尼木县| 永仁县| 呼伦贝尔市| 青川县| 钟山县| 漯河市| 驻马店市| 广昌县| 龙泉市| 杭锦后旗| 灌南县| 共和县| 沙坪坝区| 东山县| 鲜城| 凭祥市| 友谊县| 临澧县| 顺义区| 奉新县| 青铜峡市| 光泽县| 惠来县| 嘉黎县| 高阳县| 北票市| 赣州市| 梁山县| 湖南省| 南召县| 龙门县|