I think my problem is very common, but I didn't find a solution.

I have Tomcat 5.5 with a web application. Let's say this application is
deployed in the context 'mywebapp'. I can call the application with the url
http://mydomain.com:8080/mywebapp.

But now i want to call the application via apache directly, e.g. with port
80 so that the url is just http://mydomain.com
I already configured mod_jk a little bit but my problem is: How do I forward
the requests from apache to a specific webapplication in tomcat? My
workers.properties has the following content:

ps=/
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1

In httpd.conf I have the following entries:

JkMount /mywebapp ajp13
JkMount /mywebapp/* ajp13

This works fine with the url "http://mydomain.com/mywebapp"; but I want to
use the url "http://mydomain.com"; and every request to this url should be
forwarded to the "mywebapp"-application in tomcat.

What is missing?
Thanks!

-- 
View this message in context: 
http://www.nabble.com/Forward-request-from-apache-to-specific-web-application-tp21641751p21641751.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to