Tomcat 5.5 with Apache 2.0 Integration in 5 Simple Steps Tomcat 5,5 con Apache 2,0 Integrazione in 5 semplici passaggi
The simplest configuration is described. La più semplice configurazione è descritto. It assumes you already have Tomcat 5.5 and Apache 2.0 (instructions for Apache 1.3 is also provided) installed and running. Esso assume che si dispone già di 5,5 Tomcat e Apache 2.0 (istruzioni per Apache 1,3 è inoltre fornito) installato e funzionante.
The instructions are applicable (have been tested) for Windows as well as Linux platform. Le istruzioni sono applicabili (sono stati testati) per Windows e Linux come piattaforma.
Assume you want to map test directory of Apache to the mytest web application of Tomcat. Assume che tu voglia mappa prova directory di Apache per il mytest applicazione web di Tomcat. Change the name appropriately to suit your configuration. Cambiare il nome appropriato per soddisfare la propria configurazione.
1. Shutdown Apache & Tomcat Server Arresto di Apache e server Tomcat
2. Add the following lines to httpd.conf (in conf directory of Apache base directory) Aggiungere le seguenti linee di httpd.conf (nella directory conf di Apache directory di base)
LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_module modules / mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so LoadModule proxy_http_module modules / mod_proxy_http.so
ProxyPass /test/ http://localhost:8081/mytest/ ProxyPass / test / http://localhost:8081/mytest/
ProxyPassReverse /test/ http://localhost:8081/mytest/ ProxyPassReverse / test / http://localhost:8081/mytest/
Note: Replace localhost with the appropriate IP address or hostname of the server where Tomcat is installed. Nota: Sostituire il localhost con l'appropriato indirizzo IP o il nome host del server Tomcat in cui è installato.
Note 2: On older Apache 1.3 you will have to use libproxy.so instead: Nota 2: Il più anziani Apache 1,3 dovrete usare invece libproxy.so:
LoadModule proxy_module modules/libproxy.so LoadModule proxy_module modules / libproxy.so
AddModule mod_proxy.c AddModule mod_proxy.c
Pages: 1 Pagine: 1 2
Filed under Elencato sotto Headline News Headline News , How To Come , Java Software Software Java , Linux , Open Source Software Software open source , Web , Web Services Servizi Web , Windows | |
| |
RSS 2.0 RSS 2,0 | |
Email this Article Invia questo articolo
You may also like to read Si può anche leggere come |




May 4th, 2005 at 7:30 pm 4 maggio 2005 a 7:30 pm
Works fine!! Funziona bene! Thanks !! Grazie!
No more mod_jk2 and integration problems … Non più mod_jk2 e problemi di integrazione…
May 4th, 2005 at 7:34 pm 4 maggio 2005 a 7:34 pm
Works fine!! Funziona bene! Thanks !! Grazie!
No more mod_jk2 and integration problems … Non più mod_jk2 e problemi di integrazione…
November 9th, 2005 at 10:31 pm 9 novembre 2005 a 10:31 pm
[...] 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. [...] 5 semplici passi per integrare Tomcat 5,5 con Apache 2,0 - não recomendo, già che il contenuto estático também será manipulado pelo Tomcat. [...]
November 27th, 2005 at 6:50 pm 27 novembre 2005 a 6:50 pm
anyone got an article using the mod_jk connector? chiunque ha un articolo utilizzando il connettore mod_jk?
February 7th, 2006 at 11:26 pm 7 febbraio 2006 a 11:26 pm
hi, Salve,
can any one help me, i tryed these 5 steps but it did not work for me, please help me out. uno può aiutarmi, i tryed questi 5 passi ma non ha funzionato per me, please help me out.
Thanking you Ringraziandovi
September 7th, 2006 at 5:27 am 7 settembre 2006 a 5:27 am
it is great idea for developers è grande idea per gli sviluppatori
manisekar
September 25th, 2006 at 11:08 am 25 settembre 2006 alle 11:08
[...] Solutions Previouly I had described a much simpler way to integrate Tomcat 5.5 with Apache 2.x, in just 5 steps. [...] Soluzioni Previouly avevo descritto una molto più semplice modo per integrare Tomcat 5,5 con Apache 2.x, in soli 5 passi. [...]
March 28th, 2007 at 2:28 am 28 marzo 2007 a 2:28 am
please tell me mi dica
is there any disadvantage of using this simple 5 steps of integrating tomcat with apche. non vi è alcuno svantaggio di utilizzare questo semplice 5 passi di integrazione con tomcat apche.
is there any advantage of using mod_jk connector over this proxy pass usage. non vi è alcun vantaggio di utilizzare più di connettore mod_jk questo proxy passa uso.
This seems that just diverting/forwarding to the tomcat ports. Questo sembra che solo la deviazione e trasmissione a Tomcat porti.
please give me clarification. si prega di darmi un chiarimento. it is urgent for me. è urgente per me. i need to integrate to my development server later it will go to production server ho bisogno di integrare al mio server di sviluppo più tardi andrà al server di produzione
August 9th, 2007 at 12:13 am 9 agosto 2007 alle 12:13 am
Hey man, i am not getting the abc of this. Hey uomo, io non sono sempre gli abc di questo.
PLz figure it out inside which tag i have to embedd these contents. PLZ figura fuori che dentro i tag devono embedd tali contenuti.
Plz tell me the complete scenario. Plz dimmi la completa scenario.
i have tomacat and http2.2.4. ho tomacat e http2.2.4.
My aim is to set the http header in tomcat for all the sites. Il mio obiettivo è quello di impostare il HTTP in Tomcat per tutti i siti.
Early response is highly appreciated. Precoce risposta è molto apprezzata.
August 12th, 2007 at 10:19 am 12 agosto 2007 alle 10:19 am
We can provide (paid) support. Siamo in grado di fornire (a pagamento). Please contact using the contact form if you are interested. Si prega di contattare utilizzando il modulo di contatto, se siete interessati.
September 2nd, 2007 at 6:48 pm Set 2, 2007 at 6:48 pm
WOW!!! that is what I was looking… a easy and straightforward way to connect Apache+Tomcat. questo è ciò che mi stava cercando… un facile e semplice per collegarsi + Apache Tomcat.
I tried to use the mod_jk and I finished with more problems… Do you know if this way have any security problems? Ho cercato di utilizzare il mod_jk e ho finito con più problemi… Sapete se in questo modo hanno problemi di sicurezza?
Thank you!!! Grazie!!!
September 21st, 2007 at 4:30 am 21 settembre 2007 a 4:30 am
Works fine!!!! Funziona bene!!!!

Thanks !!!! Grazie!!!!
September 30th, 2007 at 1:47 am 30 settembre 2007 a 1:47 am
I am using Tomcat 6.0.14 and Apache Httpd 2.0.59 and has no luck at all. Sto usando Tomcat 6.0.14 e 2.0.59 Httpd Apache e non ha fortuna a tutti. Tried this tutorial not work at all. Provato questo tutorial non funziona affatto. Can someone kindly assist? Qualcuno può gentilmente aiutare? Thanks ! Grazie!
January 8th, 2008 at 3:19 pm 8 gennaio 2008, 3:19 pm
I am also in the WOW!!! Sono anche in WOW!!! category of response. categoria di risposta. Very direct and easy to do — especially after following numerous other instructions. Molto diretto e facile da fare - soprattutto dopo aver seguito numerose altre istruzioni.
March 11th, 2008 at 3:54 pm 11 Marzo 2008, 3:54 pm
but when i did that it is giving me 503 error ma quando ho fatto che si tratta di avermi dato errore 503
wat wud be the problem Wat wud essere il problema
April 23rd, 2008 at 5:47 pm 23 aprile 2008, 5:47 pm
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!!! Aggiungere uno di più per la lista WOW… Sono un esperto Java Developer e ho fatto presente con mod_jk prima… si tratta di un dolore! Thanks you so much… Thanks you so much…