Tomcat 5.5 with Apache 2.0 Integration in 5 Simple Steps 5.5的Tomcat與Apache 2.0一體化在5簡單步驟
The simplest configuration is described.最簡單的配置描述。 It assumes you already have Tomcat 5.5 and Apache 2.0 (instructions for Apache 1.3 is also provided) installed and running.它假設您已經有5.5的Tomcat和Apache 2.0 (指示Apache 1.3的是還提供)安裝和運行。
The instructions are applicable (have been tested) for Windows as well as Linux platform.指示適用(已測試)用於Windows以及Linux平台。
Assume you want to map test directory of Apache to the mytest web application of Tomcat.假設您想要地圖測試目錄的Apache向的mytest的Web應用的Tomcat 。 Change the name appropriately to suit your configuration.名稱更改為適當,以適應您的配置。
1. 1 。 Shutdown Apache & Tomcat Server關閉Apache和Tomcat伺服器
2. 2 。 Add the following lines to httpd.conf (in conf directory of Apache base directory)將下列語句添加到httpd.conf中(在配置目錄中的Apache相應的目錄)
LoadModule proxy_module modules/mod_proxy.so loadmodule proxy_module模組/ mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so loadmodule proxy_http_module模組/ mod_proxy_http.so
ProxyPass /test/ http://localhost:8081/mytest/ proxypass /測試/ http://localhost:8081/mytest/
ProxyPassReverse /test/ http://localhost:8081/mytest/ proxypassreverse /測試/ http://localhost:8081/mytest/
Note: Replace localhost with the appropriate IP address or hostname of the server where Tomcat is installed.注:取代本地與適當的IP地址或主機所在的服務器的Tomcat安裝。
Note 2: On older Apache 1.3 you will have to use libproxy.so instead:注2 :對老年人的Apache 1.3的,你將不得不使用libproxy.so而不是:
LoadModule proxy_module modules/libproxy.so loadmodule proxy_module模組/ libproxy.so
AddModule mod_proxy.c addmodule mod_proxy.c
Pages: 1 頁數: 1 2
Filed under提起下 Headline News頭條新聞 , , How To如何 , , Java Software Java軟件 , , Linux Linux的 , , Open Source Software開放源碼軟件 , , Web網頁 , , Web Services Web服務 , , Windows在Windows | |
| |
RSS 2.0 2.0 | |
Email this Article電子郵件此文章
You may also like to read您也可以想讀 |




May 4th, 2005 at 7:30 pm 2005年5月4日下午7時30分
Works fine!!工程優良! Thanks !!感謝!
No more mod_jk2 and integration problems …沒有更多的mod_jk2和一體化的問題…
May 4th, 2005 at 7:34 pm 2005年5月4日在下午7點34分
Works fine!!工程優良! Thanks !!感謝!
No more mod_jk2 and integration problems …沒有更多的mod_jk2和一體化的問題…
November 9th, 2005 at 10:31 pm 2005年11月9日在下午10時31分
[...] 5 Simple Steps to Integrate Tomcat 5.5 with Apache 2.0 - não recomendo, já que o conteúdo estático também será manipulado pelo Tomcat. [ … … ]五月簡單的步驟來整合的Tomcat 5.5的Apache 2.0 -不含稅r ecomendo,瀏覽人次闕o c onteúdoe stático,如何查找s erám anipulado之雄貓。 [...] [ … … ]
November 27th, 2005 at 6:50 pm 2005年11月27日在下午6時50分
anyone got an article using the mod_jk connector?任何人得到一篇文章,使用mod_jk連接器?
February 7th, 2006 at 11:26 pm 2006年2月7日在下午11時26分
hi,嗨,
can any one help me, i tryed these 5 steps but it did not work for me, please help me out.任何一個可以幫助我,我tryed這5個步驟,但它沒有工作對我來說,請幫助我。
Thanking you感謝你
September 7th, 2006 at 5:27 am 2006年9月7日在上午05時27分
it is great idea for developers這是偉大構想為開發
manisekar
September 25th, 2006 at 11:08 am 2006年9月25日在上午11時08分
[...] Solutions Previouly I had described a much simpler way to integrate Tomcat 5.5 with Apache 2.x, in just 5 steps. [ … … ]解決方案previouly我所描述的更簡單的方式,去整合的Tomcat 5.5與Apache 2.x的,在短短的5個步驟。 [...] [ … … ]
March 28th, 2007 at 2:28 am 2007年3月28日在上午02時28分
please tell me請告訴我
is there any disadvantage of using this simple 5 steps of integrating tomcat with apche.是否有任何的缺點,使用這個簡單的5個步驟整合Tomcat和阿普謝。
is there any advantage of using mod_jk connector over this proxy pass usage.是否有任何的優勢,使用mod_jk連接器超過這個代理服務器通過使用。
This seems that just diverting/forwarding to the tomcat ports.這似乎只是分流/轉發到的Tomcat端口。
please give me clarification.請給我澄清。 it is urgent for me.這是迫切需要我。 i need to integrate to my development server later it will go to production server我要整合到我的開發服務器稍後將到生產服務器
August 9th, 2007 at 12:13 am 2007年8月9日在上午12時13分
Hey man, i am not getting the abc of this.嘿男子,我沒有收到的ABC了這一點。
PLz figure it out inside which tag i have to embedd these contents. plz去揣摩吧內的標記,其中我要embedd這些內容。
Plz tell me the complete scenario. plz告訴我,完整的情況。
i have tomacat and http2.2.4.我tomacat和http2.2.4 。
My aim is to set the http header in tomcat for all the sites.我的目標是要設置的HTTP標頭在Tomcat所有網站。
Early response is highly appreciated.早期反應是高度讚賞。
August 12th, 2007 at 10:19 am 2007年8月12日在上午10時19分
We can provide (paid) support.我們可以提供(支付)的支持。 Please contact using the contact form if you are interested.請聯繫使用聯繫表格如果您有興趣。
September 2nd, 2007 at 6:48 pm 2007年9月2日在下午6時48分
WOW!!!哇! that is what I was looking… a easy and straightforward way to connect Apache+Tomcat.這正是我一直在尋找… …一項容易和簡單的方式來連接的Apache +雄貓。
I tried to use the mod_jk and I finished with more problems… Do you know if this way have any security problems?我曾嘗試使用mod_jk ,我完成了與更多的問題…你知不知道如果這樣,有任何安全問題?
Thank you!!!謝謝!
September 21st, 2007 at 4:30 am 2007年9月21日在上午04時30分
Works fine!!!!工程優良!

Thanks !!!!感謝!
September 30th, 2007 at 1:47 am 2007年9月30日在上午01時47分
I am using Tomcat 6.0.14 and Apache Httpd 2.0.59 and has no luck at all.我使用的Tomcat 6.0.14和Apache的httpd 2.0.59 ,也沒有運氣,在所有。 Tried this tutorial not work at all.嘗試這樣的補習不工作。 Can someone kindly assist?有人可以善意地協助? Thanks !謝謝!
January 8th, 2008 at 3:19 pm 2008年1月8日在下午3時19分
I am also in the WOW!!!我亦在該哇! category of response.類的回應。 Very direct and easy to do — especially after following numerous other instructions.非常直接的和容易的事-尤其是在以下許多其他的指示。
March 11th, 2008 at 3:54 pm 2008年3月11日在下午3時54分
but when i did that it is giving me 503 error但是當我這樣做,這是給我503錯誤
wat wud be the problem掃管笏wud是問題所在
April 23rd, 2008 at 5:47 pm 2008年4月23日在下午5時47分
Add one more to the WOW list… I’m an experienced JAVA developer and I’ve done this with mod_jk before… it is a pain!!!再添加一個向哇名單…我是一個有經驗的Java開發和我已經這樣做與mod_jk之前…這是一個痛苦! Thanks you so much…感謝你這麼多…