Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.