Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have a server with Apache 2.4, Tomcat 7 and phpmyadmin, all of them installed by source, no repository.

I connected Apache with Tomcat through the jk connector by doing:

JkMount  /* worker1

and I moved /phpmyadmin in the Apache DocumentRoot, but of course website/phpmyadmin will redirect me to Tomcat, but I dont want that. It works only if I comment out the JKMount line

So, how can I configure Apache with Tomcat and phpmyadmin so that /* requests are forwarded to Tomcat and /phpmyadmin directly served by Apache?

share|improve this question
up vote 1 down vote accepted

Use the following to exclude the path you don't want proxied

JkUnMount /phpmyadmin worker1
JkUnMount /phpmyadmin/* worker1
share|improve this answer
Yep, it is working, finally. Thanks Mark – elect Jul 2 '12 at 16:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.