I am using Wordpress for my blog and my main project is in java using tomcat server so I want each request coming to my server to go through apache.
For exemple if my site uses www.sample.com
I would like to send the request to tomcat
and if it is www.sample.com/wordpress
send it to apache
Thanks
These steps are for installing it in RHEL/Centos, Other things remain same from Stefan's answer
Install modjk:
Create workers.properties file:
Add this to httpd.conf:
Now you should be able to access: