Hi, I'm a real noob when it comes to apache and
tomcat configs...
I've got an
java app: myapp in myapp.war
I'm running apache 2.2 running on port 80 with mod_rewrite installed
I'm running tomcat 5.5 running on port 8083
I'd like to configure my web/app servers so when I go to
http://localhost/ it knows to load
http://localhost:8083/myapp from tomcat.
The reason I'm trying to get this done is eventually it's going to be out on the web at
http://www.myapp.com/ and I will want that to load from the tomcat /myapp/ context without changing the URL -- IE I DO NOT want it to just "forward" to a new URL, I'd like it to keep the URL the same but load from /myapp on tomcat.
Will I need mod_rewrite to do this? Is there a way to do this via ProxyPass command?
Also just to clarify, I'd like it to work so that any urls that would normally be
http://localhost:8083/myapp/* could be accessed via
http://localhost/* -- ie
http://localhost/css/mycss.css should be found in
http://localhost:8083/myapp/css/mycss.css and my strust2 actions classes should still work at
http://localhost/MyAction.action etc.
Thanks!
Aaron
[ September 02, 2007: Message edited by: Aaron Wilt ]