thesteo Posted October 31, 2007 Share Posted October 31, 2007 Hi, I have an apache web server that connects with my tomcat server using ajp13 connector. Currently I have this: www.myserver.com/webapp1/ and this brings up my tomcat webapp. My config looks like this: ]JkWorkersFile /usr/local/tomcat/apache-tomcat-5.5.25/conf/workers.properties JkLogFile /usr/local/tomcat/apache-tomcat-5.5.25/logs/mod_jk.log JkLogLevel debug JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " JkRequestLogFormat "%w %V %T" JkMount /webapp1/* worker1 And my workers file is worker.list=worker1,inprocess worker.worker1.port= .worker1.host=127.0.0.1 worker.worker1.type=ajp13 worker.worker1.lbfactor=1 worker.worker1.connection_pool_size=10 worker.worker1.connection_pool_timeout=600 worker.worker1.socket_keepalive=1 worker.loadbalancer.type=lb worker.loadbalancer.balance_workers=lbworker Ok, so thats all great. But I want to know how to pass all requests onto that webapp. So that www.myserver.com/ will bring up the same page as www.myserver.com/webapp1/ does currently. Thank you in advance Stephen Quote Link to comment Share on other sites More sharing options...
steviewdr Posted November 2, 2007 Share Posted November 2, 2007 Its been 6 years since I used the apache-tomcat connector. From what I can remember, the connector hands off files with a .jsp etc. extension to tomcat seamlessly. Recently, I run tomcat and apache on the one box. I use mod_proxy with apache to forward requests to tomcat behind the scenes. -steve Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.