Redirecting/proxying/forwarding webapp

2009-05-10 Thread Jeroen Kransen
Hello, is there a webapp that will redirect all incoming requests to another host/path? I have a Lenya instance running on one virtual host, and want another virtual host point to its live publication like this: jeroen.example.com/* cms.example.com/jeroen/live/* Both virtual hosts run on

RE: Tomcat 6 multiple hosts howto

2009-03-17 Thread Jeroen Kransen
Thanks a lot, Ilya and Chuck, I think I did not make myself totally clear. Indeed I meant to copy the .war file, and each copy to pick up a different .properties file for settings. More specifically, I am using Spring's PropertyPlaceholderConfigurer pointing to classpath:mywebapp.properties, and

Tomcat 6 multiple hosts howto

2009-03-16 Thread Jeroen Kransen
Hello all, I am sure this is a FAQ, but I can't find any info about it. I used Tomcat 5.5 with multiple Host/ elements in the server.xml Now I read that this has to be done differently in Tomcat 6, but I am not sure how. I added a conf/Catalina/examplecom/context.xml, but I don't know what to put