Hi, I think you can handle this by the tomcat configuration.
see this link for instructions: http://tomcat.apache.org/tomcat-6.0-doc/proxy-howto.html but i have not test it myself. Miguel Cohnen schrieb:
Hi Everybody, First I wanted to say hello to everybody here, as this is my first mail in the list. I also wanted to apologize if my english is not good enough, but i'll do my best! This is the problem I am having: I am building an application using tomcat 5.5 and struts. Let's say that the base url form my application is http://myserver:8080/myapp. I have to use an Apache Proxy in front of my Tomcat Server (because of different reasons), so that my application can be reached using http://apacheserver/myapp (default port 80). I use such a rule in my Apache configuration fro rewriting urls: RewriteRule ^/myapp(.*) \http://myserver:8080/myapp$1 [P] It works perfect so that i can navigate through my application using http://apacheserver/myapp. But if using 'redirect=true' in one of my mappings,eg. after a form processing ends, the browser's url changes to http://myserver:8080/myapp ... How can i get rid of this? I need to keep on navigating through the proxy, but I also would like to use redirect=true... Thank you alot, and i hope someone can help me out. Below you can find some info about my environment: Apache Web Server 2.0 Tomcat 5.5 Struts 1.2.8 Java 5
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]