0

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?

user9517
  • 115,471
  • 20
  • 215
  • 297
elect
  • 203
  • 4
  • 17

1 Answers1

1

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

JkUnMount /phpmyadmin worker1
JkUnMount /phpmyadmin/* worker1
Mark Thomas
  • 887
  • 5
  • 8