adding a global URI prefix for Tomcat web apps

2012-04-17 Thread ron.vandenbranden@home
Hi, I am setting up a reverse proxy configuration where all requests whose path starts with '/apps/' should be proxied by Apache to Tomcat. This IMO has 2 benefits: it makes it possible to reserve proxying to only the '/apps/' part of the URI space, and to use only a single proxy rule for

Re: adding a global URI prefix for Tomcat web apps

2012-04-17 Thread ron.vandenbranden@home
advice at https://www.indexis.be/indexWeb/index.jsp?language=nlp=oeandis=y). Following settings do work, mostly: On 17/04/2012 13:25, ron.vandenbranden@home wrote: ProxyPreserveHoston ProxyPass/apps/http://localhost:8082/ ProxyPassReverse/apps/http://mydomain

Re: adding a global URI prefix for Tomcat web apps

2012-04-17 Thread ron.vandenbranden@home
Hi Konstantin, Many thanks for your excellent suggestion. Sorry, I forgot to mention that I'm running Tomcat-7.0.27, so that should work. On 17/04/2012 17:27, Konstantin Kolinko wrote: I would not comment on the Apache HTTP server configuration. Just on the quoted part above. You have not

Re: adding a global URI prefix for Tomcat web apps

2012-04-17 Thread ron.vandenbranden@home
Hi, On 17/04/2012 22:49, Konstantin Kolinko wrote: No. It is Cocoon that is broken. There is File - URL conversion somewhere that does not encode characters properly, and '#' should be %-encoded if it is in an URL. Last time it was discussed on this list was several years ago. Either it is a

Re: adding a global URI prefix for Tomcat web apps

2012-04-17 Thread ron.vandenbranden@home
Hi, Sorry if I'm being a bit dense, but could I check if I'm understanding correctly? I can't get it working with your suggestions. On 18/04/2012 0:04, Konstantin Kolinko wrote: 2012/4/17 ron.vandenbranden@homeron.vandenbran...@kantl.be: 2. change ${CATALINA.HOME}/conf/server.xml as