隨筆-153  評論-235  文章-19  trackbacks-0
              昨天安裝好了lighttpd,現(xiàn)在想試下與tomcat的一起工作。把所有的*.jsp讓tomcat去處理。用到lighttpd的代理,lighttpd與tomcat比apache與tomcat要簡單多。開始喜歡上了lighttpd。

          修改lighttpd的配置
          # vi /usr/local/lighttpd-1.4.19/lighttpd.conf

          去掉mod_proxy注釋
          server.modules              = (
          #...
          #                               
          "mod_proxy",
          #...
                                        )

          去掉proxy.server注釋
          proxy.server               = ( ".jsp" =>
                                         ( 
          "localhost" =>
                                           (
                                             
          "host" ="192.168.0.60",
                                             
          "port" =8080
                                           )
                                         )
                                       )



          重啟lighttpd,然后http://192.168.0.60/index.jsp就可以看到tomcat的頁面了。
          posted on 2008-05-02 00:03 流浪汗 閱讀(2297) 評論(0)  編輯  收藏 所屬分類: Linux
          主站蜘蛛池模板: 怀化市| 广丰县| 宝坻区| 鹤峰县| 西峡县| 黔江区| 含山县| 夏邑县| 辰溪县| 江油市| 兰坪| 江达县| 富源县| 仪陇县| 汝州市| 盐边县| 东源县| 泸西县| 花莲县| 彭阳县| 尖扎县| 车致| 土默特右旗| 酉阳| 神农架林区| 资兴市| 宁乡县| 宝应县| 石景山区| 灌南县| 松滋市| 随州市| 汾阳市| 墨玉县| 大埔县| 甘谷县| 濮阳市| 都匀市| 丰原市| 江都市| 平阴县|