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?
You might want to try the mod_jk method instead of the rewrite. That way all you need to do would be: 1. Change/put in a couple of lines in the httpd.conf file 2. Download the mod_jk.so or mod_jk.dll (depending upon your platform) and place it in your /modules/ folder of Apache (http://www.uniontransit.com/apache/tomcat/tomcat-connectors/jk/binaries/) 3. Put in a couple of lines in the workers.properties file of your Tomcat installation. 4. Put in the attribute "jvmRoute" in your Tomcat's server.xml file
You can refer to this site: [http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html]
This is quite a simple way of setting up an Apache web server before your Tomcat. The configuring part is actually easier than it looks.
If you need further assistance post in. Hope this helps!
subject: Trying to set http://localhost to load one tomcat project?