<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    重復容易,改變很難
    java,,,不錯的玩具
    posts - 21,  comments - 42,  trackbacks - 0

    apache + resin + shtml安裝步驟:  
     1,下載apache_1.3.37.tar.gz到/opt/apache_1.3.37 
     2, cd /opt/apache_1.3.37 
     3, 編譯apache 
      ./configure --prefix=/opt/apache --enable-module=so --enable-module=rewrite --enable-module=speling
      make
      make install
      將在/opt/出現(xiàn)apache

     4,編譯resin。   
      cd /opt/resin_test
      ./configure --with-apache=/opt/apache
      make
      make install


     5,修改apache配置文件     
      地址:/opt/apache/conf/httpd.conf    

     (1) 修改apache端口    
       236行 Port ** ->你要求的端口(如:90)   
          
     (2) 修改和resin的連接端口    
       951行: ResinConfigServer localhost 6820   
          6820是第4步編譯產(chǎn)生的默認端口,需根據(jù)自己要求修改
          
     (3) DirectoryIndex加入index.jsp   263行    
      設(shè)置默認訪問頁面    
          
     (4) 設(shè)置resin的web服務(wù)    
       283行  把DocumentRoot指向resin的webapp目錄(如:/opt/resin_test/doc)   
          
     (5) 配置SSI     
      取消以下注釋:  790行   
      #AddType text/html .shtml      
      #AddHandler server-parsed .shtml      
           
     (6) 317行     
      Options Indexes FollowSymLinks MultiViews 增加Includes     
      改為:Options Indexes FollowSymLinks MultiViews Includes     
           
     (7) 308行     
      將Directory的屬性改為     
       <Directory "/opt/resin_test/doc">    resin的服務(wù)地址
     
     以上6,7也可改為以下設(shè)置:
      或者將293行的標記作如下修改
      修改前
      <Directory />
          Options FollowSymLinks
          AllowOverride None
      </Directory>
      
      修改后
      <Directory />
          Options FollowSymLinks Includes
          AllowOverride None
      </Directory>
      apache會認為所有路徑下均可使用shtml的include功能
     
     apache的啟動:      
      cd /opt/apache/bin     
      啟動:apachectl start     
      停止:apachectl stop 
      重啟:apachectl restart 
      第一次重啟時會出現(xiàn)以下語句: 
       ./apachectl restart: httpd not running, trying to start
       [Thu Nov  2 15:57:19 2006] [alert] httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
       ./apachectl restart: httpd started
      此是正常的,以后重啟就不會出現(xiàn)了 

     用http://localhost:90/caucho-status可以查看apache和resin連接器的當前狀態(tài)  
     參考資料:  
      http://www.onlamp.com/catalog/apache/excerpt/ch10.html 
      http://support.microsoft.com/default.aspx?scid=kb%3Bzh-cn%3B203064 

    posted on 2007-05-25 12:48 分享愛的空間 閱讀(777) 評論(1)  編輯  收藏

    FeedBack:
    # re: 如何在resin服務(wù)器前配置Apache,使其能使用shtml功能
    2007-05-25 13:30 | kay
    搶沙發(fā),加油啊!  回復  更多評論
      

    只有注冊用戶登錄后才能發(fā)表評論。


    網(wǎng)站導航:
     

    <2025年5月>
    27282930123
    45678910
    11121314151617
    18192021222324
    25262728293031
    1234567

    常用鏈接

    留言簿(5)

    隨筆檔案

    文章檔案

    相冊

    搜索

    •  

    最新評論

    閱讀排行榜

    評論排行榜

    主站蜘蛛池模板: 国产AV旡码专区亚洲AV苍井空| 亚洲一级特黄大片在线观看| 久久久久久亚洲AV无码专区| 国产色无码精品视频免费| 丁香亚洲综合五月天婷婷| 国产成人亚洲精品91专区高清| 大学生高清一级毛片免费| 亚洲人av高清无码| 宅男666在线永久免费观看| 国产精品亚洲专区无码不卡| 又黄又爽的视频免费看| 免费人成又黄又爽的视频在线电影| 亚洲午夜激情视频| 国产白丝无码免费视频| 亚洲字幕在线观看| 嫩草影院免费观看| 免费一级毛片在线播放视频免费观看永久| 亚洲不卡无码av中文字幕| 中文字幕不卡高清免费| 亚洲AV区无码字幕中文色| 免费观看无遮挡www的小视频| 国产精品亚洲综合五月天| 免费涩涩在线视频网| aa午夜免费剧场| 亚洲综合一区二区国产精品| 日韩欧美一区二区三区免费观看 | 99亚洲精品卡2卡三卡4卡2卡| 亚洲Av无码乱码在线播放| 中文字幕a∨在线乱码免费看 | 亚洲精品人成在线观看| 免费黄色福利视频| 黄网站色成年片大免费高清| 四虎免费影院4hu永久免费| 国产免费福利体检区久久| 亚洲国产成人综合| 国产zzjjzzjj视频全免费| 国产情侣久久久久aⅴ免费| 久久久久久亚洲精品影院| 亚洲欧洲中文日韩久久AV乱码| 1000部夫妻午夜免费 | 国产精品亚洲自在线播放页码|