Tomcat 5.5 with Apache 2.0 Integration in 5 Simple Steps Tomcat 5,5 avec Apache 2,0 intégration en 5 étapes faciles
The simplest configuration is described. Le plus simple est décrite. It assumes you already have Tomcat 5.5 and Apache 2.0 (instructions for Apache 1.3 is also provided) installed and running. Il suppose que vous avez déjà Tomcat 5,5 et Apache 2,0 (des instructions pour Apache 1,3 est également fourni) doit être installé et en cours d'exécution.
The instructions are applicable (have been tested) for Windows as well as Linux platform. Les instructions sont applicables (ont été testés) pour Windows ainsi que la plate-forme Linux.
Assume you want to map test directory of Apache to the mytest web application of Tomcat. Supposez que vous voulez tester la carte répertoire d'Apache mytest à l'application Web de Tomcat. Change the name appropriately to suit your configuration. Changer le nom appropriée en fonction de votre configuration.
1. Shutdown Apache & Tomcat Server Arrêt Apache et Tomcat Server
2. Add the following lines to httpd.conf (in conf directory of Apache base directory) Ajoutez les lignes suivantes dans httpd.conf (dans le répertoire conf d'Apache répertoire de 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. Note: Remplacer localhost avec l'adresse IP ou le nom d'hôte du serveur sur lequel Tomcat est installé.
Note 2: On older Apache 1.3 you will have to use libproxy.so instead: Note 2: Sur les anciens 1,3 Apache vous devrez utiliser libproxy.so lieu:
LoadModule proxy_module modules/libproxy.so LoadModule proxy_module modules / libproxy.so
AddModule mod_proxy.c AddModule mod_proxy.c
Pages: 1 Pages: 1 2
Filed under Classé sous Headline News Headline News , How To Comment , Java Software Logiciel de Java , Linux , Open Source Software Open Source Software , Web , Web Services Services Web , Windows | |
| |
RSS 2.0 RSS 2,0 | |
Email this Article Envoyer cet article
You may also like to read Vous mai également à lire |





May 4th, 2005 at 7:30 pm 4 mai 2005 à 7:30 pm
Works fine!! Fonctionne bien! Thanks !! Merci!
No more mod_jk2 and integration problems … Plus de mod_jk2 et les problèmes d'intégration…
May 4th, 2005 at 7:34 pm 4 mai 2005 à 7:34 pm
Works fine!! Fonctionne bien! Thanks !! Merci!
No more mod_jk2 and integration problems … Plus de mod_jk2 et les problèmes d'intégration…
November 9th, 2005 at 10:31 pm 9 novembre 2005 à 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 étapes simples pour intégrer Tomcat 5,5 avec Apache 2,0 - Não recomendo, já que o conteúdo estático aussi manipulado será pelo Tomcat. [...]
November 27th, 2005 at 6:50 pm Novembre 27th, 2005 at 6:50 pm
anyone got an article using the mod_jk connector? quiconque a un article en utilisant le connecteur mod_jk?
February 7th, 2006 at 11:26 pm 7 février 2006 à 11:26 pm
hi, Salut,
can any one help me, i tryed these 5 steps but it did not work for me, please help me out. peut aider tout un moi, je tryed ces 5 étapes, mais ça n'a pas marché pour moi, s’il vous plaît aidez-moi.
Thanking you Je vous remercie
September 7th, 2006 at 5:27 am 7 septembre 2006 à 5:27 am
it is great idea for developers elle est excellente idée pour les développeurs
manisekar
September 25th, 2006 at 11:08 am 25 septembre 2006 chez 11:08 am
[...] Solutions Previouly I had described a much simpler way to integrate Tomcat 5.5 with Apache 2.x, in just 5 steps. [...] Je Previouly Solutions a décrit une façon beaucoup plus simple à intégrer Tomcat 5,5 avec Apache 2.x, en seulement 5 étapes. [...]
March 28th, 2007 at 2:28 am Mars 28th, 2007 chez 2:28 am
please tell me s’il vous plaît dites-moi
is there any disadvantage of using this simple 5 steps of integrating tomcat with apche. existe-t-il aucun inconvénient à l'utilisation de cette simple 5 étapes de l'intégration de Tomcat avec apche.
is there any advantage of using mod_jk connector over this proxy pass usage. existe-t-il aucun avantage d'utiliser mod_jk connecteur sur ce proxy passer utilisation.
This seems that just diverting/forwarding to the tomcat ports. Cela semble juste que détourner / transmission à la tomcat ports.
please give me clarification. s’il vous plaît me donner des éclaircissements. it is urgent for me. il est urgent pour moi. i need to integrate to my development server later it will go to production server je dois intégrer à mon serveur de développement plus tard, il ira à la production serveur
August 9th, 2007 at 12:13 am 9 août 2007 à 12:13 am
Hey man, i am not getting the abc of this. Hey man, je ne suis pas obtenir de l'ABC.
PLz figure it out inside which tag i have to embedd these contents. PLZ il figure à l'intérieur de balises qui je dois embedd ces contenus.
Plz tell me the complete scenario. Plz dites-moi le scénario complet.
i have tomacat and http2.2.4. j'ai tomacat et http2.2.4.
My aim is to set the http header in tomcat for all the sites. Mon but est de mettre l'en-tête HTTP dans Tomcat pour tous les sites.
Early response is highly appreciated. Début de réponse est très appréciée.
August 12th, 2007 at 10:19 am Août 12, 2007 at 10:19 am
We can provide (paid) support. Nous pouvons vous fournir (payant). Please contact using the contact form if you are interested. S’il vous plaît contacter en utilisant le formulaire de contact si vous êtes intéressé.
September 2nd, 2007 at 6:48 pm 2 septembre 2007 à 6:48 pm
WOW!!! WOW! that is what I was looking… a easy and straightforward way to connect Apache+Tomcat. c'est ce que je cherchais… un simple et facile à connecter 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? J'ai essayé d'utiliser le mod_jk et je finis avec plus de problèmes… Savez-vous si cette façon avez des problèmes de sécurité?
Thank you!!! Merci!
September 21st, 2007 at 4:30 am Septembre 21st, 2007 at 4:30 am
Works fine!!!! Fonctionne bien!

Thanks !!!! Merci!
September 30th, 2007 at 1:47 am Septembre 30th, 2007 at 1:47 am
I am using Tomcat 6.0.14 and Apache Httpd 2.0.59 and has no luck at all. J'utilise Tomcat 6.0.14 et 2.0.59 d'Apache Httpd et n'a pas de chance à tous. Tried this tutorial not work at all. Tentatives ce tutoriel ne fonctionne pas du tout. Can someone kindly assist? Puis quelqu'un de bien vouloir aider? Thanks ! Merci!
January 8th, 2008 at 3:19 pm 8 janvier 2008 à 3:19 pm
I am also in the WOW!!! Je suis également dans le WOW! category of response. catégorie de réponse. Very direct and easy to do — especially after following numerous other instructions. Très direct et facile à faire - en particulier après la suite de nombreuses autres instructions.
March 11th, 2008 at 3:54 pm Mars 11, 2008 à 3:54 pm
but when i did that it is giving me 503 error mais quand j'ai fait qu'il est de me donner erreur 503
wat wud be the problem Wat wud être le problème
April 23rd, 2008 at 5:47 pm Avril 23, 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!!! Ajouter un plus à la liste WOW… Je suis un développeur Java expérimenté et je l'ai fait avec mod_jk avant… c'est une douleur! Thanks you so much… Merci you so much…