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)

          隨筆分類

          隨筆檔案

          文章分類

          文章檔案

          相冊

          收藏夾

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 北票市| 龙井市| 柘城县| 万安县| 尉氏县| 华安县| 三穗县| 平安县| 天台县| 咸丰县| 红原县| 休宁县| 昭苏县| 怀仁县| 定襄县| 化州市| 望城县| 邵东县| 林芝县| 县级市| 吴桥县| 迁西县| 承德县| 庄浪县| 班玛县| 通江县| 桦南县| 高碑店市| 乳源| 乐至县| 阜新市| 白水县| 新余市| 西贡区| 安吉县| 红安县| 青龙| 乾安县| 孟津县| 黑水县| 平利县|