[問題]有關 apache 結合 tomcat

看板FreeBSD作者時間21年前 (2004/12/04 16:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
請問各位: 小弟現在對於 apache 以及 tomcat 的結合上,有點問題想請教各位, 現在小弟已經在自己的機器上(FreeBSD 5.1)安裝好~jdk1.4.2、 Apache 1.3.27 以及 Tomcat 4.1.30 這三套軟體,而這三套軟體也都 可以正常的運作,如: 在 http://hostname/index.html 可以看到 apache 測試頁面 在 http://hostname:8180/index.jsp 也可以看到 tomcat 的測試頁面 而 jdk 1.4.2 也可以正常的運作! 但現在有一個問題就是,因為要方便每個使用者管理自己的網頁, 因此將 apache 設定每個使用者的網頁就位於自己目錄底下的 www 資料夾中, (也就是希望每個 user 都可以有這樣 http://hostname/~username/ 個人網頁) 小弟這樣設定之後,在個人目錄底下建了一個簡單的 test.jsp 的檔案, 不過發現 tomcat 並不能解讀, 也就是說進入 http://hostname/~username/test.jsp 時,會發生錯誤, 錯誤訊息如下: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, you@your.address and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Apache/1.3.27 Server at hostname Port 80 請問~小弟該如何解決這個問題呢!? 該如何結合 apache 以及 tomcat,使每個 user 底下的網頁資料夾中的 *.jsp 的檔案可以被妥當的被 tomcat 編譯呢!? 感激不盡~~~ (by the way,小弟也有安裝 mod_jk 這個 apache module,不過也是沒辦法!>"<) -- ※ Origin: SayYA 資訊站 <bbs.sayya.org> ◆ From: nlg8.csie.ntu.edu.tw
文章代碼(AID): #11iNO600 (FreeBSD)
文章代碼(AID): #11iNO600 (FreeBSD)