Couplage Apache Tomcat, configuration du mod_jk
Bonjour,
Je viens de coupler mon serveur Tomcat avec un serveur Apache2, j'ai utiliser le module jk.
Lorsque j'appel l'adresse http://localhost j'ai bien mon application qui utilise tomcat qui s'affiche.
J'ai donc une bonne redirection, mais le probleme est que le serveur Apache redirige directement sur mon Tomcat, c'est à dire que je n'ai même plus accès a phpmyadmin ou bien toute autres pages hors de mon application.
Voila mon fichier jk.load:
Code:
1 2 3 4 5 6 7 8 9
| LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so
JkWorkersFile /etc/apache2/workers.properties
JkLogFile /var/log/apache2/mod_jk.log
JkLogLevel debug
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkMount / worker1
JkMount /* worker1 |
worker.properties:
Code:
1 2 3 4 5 6 7 8
| workers.tomcat_home=/home/sami/.netbeans/6.5/apache-tomcat-6.0.18_base
workers.java_home=/usr/lib/jvm/java-6-openjdk
ps=/
worker.list=worker1
worker.worker1.port=8009
worker.worker1.host=localhost
worker.worker1.type=ajp13
worker.worker1.lbfactor=1 |
Merci de votre aide.
J'utilise Tomcat6 et Apache2, je suis sous ubuntu.